Open swoopertr opened 3 months ago
[x] make comparison for Vitest and Cypress
[x] Install Vitest: Run npm install vitest --save-dev to add Vitest to your project.
npm install vitest --save-dev
[x] Configure Vitest: Modify your vite.config.js to include the Vitest configuration.
vite.config.js
[ ] Write Tests: create couple tests just for example
npm install cypress --save-dev
https://vitest.dev/guide/comparisons.html vitest : for headlesss component testing lighting fast. cypress : E2E testing for browser and visible component testing.
Set up Vitest for Unit and Integration Tests
[x] make comparison for Vitest and Cypress
[x] Install Vitest: Run
npm install vitest --save-dev
to add Vitest to your project.[x] Configure Vitest: Modify your
vite.config.js
to include the Vitest configuration.[ ] Write Tests: create couple tests just for example
Set up Cypress for End-to-End Tests
npm install cypress --save-dev
to install Cypress.