{"id":28194738,"url":"https://github.com/verhyppo/node-e2e-testing","last_synced_at":"2026-04-20T10:32:24.191Z","repository":{"id":42801918,"uuid":"191240235","full_name":"verhyppo/node-e2e-testing","owner":"verhyppo","description":"Wrapper application that configures a postman environment with some placeholders and launch Newman generating also test reports in json and junit format","archived":false,"fork":false,"pushed_at":"2023-03-04T23:37:20.000Z","size":193,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-16T13:13:01.121Z","etag":null,"topics":["docker-image","junit","newman","postman","postman-collection","test-automation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/verhyppo.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-10T20:24:12.000Z","updated_at":"2021-05-11T20:57:22.000Z","dependencies_parsed_at":"2023-01-26T20:15:19.373Z","dependency_job_id":null,"html_url":"https://github.com/verhyppo/node-e2e-testing","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/verhyppo/node-e2e-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verhyppo%2Fnode-e2e-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verhyppo%2Fnode-e2e-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verhyppo%2Fnode-e2e-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verhyppo%2Fnode-e2e-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verhyppo","download_url":"https://codeload.github.com/verhyppo/node-e2e-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verhyppo%2Fnode-e2e-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32043017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker-image","junit","newman","postman","postman-collection","test-automation"],"created_at":"2025-05-16T13:13:01.398Z","updated_at":"2026-04-20T10:32:24.175Z","avatar_url":"https://github.com/verhyppo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node e2e testing\n\n\nnode-e2e-testing is a wrapper on top of newman to run replace properties in your environment json template and execute [Postman](https://postman.com) collections against multiple environments.\n\n\n## Installation\n\nThe NPM package is not provided in any public repository\n\n## Usage\n### Node\nTo simply run the test provided with the application, run the following command:\n\n```bash\nnpm i\nnpm run start\n```\n\nAn example is provided under the `projects` folder.\nTo run the project with your postman collection and environment simply replace the contents.\n\n### Docker\n\nDocker image built by the project, allows you to run the application from a docker container:\n\n```\ndocker run docker run node-e2e-testing:latest\n```\n\nTo override application configutation, just mount a `.env` file under `/opt/e2e-testing`\n\n```\ndocker \\\n  -v /path/to/my/.env:/opt/e2e-testing/.env\n  run node-e2e-testing:latest\n```\n\nIn order to override default values, you can override the command:\n```\ndocker \\\n  -v /path/to/my/.env:/opt/e2e-testing/.env\n  -v $/path/to/my/collection/:/opt/e2e-testing/project/ \\\n  run node-e2e-testing:latest\n```\n\n## Placeholder removal\n\nYou can replace as many variable as you prefer via the `.env` file.\n\nexample file\n```\nAPP_REPLACE_PREFIX=APP_ENVIRONMENT_\nAPP_NEWMAN_ITERATIONS=1\nAPP_ENVIRONMENT_baseUrl=https://run.mocky.io\n```\n\n| Property                | Default Value      | Description                                                         |\n| ----------------------- | ------------------ | ------------------------------------------------------------------- |\n| `APP_REPLACE_PREFIX`    | `APP_ENVIRONMENT_` | common prefix for replacement variables in your postman environment |\n| `APP_POSTMAN_ITERATIONS` | 1                  | number of times the Postman collection needs to be executed         |\n\nIn the example above, `APP_ENVIRONMENT_baseUrl` is the one that will be substituted to the `projects/postman_environment.json` when found in the forman `{{baseUrl}}`\n\nat the end of the execution, the generated postman environment and the test results in json and junit report format, can be found in the `target`\n\n## Build\n\nThe following program can be built and used as docker image by issuing the following command:\n\n```\ndocker build -t node-e2e-testing .\n```\n\n## Roadmap\n\n* ~~allow pass parameters as environment variables~~\n* ~~use a better cli tool~~\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverhyppo%2Fnode-e2e-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverhyppo%2Fnode-e2e-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverhyppo%2Fnode-e2e-testing/lists"}