Added fronted test instructions
This commit is contained in:
16
README.md
16
README.md
@@ -30,6 +30,22 @@ cargo build --release
|
|||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
### Frontend Tests
|
||||||
|
|
||||||
|
The frontend uses **Vitest** for unit tests and **Playwright** for end-to-end tests.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd frontend
|
||||||
|
|
||||||
|
# Run unit tests
|
||||||
|
pnpm test
|
||||||
|
|
||||||
|
# Run end-to-end tests
|
||||||
|
pnpm test:e2e
|
||||||
|
```
|
||||||
|
|
||||||
|
### Backend Tests
|
||||||
|
|
||||||
This project uses **nextest** for running tests and **cargo-llvm-cov** for code coverage.
|
This project uses **nextest** for running tests and **cargo-llvm-cov** for code coverage.
|
||||||
|
|
||||||
### Install Tools
|
### Install Tools
|
||||||
|
|||||||
Reference in New Issue
Block a user