FizzBuzz in JavaScript - Using TDD (Test Driven Development)

preview_player
Показать описание
In this video we solve FizzBuzz with JavaScript & TDD (Test Driven Development). Fizzbuzz is a popular interview question for interns and junior software engineers. Using test driven development is a great way to solve this problem and will show off your skills.

Subscribe to the YouTube Channel:

#FizzBuzz #TDD
Рекомендации по теме
Комментарии
Автор

Thank you for making this tutorial : )
I'm learning how to do TDD with JavaScript (by using Jest).
When you have time, is it possible that you could make another TDD tutorial with a little bit more sophisticated functions/ project? Thanks again !

gloriading
Автор

Hey there! I'm in the process of learning how to write tests. I'm using Jest, but that doesn't matter that much. This is a great video, thank you. I have a question, though. Is it possible, and is it considered a good practice to write a more abstract case when writing the tests? For example, instead of writing a test for 6, as a multiple of 3, write a test for all the multiples of 3, using an if statement in some way. Is this something that people do, or is it not permitted within the 'expect' block? Thank you!

sorinpav
welcome to shbcf.ru