Skip to content

butters16/approval-tests-rhino-mocks

Repository files navigation

approval-tests-rhino-mocks

Playground for using Approval Tests with Rhino Mocks inputs for characterization tests.

I am using this as a proof of concept. This is the idea:

  1. Take existing legacy code
  2. Make dependencies mockable
  3. Use Approval Tests combination approvals to quickly generate characterization tests close to 100% coverage
  4. Refactor like crazy, especially to break into smaller classes with their own unit tests
  5. Throw away characterization tests?
  6. Profit

Note this was put together using MonoDevelop for demo purposes.

About

Playground for using Approval Tests with Rhino Mocks inputs for characterization tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages