Reading List

Using Custom Jasmine Matchers to Make Unit Tests More Readable from your friend Joel's digital garden RSS feed.

Using Custom Jasmine Matchers to Make Unit Tests More Readable

Image from purplemattfish I'm a stickler for the "single assertion per test" guideline. One of the pillars of good unit tests is readability. Multiple asserts undermine this principle and make tests that are more difficult to read, understand, and…