{"id":28240553,"url":"https://github.com/andreros/react-testing-environments","last_synced_at":"2026-04-17T04:33:52.495Z","repository":{"id":203582246,"uuid":"709945876","full_name":"andreros/react-testing-environments","owner":"andreros","description":"Application bundle with the purpose of gathering several pre-configured, ready to use sample applications, each one with a clean working test environment with the various technologies available.","archived":false,"fork":false,"pushed_at":"2023-11-15T23:33:55.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T11:37:39.364Z","etag":null,"topics":["react","reactjs","testing-environment","testing-tools","typescript","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreros.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-25T17:50:10.000Z","updated_at":"2023-10-26T08:48:36.000Z","dependencies_parsed_at":"2023-11-16T00:30:43.828Z","dependency_job_id":"5bd41404-e1df-477c-af81-e2110ebe40e6","html_url":"https://github.com/andreros/react-testing-environments","commit_stats":null,"previous_names":["andreros/react-testing-environments"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreros/react-testing-environments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreros%2Freact-testing-environments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreros%2Freact-testing-environments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreros%2Freact-testing-environments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreros%2Freact-testing-environments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreros","download_url":"https://codeload.github.com/andreros/react-testing-environments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreros%2Freact-testing-environments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["react","reactjs","testing-environment","testing-tools","typescript","unit-testing"],"created_at":"2025-05-19T04:11:28.247Z","updated_at":"2026-04-17T04:33:52.478Z","avatar_url":"https://github.com/andreros.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unit Testing in React\n\nUnit testing in React can be made through the help of different tools. In order to use any of those tools, the application testing environment must be set up. Setting up the testing environment is not always a straight forward task and can be very time consuming.\n\nThe React Testing Environments application bundle purpose is to gather several pre-configured, ready to use sample applications, each one with a clean working test environment with the various technologies available.\n\nAt the time of writing all applications and test environments configured work. Feel free to reach out if you find any bug.\n\n## Applications base tech stack\n\n- `React` framework (with Typescript) for the overall application development;\n- `Typescript` coding language;\n- `SASS` style pre-processor to build the needed application styles;\n- `Axios` to communicate with the backend API;\n- `DotEnv` to load project environment variables;\n- `PicniCSS` lightweight CSS framework for UI styling;\n\n## Applications support tools\n\n- `Prettier` for code formatting;\n- `Webpack` to bundle the application and serve it in development mode;\n\n## Testing environments\n\n| Application            | React | Testing Environment          |\n| ---------------------- | ----- | ---------------------------- |\n| `react-16-jest-enzyme` | 16    | Jest + Enzyme                |\n| `react-17-jest-enzyme` | 17    | Jest + Enzyme                |\n| `react-18-jest-enzyme` | 18    | Jest + Enzyme                |\n| `react-18-jest-rtl`    | 18    | Jest + React Testing Library |\n| `react-18-cypress`     | 18    | Cypress                      |\n| `react-18-playwright`  | 18    | Playwright                   |\n\n## Single application installation and bootstrap\n\nFrom the project root folder, please choose one application from the table above. Go to the application folder and execute the following commands in a terminal window:\n\n```bash\n# example for the `react-16-jest-enzyme`\ncd react-16-jest-enzyme\n\n# install the application\nnpm i\n\n# run the application in development mode\nnpm start\n\n# or\nnpm run dev\n\n# run the unit tests suite\nnpm run test\n\n# run the unit tests suite with coverage report generation\nnpm run test:coverage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreros%2Freact-testing-environments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreros%2Freact-testing-environments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreros%2Freact-testing-environments/lists"}