Munich
27 October 2026

Next-Gen TestingBetween Real Browsers and AI

A prominent violet AI figure behind a real browser, with code and a blue verification checkmark in front
Rainer HahnekampSoverius AI
1
Soverius AI — We build production-ready AI systems
Soverius AI

Why Browser Tests?

Part 1

Why
Browser Tests?

3
Soverius AI

Agenda

01

Why Browser Tests?

02

Testing and AI

4
Soverius AI

Testing Strategies

Original images: Spotify Engineering - Testing of Microservices; Kent C. Dodds - Write Tests
5
Soverius AI

Angular 21: The Shift Towards Browser Tests

End-to-End (E2E)TestsIntegration &Component TestsUnit TestsIntegration
JasmineKarma
Jest
Vitest
6
Soverius AI

Angular 21: The Shift Towards Browser Tests

End-to-End (E2E)TestsIntegration &Component TestsUnit TestsIntegration
JasmineKarma
Jest
Vitest
7
Soverius AI

Angular 21: The Shift Towards Browser Tests

End-to-End (E2E)TestsIntegration &Component TestsUnit TestsIntegration
JasmineKarma
Jest
Vitest
8
Soverius AI

Why Vitest?

Vitest 4.0 release announcement
Angular CLI pull request description: Vitest becomes the default unit testing runner for new projects and libraries
Browser Mode is Stable: the Vitest 4 announcement and provider setup
9
Soverius AI

A Little Bit of History

karma

Browser

jestvitest

Emulated Browser

jsdom

vitest

Browser

10
Soverius AI

Why the Browser?

  • Real Browser Behavior

    • Rendering
    • User Events
    • Timings (Signals)
    • New Technologies (Shadow DOM, Hydration)
  • Switch to "UI Is the API"

  • Performant Headless Browsers

  • Visualization (DX)

11
Soverius AI

Browser Mode

12
Soverius AI

Browser Mode in a Nutshell

Testing Library

Advantages

  • Less Manual SynchronizationwhenStable() · detectChanges()
  • User Actions Check Elements
  • Queries via A11y Selectors
Playwright

Power of E2E

  • Real Asynchronous Waiting
  • Actionability Checks and Auto-Wait
  • Powerful Locators
13
Soverius AI

Vite-Powered Build With Vitest

ViteVite
Build
SolidSolidVueVueReactReact

Framework-Specific Vite Plugins

VitestVitest
Execution
14
Soverius AI

Angular Build With Vitest

AngularAngular
Build
VitestVitest
Execution
15
Soverius AI

Vite-Powered Build With Vitest

ViteVite
Build
AnalogAnalogAngularAngular

Angular as a Vite Plugin

VitestVitest
Execution
16
Soverius AI

“All-In” Features

Configuration as DocumentedTimeouts, etc.
VS Code Support
Trace Viewer Support
Debugging
Vitest Extensions
17
Soverius AI

Coding Time

Coding Time

18
Soverius AI

Testing in the Age of AI

Part 2

Testing in
the Age of AI

19
Soverius AI

How Do We Make Sure We Have the Right Tests?

Skills

Existing Quality Tests

Include Tests in the Prompt / Plan

Review the Tests

Write Test Titles

20
Soverius AI

Models Generate. Tools Verify.

Non-Deterministic

Models

Same Model + Same Prompt
Run 1
Run 2
Run 3

Different Answers Are Possible

Deterministic

Tools

Tests
Behavior
ESLint
Code Rules
TypeScript
Types
Architecture Rules
Dependencies
21
Soverius AI

Three Ways to Run the Same Tests

ApproachWho Initiates?Main BenefitMain Tradeoff
HooksCoding agent
(lifecycle event)
Predictable executionRedundant runs
Review AgentSeparate reviewerFocused repair feedbackCoordination and repeated checks
AutomaticThe modelIt just worksReliance on the model
Anthropic - When to Fold Subagents Into Your Main Agent Loop ↗
22
Soverius AI

Test Code - The Last Code We Read?

Test Code -
The Last Code
We Read?

23
Soverius AI

Charted Coding With Younes Jaaidi

Younes Jaaidi - Original Video - June 20, 2025
24
Soverius AI

Charted Coding: Human Participation

Younes Jaaidi - Charted Coding - June 20, 2025
25
Soverius AI

Mostly Integration Still Applies

Guillermo Rauch, December 10, 2016: Write tests. Not too many. Mostly integration.
x.com/rauchg/status/807626710350839808
Today We See the Complete Opposite With AI.A Lot of Tests, Mainly Unit Tests.
Guillermo Rauch - December 10, 2016
26
Soverius AI

Testing Solved!?

27
Soverius AI

Tests Fulfill Many Purposes

Tests Fulfill
Many Purposes.

Documentation and a “Guaranteed Abstraction”
for Knowing That Our Code Works.

28
Soverius AI

Thank You!

Questions and Discussion

soverius.ai/feedback/ijs-munich-2026-testing-ai
QR code to https://soverius.ai/feedback/ijs-munich-2026-testing-ai
Your Feedback
29

Presentation Controls

Next Step
Right arrow, Space, Page Down
Previous Step
Left arrow, Backspace, Page Up
Skip Slide
Shift + Right / Left arrow, or « / »
First / Last
Home / End
Overview
O
Toolbar
T - keep visible / auto-hide
Speaker Notes
N
Fullscreen
F
Close
Escape