{"id":15014274,"url":"https://github.com/bamlab/collections-runner","last_synced_at":"2025-04-09T19:23:19.231Z","repository":{"id":42868149,"uuid":"258719075","full_name":"bamlab/collections-runner","owner":"bamlab","description":"automator","archived":false,"fork":false,"pushed_at":"2022-12-11T03:19:54.000Z","size":19889,"stargazers_count":9,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T21:22:12.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bamlab.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}},"created_at":"2020-04-25T08:05:25.000Z","updated_at":"2020-06-04T15:07:03.000Z","dependencies_parsed_at":"2023-01-26T14:15:11.955Z","dependency_job_id":null,"html_url":"https://github.com/bamlab/collections-runner","commit_stats":null,"previous_names":["marionnousvalentin/collections-runner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fcollections-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fcollections-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fcollections-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fcollections-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamlab","download_url":"https://codeload.github.com/bamlab/collections-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248095908,"owners_count":21046940,"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":[],"created_at":"2024-09-24T19:45:24.171Z","updated_at":"2025-04-09T19:23:19.202Z","avatar_url":"https://github.com/bamlab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collections-runner\n\nInteractive CLI for postman collections on top of newman.\u003cbr/\u003e\nCan be used to test APIs. \u003cbr/\u003e\nCan be used to develop APIs or applications using APIs.\u003cbr/\u003e\n\n![](DEMO.gif)\n\n## Features\n\n\u003ca href=\"https://www.npmjs.com/package/collections-runner\"\u003e\u003cimg src=\"https://img.shields.io/badge/npm%20package-1.0.22-brightgreen\"\u003e\u003c/a\u003e\n\n- Run postman collections with custom environment variables in a unique command line\n- Display all available routes and collections\n- Quickly set default development or staging environment variables\n- Multi-select routes to run\n- Enable CI environment to be integrated to CI tests\n- Select environment variables to update among the ones used in the selected routes\n- Store environment variables in a local file to be used on next run\n- Display run report on an html file\n\n## Install\n\n```\n# If you use npm:\nnpm install --save-dev collections-runner\n\n# Or if you use Yarn:\nyarn add -D collections-runner\n```\n\nCreate a `postman` folder at the root of your project.\n\nThis folder contains :\n\n- Add a `postman_collection.json` containing your postman collections\n- Add a `postman_environment.json` containing your postman environment\n- Add a `postman_environment.local.json` containing your local postman environment, this file should be gitignored as it is updating after each run\n- Add a `default.dev.json` containing default environment variables for your dev environment (typically your local url)\n- Add a `default.staging.json` containing default environment variables for your staging environment (typically your staging url)\n\n## Usage\n\nRuns postman collections.\n\n```\nyarn collections-runner [routes names] [collections flags or vars]\n```\n\n```\n# Exemple for CI job:\nyarn collections-runner --ciEnvironment --updateLocalEnvironment=false --reporter=html --reporterPath='./newman/output/report.html'\n```\n\nIs used to interactively construct collections-runner commands.\n\n```\nyarn collections-automator\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Fcollections-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamlab%2Fcollections-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Fcollections-runner/lists"}