{"id":15481612,"url":"https://github.com/zapkub/starman","last_synced_at":"2025-10-09T19:07:01.215Z","repository":{"id":34307583,"uuid":"177115604","full_name":"zapkub/starman","owner":"zapkub","description":"💫 Some cat was layin' down some get it on rock 'n' roll, he said","archived":false,"fork":false,"pushed_at":"2023-03-22T15:21:46.000Z","size":425,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T21:45:45.394Z","etag":null,"topics":["apitesting","e2e","newman","postman","restfultesting","reuse","sequence","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zapkub.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-22T09:56:12.000Z","updated_at":"2023-03-22T15:21:16.000Z","dependencies_parsed_at":"2024-10-04T17:09:13.540Z","dependency_job_id":"7ea3dfae-0351-464d-b3cc-e96ad0f7a7ee","html_url":"https://github.com/zapkub/starman","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.08695652173913049,"last_synced_commit":"fda0d47d6304dc7a6e84dbc4ceda66b3a6511475"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapkub%2Fstarman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapkub%2Fstarman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapkub%2Fstarman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapkub%2Fstarman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapkub","download_url":"https://codeload.github.com/zapkub/starman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249523828,"owners_count":21285699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apitesting","e2e","newman","postman","restfultesting","reuse","sequence","typescript"],"created_at":"2024-10-02T05:05:09.545Z","updated_at":"2025-10-09T19:06:56.178Z","avatar_url":"https://github.com/zapkub.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Starman\n\nLet the children lose it 🧒🏼\n\nLet the children use it 🧒🏻\n\nLet all the children boogie 🧒🏽\n\nStar(com)man(d) is \"newman\" with steriod 💪🏼\n\nStarman let you do Postman collection with the way the developer love it !! ✨🌟⭐️ 🚀🍾🧚🏼‍♀️💫\n\n## Considered this example before you decide to use it\n1. Prepare your test senario with Postman test API\n```js\n// test-runner.js\nStarman(\n  [\n    runner =\u003e {\n      runner('Google should be alive', [ // \u003c\u003c This is folder name\n        new StarmanRequestStep('Just call google.com') // \u003c\u003c This is request name\n          .Get('https://www.{{url}}')\n          .AddTest(pm =\u003e {\n            pm.test(\"Google.com must return 200 status\", () =\u003e { // \u003c\u003c Write test here !\n              pm.response.to.have.status(200)\n            })\n          })\n      ])\n    }\n  ],\n  {\n    url: 'google.com'\n  },\n  {\n    outputDir: join(__dirname, './basic-collections'),\n    collectionName: \"Google handshake collections\"\n  }\n)\n```\n2. Run this file and you will get the result from \"newman\"\n```\nAPI Collections E2E testing\n\n❏ Google should be alive\n↳ Just call google.com\n  GET https://www.google.com [200 OK, 14.8KB, 317ms]\n  ✓  Google.com must return 200 status\n\n┌─────────────────────────┬────────────────────┬───────────────────┐\n│                         │           executed │            failed │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│              iterations │                  1 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│                requests │                  1 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│            test-scripts │                  1 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│      prerequest-scripts │                  0 │                 0 │\n├─────────────────────────┼────────────────────┼───────────────────┤\n│              assertions │                  1 │                 0 │\n├─────────────────────────┴────────────────────┴───────────────────┤\n│ total run duration: 447ms                                        │\n├──────────────────────────────────────────────────────────────────┤\n│ total data received: 14.06KB (approx)                            │\n├──────────────────────────────────────────────────────────────────┤\n│ average response time: 317ms [min: 317ms, max: 317ms, s.d.: 0ns] │\n└──────────────────────────────────────────────────────────────────┘\n```\n\n3. Enjoy Postman collection after test success \n![result1](./assets/1.png)\n![result2](./assets/2.png)\n![result3](./assets/3.png)\n\n\n## Installation\n\n\u003e NPM package already has starman package so I should use another package name to publish it 😫\n\n```\n$ npm i @rungsikorn/starman\n$ yarn add @rungsikorn/starman\n```\n\n## Usage\n\nSee basic usage in `/test/basic.test.ts`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapkub%2Fstarman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapkub%2Fstarman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapkub%2Fstarman/lists"}