An Introduction to Test-Driven Development in JavaScript

Published: 25 August 2019
on channel: DevTuts
13,310
455

Please subscribe:    / @devtutsco  
JS + TS mailing list: https://buttondown.email/devtuts
Website: https://nick.scialli.me

--

Red - Green - Refactor!

Red: Write a test. The test fails because you haven't written any code yet.

Green: Write code that passes your test (and all previous tests). Don't be clever, just write code so your tests pass!

Refactor: There are many reasons to refactor, such as efficiency, code style, and readability. Make sure your code still passes your tests as you refactor.


On this page of the site you can watch the video online An Introduction to Test-Driven Development in JavaScript with a duration of hours minute second in good quality, which was uploaded by the user DevTuts 25 August 2019, share the link with friends and acquaintances, this video has already been watched 13,310 times on youtube and it was liked by 455 viewers. Enjoy your viewing!