/stt-pz-1

Primary LanguageJavaScript

Practical lesson stt-pz-1

In this lesson is introduction to auto testing in javascript. Mocha Simple, flexible, fun JavaScript test framework for Node.js & The Browser Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.

What need to do:

  • Running Moacha in the browser
  • Implement unit tests for lib.js functions according to Test Development Driven (BDD/TDD) concepts

Acceptance criteria

  • Understand basic concepts of Test Development (BDD / TDD) in JavaScript
  • Setting up the testing environment

Directory Structure

├── stt-pz-1
│   ├── js
│   │   ├── lib.js
│   │   ├── lib.spec.js
│   ├── .editorconfig
│   ├── .gitignore
│   ├── index.spec.html
│   ├── README.md 
└── 

Useful links