Module: Unit Testing

Designing and implementing simple acceptance tests using TestCafe.

Dates: Fri, Jan 21 - Fri, Jan 28

Learning Outcomes

Design and implement effective test suites

Readings

Introduction to testing

Motivation, unit, integration, and acceptance testing, and continuous integration

Meteor Guide: Testing

How to test Meteor applications

Mocha: A Javascript Test Framework

Reference guide to Mocha

Chai: A Javascript Assertion Library

Reference guide to Chai

The testing pyramid should look more like a crab

It’s time to fully embrace end-to-end (acceptance) testing