Some example usages of Approval Tests. Assert on all the things!
Currently using
Approval Tests' WinMergeReporter
to launch WinMerge to show the results of any failing tests. This gives a super productive way (on a developer's machine) to understand what
has broken a test.
String representations
of objects being tested are created using a Stringify
class that recursively loops over their properties.
By default, approved files exist in the same folder as their corresponding test. If added to the project, things can get a bit untidy. Visual Studio supports "nesting" of items. Use this File Nesting add-in to make this nice and easy.