Skip to content

richev/ApprovalTestsExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Approval Tests Examples

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.

Tips

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.

About

Some example usages of Approval Tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages