Daniel Afonso

The 2025 State of JavaScript Testing

Is JSDOM holding your tests back? Discover why the future of testing is returning to the browser for higher fidelity and less flakiness.

The 2025 State of JavaScript Testing
#1about 3 minutes

Identifying the most common pain points in JavaScript testing

A survey of common developer frustrations reveals that mocking, configuration, and performance are the top challenges in modern JavaScript testing.

#2about 5 minutes

A look at real-world testing stacks across companies

An informal survey of eight different companies reveals a diverse but overlapping set of tools, with Jest, Playwright, and React Testing Library being common choices.

#3about 10 minutes

The shift from node-based runners back to the browser

Testing is moving from Node-based environments like JSDOM back to real browsers with tools like Vitest's browser mode, promising more realistic and reliable tests.

#4about 3 minutes

Playwright's dominance and the expansion of E2E tools

Playwright is leading the end-to-end testing space, while tools in this category are expanding to include visual, API, and accessibility testing capabilities.

#5about 1 minute

Using Mock Service Worker for reliable network mocking

Mock Service Worker (MSW) has become the de facto standard for network request mocking due to its powerful integrations and upcoming cross-process interception feature.

#6about 4 minutes

How AI is changing test generation and maintenance

AI tools like GitHub Copilot and natural language frameworks such as Auto Playwright are accelerating test creation, paving the way for self-healing tests.

#7about 2 minutes

Summary of key trends in modern JavaScript testing

The future of testing involves a return to browser-based component tests, the dominance of Playwright and MSW, and increasing productivity gains from AI tools.

Related jobs
Jobs that call for the skills explored in this talk.

test

Milly
Vienna, Austria

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
Dev Digest 136 - No JS(on) of mine
News and ArticlesDouglas Crockford is our featured video, so let's talk about evolving JavaScript and all things JSON. Judicious JSON explains all the weird things in it, you can learn why it can be incredibly slow, people wonder what even is a JSON ...
Dev Digest 136 - No JS(on) of mine
DC
Daniel Cranney
The State of HTML 2024: What can we learn from it?
The results of the State of HTML 2024 survey are in! Though the name suggests it’s HTML-only, the survey focuses on the web platform in a more general sense, giving us some fascinating insights into not only the state of the web, but also some sense ...
The State of HTML 2024: What can we learn from it?
CH
Chris Heilmann
WWC24 Talk - Scott Hanselman - AI: Superhero or Supervillain?
Join Scott Hanselman at WWC24 to explore AI's role as a superhero or supervillain. Scott shares his 32 years of experience in software engineering, discusses AI myths, ethical dilemmas, and tech advancements. Engage with his live demos and insights o...
WWC24 Talk - Scott Hanselman - AI: Superhero or Supervillain?
CH
Chris Heilmann
Dev Digest 131 - AI'm not sure about OSS
News and ArticlesRust and Typescript are rising stars in programming languages 2024 survey, the State of CSS 2024 survey is open and here is what's new in ECMAScript.In security news, a Microsoft update bricks Linux dual-boot systems, they patched a ...
Dev Digest 131 - AI'm not sure about OSS

From learning to earning

Jobs that call for the skills explored in this talk.