Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed JavaScript Unit Testing!
You have completed JavaScript Unit Testing!
Preview
In this course you’ll practice a way to write JavaScript called Behavior Driven Development -- or BDD.
Related courses
- JavaScript Basics
- Node.js Basics
- Object-Oriented JavaScript
- npm Basics
- JavaScript Loops, Arrays and Objects
Video review
- Tests help us understand the code we want to write -- like an outline
- Tests let us know if our code behaves the way we want it to behave
- Tests tell us when we’ve accidentally broken something
- "Unit tests" focus on small, meaningful chunks of functionality
- Good unit tests are easy to understand
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
The material in this course assumes you
know your way around JavaScript objects,
0:00
node, and mpm.
0:04
So make sure you complete
all the prerequisites for
0:05
this course before continuing.
0:08
And if you wanna brush up on some of
those videos, I've included the links and
0:09
the teacher's notes as well.
0:14
In this course, you'll practice
a way to write JavaScript called,
0:15
Behavior Driven Development or BDD.
0:20
In BDD we write special functions,
called tests, for
0:22
our application before we
actually write any real code.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up