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?
Create T3 App
tRPC 🚀 Create T3 App
The best way to start a full-stack, typesafe Next.js app.
1 Reply
404
4042mo ago
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.

Did you find this page helpful?