Skip to content
S1 E26 - Testing Series Part 2 - Jest episode artwork

EPISODE · Aug 14, 2020 · 1H 15M

S1 E26 - Testing Series Part 2 - Jest

from The Ai Dev Craft Show · host ng-conf

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 why you might want to consider Jest for unit testing in your Angular project. While 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 The Ai Dev Craft Show is a part of the Ai Dev Craft Conference happening Master October 27-28, 2026 Las Vegas. Join us weekly as we discuss the rapidly changing AI-scape and how developers can adapt and excel. Master developing with AI, become your team’s AI expert Join us for Ai Dev Craft Get tickets now! https://ai-devcraft.com/ Special thanks to our hosts: Lara Newsom Jay Bell Mike Hartington James Spivey Brian Love

Episode metadata supplied by the publisher feed · Published Aug 14, 2020

Embed this episode

Ready to play

S1 E26 - Testing Series Part 2 - Jest

0:00 1:15:41

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of The Ai Dev Craft Show?

This episode is 1 hour and 15 minutes long.

When was this The Ai Dev Craft Show episode published?

This episode was published on August 14, 2020.

Can I download this The Ai Dev Craft Show episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!