SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
En snabb testsvit är underbart att ha under utveckling. Jag kommer presentera några moduler och tekniker, beprövade och experimentella, för att få dina tester att gå som en oljad blixt.
En snabb testsvit är underbart att ha under utveckling. Jag kommer presentera några moduler och tekniker, beprövade och experimentella, för att få dina tester att gå som en oljad blixt.
20.
57.92% parse_buffer
dustjs-linkedin/lib/parser.js
Före Efter
21.
Sammanfattning
1. Ersätt riktiga HTTP-anrop med nock
2. (Om det inte är möjligt, försök köra
testerna parallellt)
3. Profilera dina tester
4. Kör testerna på flera kärnor