YoVDO

Intro to JavaScript Unit Testing & BDD

Offered By: Traversy Media via YouTube

Tags

Javascript Courses Behavior-driven Development (BDD) Courses Unit Testing Courses

Course Description

Overview

Dive into a comprehensive 2.5-hour course on JavaScript unit testing and Behavior Driven Development (BDD). Master the fundamentals of automated testing, explore different testing types, and learn the Red-Green-Refactor methodology. Get hands-on experience with Mocha and Chai, write test suites and specs, and tackle challenges to expand your skills. Cover advanced topics like fixtures, edge cases, mocks, stubs, and asynchronous code testing. Enhance your development process with practical techniques for writing testable code, using custom reporters, and implementing file watching for efficient testing workflows.

Syllabus

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 - .


Taught by

Traversy Media

Related Courses

Behavior Driven Development with Selenium and Cucumber
Coursera Project Network via Coursera
Learn Cucumber BDD with Java -MasterClass Selenium Framework
Udemy
Behavior-Driven Development
LinkedIn Learning
Selenium WebDriver with Java & Cucumber BDD
Udemy
Cucumber Test Automation with Boozang
Udemy