S1 E26 - Testing Series Part 2 - Jest
![S1 E26 - Testing Series Part 2 - Jest](https://d3wo5wojvuv7l.cloudfront.net/t_square_limited_480/images.spreaker.com/original/0271956aa05833cb43519105dd2a9266.jpg)
Regístrate gratis
Escucha este episodio y muchos más. ¡Disfruta de los mejores podcasts en Spreaker!
Descarga y escucha en cualquier lugar
Descarga tus episodios favoritos y disfrútalos, ¡dondequiera que estés! Regístrate o inicia sesión ahora para acceder a la escucha sin conexión.
Descripción
The second part of our four-part series on testing in Angular focuses on Jest. Younes Jaaidi joins panelists Aaron Frost, Brian Love, Shai Reznik, and Jennifer Wadella to talk about...
mostra másWhile the Angular CLI ships with the ability to scaffold unit tests using Jasmine as well as the Karma test runner, Younes teaches us some of the benefits of Jest, including performance, the ability to run Jest in multiple environments, presets, re-running failed tests first, easier-to-read test failure output, a virtual file system, parallelization, snapshot testing, and many more optimizations for the developer experience. Further, the ability to run Jest in multiple environments means that you can run Jest outside of the browser, either with Node or with jsdom.
Younes and the panelists also discuss the pros and cons of snapshot testing. Snapshot testing with Jest enables you to compare template snapshots to prevent unexpected changes to the UI of your application. While snapshot testing can be incredibly powerful, it can be overused and result in false positives, so we should consider other testing solutions such as visual regression testing and end-to-end testing.
Show Notes:
► https://code.google.com/archive/p/js-test-driver/
► https://jestjs.io/docs/en/architecture
► marmicode.io
► https://www.pdxmonthly.com/news-and-city-life/2020/06/kali-ladd-s-powerful-words-on-the-protests-in-portland
Información
Autor | ng-conf |
Página web | - |
Etiquetas |
Copyright 2024 - Spreaker Inc. an iHeartMedia Company