{"id":19589658,"url":"https://github.com/flolu/node-integration-testing","last_synced_at":"2025-04-27T12:32:42.111Z","repository":{"id":119944415,"uuid":"415070955","full_name":"flolu/node-integration-testing","owner":"flolu","description":"🧪 Example for Easy and Effective Integration Testing with Node.js and Docker","archived":false,"fork":false,"pushed_at":"2022-01-20T13:03:37.000Z","size":87,"stargazers_count":13,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T00:24:16.300Z","etag":null,"topics":["docker","docker-compose","github-actions","integration-testing","jasmine","mysql","nodejs","testcontainers","testing","typescript"],"latest_commit_sha":null,"homepage":"https://youtu.be/eRPkNd40n94","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/flolu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://flolu.de/support"}},"created_at":"2021-10-08T17:20:17.000Z","updated_at":"2025-02-20T00:36:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"35f70f41-d8a8-4e90-80e0-51ae3680d7ec","html_url":"https://github.com/flolu/node-integration-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fnode-integration-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fnode-integration-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fnode-integration-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fnode-integration-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flolu","download_url":"https://codeload.github.com/flolu/node-integration-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251138933,"owners_count":21541976,"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":["docker","docker-compose","github-actions","integration-testing","jasmine","mysql","nodejs","testcontainers","testing","typescript"],"created_at":"2024-11-11T08:20:08.117Z","updated_at":"2025-04-27T12:32:42.098Z","avatar_url":"https://github.com/flolu.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/flolu/auth\"\u003e\n    \u003cimg width=\"100px\" height=\"auto\" src=\"./.github/check.png\" /\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ch1\u003eIntegration Testing\u003c/h1\u003e\n  \u003cp\u003eExample for Easy and Effective Integration Testing with Node.js and Testcontainers\u003c/p\u003e\n  \u003ca href=\"https://youtu.be/eRPkNd40n94\"\u003e\n    \u003cimg width=\"320px\" height=\"180px\" src=\"https://img.youtube.com/vi/eRPkNd40n94/mqdefault.jpg\" style=\"border-radius: 1rem;\" /\u003e\n    \u003cp\u003eWatch the YouTube Tutorial\u003c/p\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n# Usage\n\n**Recommended OS**: Linux\n\n**Requirements**: Yarn, Node.js\n\n**Optional**: Docker, Docker Compose\n\n**Setup**\n\n- `yarn install`\n\n**Development**\n\n- `make dev` or `yarn dev` (Start development backend services, http://localhost:3000)\n- `make test` or `yarn test` (Run integration tests)\n- `\u003cF5\u003e` (Start test for current file, you can also set debug breakpoints)\n\n# Codebase\n\n- [`index.ts`](index.ts) entry point to a simple todo management Node.js API\n- [`index.test.ts`](index.test.ts) entry point to integration testing the todo API\n- [`docker-compose.yml`](docker-compose.yml) to start the backend for development\n- [`workflows/test.yml`](.github/workflows/test.yml) to run integrations test on every push with GitHub Actions\n\n# Credits\n\n\u003cdiv\u003eIcons made by \u003ca href=\"https://www.freepik.com\" title=\"Freepik\"\u003eFreepik\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\u003c/div\u003e\n","funding_links":["https://flolu.de/support"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflolu%2Fnode-integration-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflolu%2Fnode-integration-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflolu%2Fnode-integration-testing/lists"}