JavaScript Jabber cover image

JSJ 411: Unit Testing Jest with Daniel Caldas

JavaScript Jabber

00:00

How to Write a Test Description

Trying to make them descriptive like building up a scenario and then trying to take as much as possible from that scenario. isolate the test for your different helper modules so that DUI gets easier to test. The way you express yourself is pretty crucial I would say initially I think I would not know how exactly to like to express myself when I was describing my tests. It always falls down in this pattern where you have like you describe when something happens and then as more specific you go or as more close to the test case you get you start performing specific assertions stuff like something should happen at this step. anything that you want to add or ask before I keep asking all of my testing questions  I

Play episode from 15:14
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app