Skip to content

Instantly share code, notes, and snippets.

@rogerwschmidt
Last active August 9, 2017 17:50
Show Gist options
  • Select an option

  • Save rogerwschmidt/0cad1de6ae74fb29a3fb4bbfc8f49762 to your computer and use it in GitHub Desktop.

Select an option

Save rogerwschmidt/0cad1de6ae74fb29a3fb4bbfc8f49762 to your computer and use it in GitHub Desktop.

Unit Testing Instructor Notes

Objectives

  • Explain the benefits of testing.
  • Describe the different types of tests.
  • Write tests using Mocha and Chai.
  • Explain what is Test Driven Development.
  • Reflect on and discuss the benefits of Test Driven Development.

What are the benefits of testing?

Turn to your neighbor and discuss what the benefits of testing are. Be prepared to share your answer with the class.

What are the different types of tests?

Turn to your neighbor and define and discuss the different types of tests. Be prepared to share your answer with the class.

How do you write a test with Mocha and Chai?

Write a test

What is Test Drive Development?

Turn to your neighbor and define what Test Driven Development is. Be prepared to share your answer with the class.

Why is Test Driven Development Useful?

Write down what the benefits of Test Driven Development are. Be prepared to share your answer with the class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment