u/ctrlaltdelmarvain r/Frontend • Recommends
An Introduction to Test-Driven Development in JavaScript
#tdd#test-drivendevelopment#javascript
3K subscribers • 4 videos on Hallway
Beginner. No background in the topic needed.
13K views7 years ago1 recommendation
Tools and practiceWeb developmentTestingJavaScript
Nick Scialli introduces the fundamentals of test-driven development in JavaScript using the red, green, refactor cycle.
Please subscribe: youtube.com/channel/UC-3WU7dH0dvZ5BkSSI7zK_w?sub_confirmatio… JS + TS mailing list: buttondown.email/devtuts Website: 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.What people say. Recommended as a beginner-friendly introduction to test-driven development in JavaScript.
u/ctrlaltdelmarvain r/Frontend • Recommends