{"id":26584153,"url":"https://github.com/chrispsheehan/nodejs-api-bdd-test-framework","last_synced_at":"2026-04-12T00:35:40.890Z","repository":{"id":54430955,"uuid":"326749645","full_name":"chrispsheehan/nodejs-api-bdd-test-framework","owner":"chrispsheehan","description":"BDD test framework for API tests. ","archived":false,"fork":false,"pushed_at":"2023-02-01T20:46:50.000Z","size":378,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T07:06:57.925Z","etag":null,"topics":["api","bdd","docker","javascript","nodejs","qa","test-framework"],"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/chrispsheehan.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":"2021-01-04T16:54:07.000Z","updated_at":"2023-01-26T17:16:27.000Z","dependencies_parsed_at":"2023-02-17T11:01:08.025Z","dependency_job_id":null,"html_url":"https://github.com/chrispsheehan/nodejs-api-bdd-test-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrispsheehan/nodejs-api-bdd-test-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispsheehan%2Fnodejs-api-bdd-test-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispsheehan%2Fnodejs-api-bdd-test-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispsheehan%2Fnodejs-api-bdd-test-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispsheehan%2Fnodejs-api-bdd-test-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrispsheehan","download_url":"https://codeload.github.com/chrispsheehan/nodejs-api-bdd-test-framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispsheehan%2Fnodejs-api-bdd-test-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31700606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","bdd","docker","javascript","nodejs","qa","test-framework"],"created_at":"2025-03-23T09:19:11.357Z","updated_at":"2026-04-12T00:35:40.853Z","avatar_url":"https://github.com/chrispsheehan.png","language":"TypeScript","readme":"# NodejsAPITestFramework\n\n[Purgomalum](https://www.purgomalum.com/) is a simple, free RESTful web service for filtering and removing content of profanity, obscenity and other unwanted text.\n\nThis is a test automation framework written against it.\n\n## Resources\n\n- [cucumber.js](https://github.com/cucumber/cucumber-js)\n- [Chai](https://www.chaijs.com/)\n- [SuperTest](https://github.com/visionmedia/supertest)\n\n### Getting started\n\n- [Install Docker](https://www.docker.com/products/docker-desktop)\n- [Install Node.js](https://nodejs.org/en/)\n- [Clone this repositiry to your machine](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)\n\n### Run the tests\n\n```bash\nnpm run build\n\nnpm run test\n```\n\nor with a filter\n\n```bash\ntags=@sweary npm run filter-test\n```\n\n### Run the tests (in Docker)\n\n```bash\ndocker build -t node-box .\n```\n\n```bash\ndocker run -e CI=true node-box\n```\n\nor with filters\n\n```bash\ndocker run -e CI=true node-box --tags=@sweary\n```\n\n### Filter tests\n\nDocumentation found [here](https://cucumber.io/docs/cucumber/api/#tag-expressions)\nExamples filters;\n\n```bash\n\"(@sweary or @notsweary)\"\n\"@sweary\"\n\"(@sweary and not @notsweary)\"\n```\n\n#### Expected output\n\n```bash\n....................\n\n4 scenarios (4 passed)\n12 steps (12 passed)\n0m00.013s (executing steps: 0m00.003s)\n┌──────────────────────────────────────────────────────────────────────────┐\n│ Share your Cucumber Report with your team at https://reports.cucumber.io │\n│                                                                          │\n│ Command line option:    --publish                                        │\n│ Environment variable:   CUCUMBER_PUBLISH_ENABLED=true                    │\n│                                                                          │\n│ More information at https://reports.cucumber.io/docs/cucumber-js         │\n│                                                                          │\n│ To disable this message, add this to your ./cucumber.js:                 │\n│ module.exports = { default: '--publish-quiet' }                          │\n└──────────────────────────────────────────────────────────────────────────┘\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispsheehan%2Fnodejs-api-bdd-test-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrispsheehan%2Fnodejs-api-bdd-test-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispsheehan%2Fnodejs-api-bdd-test-framework/lists"}