{"id":18242765,"url":"https://github.com/ktcotz/testoviron","last_synced_at":"2026-04-10T07:50:30.823Z","repository":{"id":261120595,"uuid":"883205419","full_name":"ktcotz/Testoviron","owner":"ktcotz","description":"Your only one repository with practice testing principles includes MSW, Supabase, Zustand, Vitest, Playwright and more..","archived":false,"fork":false,"pushed_at":"2025-04-06T19:38:07.000Z","size":1278,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T20:31:28.331Z","etag":null,"topics":["advanced","msw","playwright","react","storybook","supabase","testing","typescript","vitest","zustand"],"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/ktcotz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-04T14:59:24.000Z","updated_at":"2025-04-06T19:38:10.000Z","dependencies_parsed_at":"2024-11-04T20:32:19.890Z","dependency_job_id":"5dd1e27d-ac6a-4428-8cc2-f074b56484cf","html_url":"https://github.com/ktcotz/Testoviron","commit_stats":null,"previous_names":["ktcotz/testoviron"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktcotz%2FTestoviron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktcotz%2FTestoviron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktcotz%2FTestoviron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktcotz%2FTestoviron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ktcotz","download_url":"https://codeload.github.com/ktcotz/Testoviron/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247895773,"owners_count":21014383,"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":["advanced","msw","playwright","react","storybook","supabase","testing","typescript","vitest","zustand"],"created_at":"2024-11-05T08:00:31.310Z","updated_at":"2026-04-10T07:50:30.815Z","avatar_url":"https://github.com/ktcotz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./public/logo.png\" width=\"150\" height=\"150\" /\u003e\n\u003c/p\u003e\n\u003ch3 align=\"center\"\u003eTestoviron – A playground for practical testing in modern React applications\u003c/h3\u003e\n\n## 🧪 Project Overview\n\n**Testoviron** is a collection of practical testing examples built with modern frontend libraries and tools.  \nIt’s designed to demonstrate effective testing strategies for real-world React applications using various state management and validation solutions.\n\nThis repository includes examples for components, hooks, async operations, form validation, and state management – all test-driven with tools like **Vitest**, **React Testing Library**, and **MSW**.\n\n---\n\n### 🔍 What’s Covered?\n\n- ✅ JSX – basic and advanced patterns\n- ✅ Props and State handling\n- ✅ Custom Hooks (with isolated testing)\n- ✅ API Fetching (unit + mocked integration)\n- ✅ MSW (Mock Service Worker)\n- ✅ Context API (state logic and consumer testing)\n- ✅ Zustand (store testing with edge cases)\n- ✅ Supabase (mocked integration)\n- ✅ Form testing – with React Hook Form and Zod\n- ✅ Full CRUD testing flows\n- ✅ Async testing patterns\n\n---\n\n## 🛠️ Tech Stack\n\n| Tool / Tech                                                                                                                              | Purpose              |\n| ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| ![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)                            | UI Framework         |\n| ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)                | Type safety          |\n| ![Vite](https://img.shields.io/badge/vite-%23646CFF.svg?style=for-the-badge\u0026logo=vite\u0026logoColor=white)                                  | Build tool           |\n| ![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white)            | Styling              |\n| ![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge\u0026logo=visual-studio-code\u0026logoColor=white) | IDE              |\n\n---\n\n## 📚 Libraries and Tools\n\n| Library / Tool                                                                                                                            | Role                  |\n| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |\n| ![Vitest](https://img.shields.io/badge/-Vitest-252529?style=for-the-badge\u0026logo=vitest\u0026logoColor=FCC72B)                                   | Unit Testing          |\n| ![Testing Library](https://img.shields.io/badge/-TestingLibrary-%23E33332?style=for-the-badge\u0026logo=testing-library\u0026logoColor=white)       | UI Testing            |\n| ![MSW](https://img.shields.io/badge/MSW-API--Mocking-orange?style=for-the-badge)                                                           | API Mocking           |\n| ![Zustand](https://img.shields.io/badge/Zustand-State--Management-informational?style=for-the-badge)                                      | Store Testing         |\n| ![Supabase](https://img.shields.io/badge/Supabase-3ECF8E?style=for-the-badge\u0026logo=supabase\u0026logoColor=white)                               | DB Integration        |\n| ![Storybook](https://img.shields.io/badge/-Storybook-FF4785?style=for-the-badge\u0026logo=storybook\u0026logoColor=white)                           | UI Docs               |\n| ![React Hook Form](https://img.shields.io/badge/React--Hook--Form-EC5990?style=for-the-badge)                                              | Form Handling         |\n| ![Zod](https://img.shields.io/badge/Zod-Validation-blueviolet?style=for-the-badge)                                                         | Form Validation       |\n\n---\n\n## 🚀 Getting Started\n\n```bash\n# 1. Install all dependencies\nnpm install\n\n# 2. Run unit/integration tests (Vitest)\nnpm run test\n\n# 3. Run e2e tests (if configured, e.g. Playwright)\nnpm run test-e2e\n```\n\n## 👨‍💻 Developer Info\n- 🐙 GitHub: https://www.github.com/ktcotz\n- 💼 LinkedIn: https://www.linkedin.com/in/naskret-kamil/\n- 🌐 Portfolio: https://kamil-me.vercel.app/\n- 📫 Email: naskret.kamil@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktcotz%2Ftestoviron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fktcotz%2Ftestoviron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktcotz%2Ftestoviron/lists"}