Approval Tests: Write Tests More Quickly

by bill-s, 2020-09-23T00:11:35.784Z

Sometimes assert code in tests gets big and messy and complicated when the output we’re testing is complex. Approval Tests is a library that can help simplify assert code. The library has other benefits/use cases which I’ll cover in future posts such as using human intelligence to judge if the output is correct; providing a safety net when refactoring legacy code that has no tests; and even testing view rendering.

Read More