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.
- Running Moacha in the browser
- Implement unit tests for lib.js functions according to Test Development Driven (BDD/TDD) concepts
- Understand basic concepts of Test Development (BDD / TDD) in JavaScript
- Setting up the testing environment
├── stt-pz-1
│ ├── js
│ │ ├── lib.js
│ │ ├── lib.spec.js
│ ├── .editorconfig
│ ├── .gitignore
│ ├── index.spec.html
│ ├── README.md
└──