An overview of unit testing with Jest, covering the main features it offers. This includes: initial setup and writing of first tests, watch mode usage, common expect statement matchers in use, test filters, coverage reports, and snapshots.
This video is also part of a playlist of Jest content:
• Jest
00:00 - What we'll cover
03:06 - Project setup and watch mode
05:45 - Creating tests
10:55 - Red, Green example
13:43 - Expect statements
25:17 - Add test script and git
27:08 - Coverage
36:43 - Test run control utility methods
40:08 - Test filters
41:27 - What files coverage includes by default
46:07 - Snapshots
53:12 - Wrap-up
Follow Jimmy Cleveland's doings:
twitter: / jimmydcleveland
blog: https://blog.jimmydc.com/
#jest #testing
In questa pagina del sito puoi guardare il video online JavaScript Testing Basics with Jest della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Swashbuckling with Code 24 febbraio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 28,727 volte e gli è piaciuto 762 spettatori. Buona visione!