Unit/Integration test strategies for create-t3-app?
I come from a Java app maintenance background, and I'd like to try to do more product development in my spare time. create-t3-app looks great for that, but I like to have a lot of tests, especially because I haven't written much typescript in the last little while.
I don't see much written about test strategies other than integration tests for the TRPC controllers https://create.t3.gg/en/usage/trpc#sample-integration-test.
Is this enough normally for large applications? Does anyone have other recommendations? What about testing the frontend with NextJS?
1 Reply
You can use Cypress for end-to-end (E2E) testing, which is great for simulating user interactions in a real browser.
For unit testing, you can use Vitest. It's similar to jest.