Notes

All about Testing

How We Test

What do we Test?

testing pyr
testing pyr

The Testing Pyramid

Reading Tests

describe("avgValue()", function () {
  it("should return the average of an array of numbers", function () {
    assert.equal(avgValue([10, 20]), 15);
  });
});

Test-Driven Development

Motivations for TDD