Codexa

πŸ§ͺ Testing

We are implementing testing at three levels: frontend, backend, and end-to-end.

1. Testing Strategy

2. Automated Testing

1. Frontend Unit & Integration Tests β†’ Vitest + React Testing Library

npm install --save-dev vitest @testing-library/react @testing-library/jest-dom      #install
npx vitest      #test

2. End-to-End (E2E) Tests β†’ Playwright

npm install --save-dev @playwright/test #install
npx playwright test         #test

3. Backend Tests β†’ Jest + Supertest

Install:

npm install --save-dev jest supertest       #install
npx jest        #test

3. Manual Testing

4. User Feedback