# Angular Testing has finally evolved! 🥳

## 🧪 Vitest

With **Karma** being deprecated since 2023 and the **Angular framework recent evolution** (standalone, zoneless, ...), it was time for the tooling to evolve... and the Angular team has finally choosen **Vitest** as the new default testing framework!

Vitest brings a powerful API, a rich, forward-looking ecosystem that’s TypeScript-first and fully supports ESM (ECMAScript Modules). It also includes a browser mode, which means tests can run in a real browser environment.

Starting with **Angular 21** (expected in November), new projects will come with **vitest set-up out of the box**!

## 🚀 Testronaut

E2e testing is also getting some love!

**Testronaut** is a new tool for Angular **component testing**.  
It runs your components in a real browser, using Angular’s own build process.  
That means:

*   Components behave exactly as they do in production.
    
*   You can visually debug and inspect rendered output.
    
*   You write tests using Playwright’s powerful API, scoped to just the component.
    

[![](https://cdn.hashnode.com/uploads/covers/656c73a445178ec5571baea2/3a596a0e-a03c-41ef-a623-fb3a544ab1e5.png align="center")](https://certificates.dev/angular?friend=ANGADEMY)

## Ready to learn more?

## ⭐Advanced Testing Workshop⭐

Register to our **Angular Advanced Testing Workshop** and learn:

*   Practical examples with Vitest, Zones-less, and fake timers
    
*   Component testing with Testronaut
    
*   Migration paths and real-world integration strategies
    

**Advanced Testing Training**

🎓 Learn ALL you need to know about testing your Angular app!  
🔥 12 hours of intensive hands-on training (3 days: 8:00am to 12:00pm Eastern Time)  
👨‍💼 Instructor-led LIVE online course!  
🙋 You'll have the chance to ask questions and discuss with the instructor

Join us and modernize your Angular testing setup!

[https://angular.ac/adv-testing](https://angular.ac/adv-testing)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761749208652/71560ca4-3c71-4b28-8397-2c05be03c73b.png align="center")
