issues
search
aamathews23
/
movie-night
A web app to help friends decide on a movie to watch.
https://movie-night-landing-site.vercel.app
0
stars
0
forks
source link
API Unit Tests
#98
Open
aamathews23
opened
7 months ago
aamathews23
commented
5 months ago
update to vitest instead of jest in API tests
https://www.prisma.io/docs/orm/prisma-client/testing/unit-testing#example-unit-tests
https://www.npmjs.com/package/ioredis-mock
aamathews23
commented
3 months ago
Test strategy
API
Unit tests for transformers and other data mod functions.
Integration tests for DB and Redis functions.
Create Docker compose scripts for integration tests.
https://alemtuzlak.hashnode.dev/integration-testing-remix-apps-with-vitest-typescript-docker#heading-threads
~E2E tests in the server app consuming the API.~
UI
Unit tests of components. Switch to
vitest
.
E2E tests of game app.