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...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: .NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 846 | Hits: 59

Similar Posts

  • IDCC conference in Israel – Spet. 14th more
  • Sleep tight, don't let the test bugs bite more
  • Some extra alpha bits more
  • ASP.NET AJAX Web Service Proxies more
  • Structuring Unit Test Code more
  • I can build that Web site in five notes more
  • CAS - where do we go from here more
  • Telligent and CodeSmith Tools Open Positions more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD