{"id":15553243,"url":"https://github.com/bahmutov/sudoku-app-base","last_synced_at":"2025-09-26T12:31:30.125Z","repository":{"id":61698840,"uuid":"536768357","full_name":"bahmutov/sudoku-app-base","owner":"bahmutov","description":"Example Sudoku React application used for \"Testing for Good\" Cypress workshop","archived":false,"fork":false,"pushed_at":"2022-10-19T15:50:29.000Z","size":1075,"stargazers_count":3,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T20:58:18.936Z","etag":null,"topics":["cypress-example"],"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/bahmutov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-14T21:41:26.000Z","updated_at":"2024-02-08T17:15:48.000Z","dependencies_parsed_at":"2022-10-20T06:30:29.561Z","dependency_job_id":null,"html_url":"https://github.com/bahmutov/sudoku-app-base","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/bahmutov%2Fsudoku-app-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fsudoku-app-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fsudoku-app-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fsudoku-app-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmutov","download_url":"https://codeload.github.com/bahmutov/sudoku-app-base/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234309726,"owners_count":18811949,"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":["cypress-example"],"created_at":"2024-10-02T14:27:34.537Z","updated_at":"2025-09-26T12:31:29.649Z","avatar_url":"https://github.com/bahmutov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sudoku-app-base [![CI](https://github.com/bahmutov/sudoku-app-base/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/bahmutov/sudoku-app-base/actions/workflows/ci.yml) ![cypress version](https://img.shields.io/badge/cypress-10.10.0-brightgreen)\n\n\u003e Example Sudoku React application used for \"Testing for Good\" Cypress workshop\n\n![Testing for Good workshop](./images/testing-for-good.png)\n\nThe example application is used during my [Cypress v10 Fundamentals](https://cypress.tips/courses) free course.\n\nOriginal Sudoku game copied from [https://github.com/raravi/sudoku](https://github.com/raravi/sudoku) and you can play it at [https://sudoku-raravi.vercel.app/](https://sudoku-raravi.vercel.app/).\n\n![Sudoku application running locally](./images/app.png)\n\n## Requirements\n\nYou need Node v14+ installed on your local machine. You can check by running:\n\n```\n$ node -v\nv16.14.0\n$ npm -v\n8.11.0\n```\n\nClone the repository to your local machine and install its dependencies\n\n```\n$ git clone git@github.com:bahmutov/sudoku-app-base.git\n$ cd sudoku-app-base\n$ npm install\n```\n\nCheck the application starts, and verify the application works at the URL `localhost:3000`\n\n```\n$ npm start\n$ open localhost:3000\n```\n\nCheck if Cypress opens\n\n```\n$ npx cypress open\n```\n\nIf you see the dialog below, you are good to go!\n\n![Cypress opens](./images/opens.png)\n\n## Topics\n\nThis workshop \"End-to-End \u0026 Component Testing Using Cypress\" covers the following topics:\n\n- installing Cypress and setting up a testing project\n- writing your first full end-to-end test\n  - the loads spec\n  - the modes spec\n  - the hint spec\n- controlling the time in your application to make the tests fast\n  - the timer spec\n- writing your first React component test\n  - pick the testing framework\n  - write the Timer component spec\n  - numbers component spec\n  - difficulty component spec\n  - overlay component spec with network stubbing\n  - status section component test with screenshots\n  - the Game component vs play E2E test\n  - https://slides.com/bahmutov/the-fuzzy-line\n- running Cypress tests on CI using GitHub Actions\n- https://slides.com/bahmutov/test-components-without-fear\n\nThe workshop should take 2-3 hours following the instructor's lead.\n\n## Small print\n\nAuthor: Gleb Bahmutov \u0026lt;gleb.bahmutov@gmail.com\u0026gt; \u0026copy; 2022\n\n- [@bahmutov](https://twitter.com/bahmutov)\n- [glebbahmutov.com](https://glebbahmutov.com)\n- [blog](https://glebbahmutov.com/blog)\n- [videos](https://www.youtube.com/glebbahmutov)\n- [presentations](https://slides.com/bahmutov)\n- [cypress.tips](https://cypress.tips)\n- [Cypress Tips \u0026 Tricks Newsletter](https://cypresstips.substack.com/)\n- [my Cypress courses](https://cypress.tips/courses)\n\nLicense: [MIT](./LICENSE.md) - do anything with the code, but don't blame me if it does not work.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/sudoku-app/issues) on Github\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fsudoku-app-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmutov%2Fsudoku-app-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fsudoku-app-base/lists"}