The reason is that when you see in the report this failure you can never tell if the error comes from the unit test or the application under test...
The good solution is to use a build in feature of your unit test framework. For example, the Ignore attribute in NUnit. If for some reason you have to throw an exception (so the test will be red) at least throw some better error class like "new UnitTestNotImplementedException()". What's next? get this blog rss updates or register for mail updates!
0 comments:
Post a Comment