MSTest

Are you using Canary tests for complex test?

SneWs's picture

If not, you should, and here is why, Canary tests is an internal test of your test setup and should be used when you have a complex setup method. The Canary is a internal test of your test setup.

A great example of when a Canary tests should be used, you have some sort of dependency injection with configuration files, and after refactoring you might have changed some names etc invalidating your wiring configuration.

Here is a quick example in C# using MSTest:

Subscribe to RSS - MSTest
© 2008 - 2012 Marcus Grenängen. Drupal theme by Kiwi Themes.