Modern Frontend Frameworks Are Failing at Testing
dev.to·6h·
Discuss: DEV
🛠Browser DevTools
Preview
Report Post

A few weeks after releasing TWD, a tool designed to integrate testing directly into the development workflow. I started creating testing recipes for different frontend frameworks. While doing that, a few patterns became very clear.

What works

  • Frontend-focused applications (SPAs) are relatively easy to test using tools like TWD and traditional runners such as Vitest.
  • You can validate real user interactions, keep tests close to the UI, and iterate quickly.

What doesn’t

  • SSR frameworks make testing unnecessarily confusing.

Frameworks like Next.js, Astro, TanStack, Qwik, and Solid provide little to no guidance on how to test applications in a reliable and maintainable way. Most of them simply delegate testing to external tools

Similar Posts

Loading similar posts...