8 techniques to find problems in your unit tests within 30 seconds
Posted by: ISerializable,
on 31 Aug 2009 |
View original | Bookmarked: 0 time(s)
when reviewing tests, there are easy finds you can have. Heres how I might start search for the following issues: Trust issues can I trust the test (is it repeatable, conssistent and tests the right thing? Search the test project for use of DateTime. using DateTime in your tests means that everytime you run the test, youre essentially running a different unit test. if it somehow fails due to the datetime, there might not be an easy way to recreate the failing test (if youve...