Learn JavaScript unit testing in this full course
Learn programming, design and more with Treehouse. Start your seven days of free learning: https://trhou.se/2ZsjIKw
Follow Treehouse on YouTube: https://www.youtube.com/user/gotreehouse
TimeStamps:
Introduction -
Introducing Unit Testing -
Proving Our Code Works -
Running Your First Automated Test -
Different Types of Testing -
Behavior Driven Development -
Red, Green, Refactor -
Greater Expectations -
Getting Started with Mocha and Chai -
General Structure of Test Files -
Test Suites and Test Specs -
Writing Our First Test Suite -
Writing Our First Test Suite Part 2 -
Challenge: Expanding Our Expectations -
Answer: Expanding Our Expectations -
Making Tests Easier with Fixtures: Setup -
Making Tests Easier with Fixtures: Teardown -
Covering Edge Cases -
Challenge: Writing Testable Code -
Answer: Writing Testable Code -
Changing Mocha’s Reporter -
Outlining Your Test Suite -
Watching Test Files -
Mocks and Stubs -
Testing Asynchronous Code -