https://github.com/ktcotz/testoviron
Your only one repository with practice testing principles includes MSW, Supabase, Zustand, Vitest, Playwright and more..
https://github.com/ktcotz/testoviron
advanced msw playwright react storybook supabase testing typescript vitest zustand
Last synced: 3 months ago
JSON representation
Your only one repository with practice testing principles includes MSW, Supabase, Zustand, Vitest, Playwright and more..
- Host: GitHub
- URL: https://github.com/ktcotz/testoviron
- Owner: ktcotz
- Created: 2024-11-04T14:59:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-06T19:38:07.000Z (about 1 year ago)
- Last Synced: 2025-04-06T20:31:28.331Z (about 1 year ago)
- Topics: advanced, msw, playwright, react, storybook, supabase, testing, typescript, vitest, zustand
- Language: TypeScript
- Homepage:
- Size: 1.22 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Testoviron β A playground for practical testing in modern React applications
## π§ͺ Project Overview
**Testoviron** is a collection of practical testing examples built with modern frontend libraries and tools.
Itβs designed to demonstrate effective testing strategies for real-world React applications using various state management and validation solutions.
This 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**.
---
### π Whatβs Covered?
- β
JSX β basic and advanced patterns
- β
Props and State handling
- β
Custom Hooks (with isolated testing)
- β
API Fetching (unit + mocked integration)
- β
MSW (Mock Service Worker)
- β
Context API (state logic and consumer testing)
- β
Zustand (store testing with edge cases)
- β
Supabase (mocked integration)
- β
Form testing β with React Hook Form and Zod
- β
Full CRUD testing flows
- β
Async testing patterns
---
## π οΈ Tech Stack
| Tool / Tech | Purpose |
| ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
|  | UI Framework |
|  | Type safety |
|  | Build tool |
|  | Styling |
|  | IDE |
---
## π Libraries and Tools
| Library / Tool | Role |
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
|  | Unit Testing |
|  | UI Testing |
|  | API Mocking |
|  | Store Testing |
|  | DB Integration |
|  | UI Docs |
|  | Form Handling |
|  | Form Validation |
---
## π Getting Started
```bash
# 1. Install all dependencies
npm install
# 2. Run unit/integration tests (Vitest)
npm run test
# 3. Run e2e tests (if configured, e.g. Playwright)
npm run test-e2e
```
## π¨βπ» Developer Info
- π GitHub: https://www.github.com/ktcotz
- πΌ LinkedIn: https://www.linkedin.com/in/naskret-kamil/
- π Portfolio: https://kamil-me.vercel.app/
- π« Email: naskret.kamil@gmail.com