Approval Tests: Write Tests More Quickly

added by DotNetKicks
9/22/2020 1:39:18 AM

547 Views

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.


0 comments