skip to main | skip to sidebar

Derek Liang

<%=Braindump()%>

Monday, January 07, 2008

Setting the timeout value when doing unit testing

It is actually quite easy to set the timeout for Microsoft Unit Test. It is shown as the following which set the timeout to 10 minutes:

[TestMethod]
[Timeout(600000)]
public void QuickSearchRegressionTestWithThread() {… }

Actually it the following link provides the comparison of all the fixtures of all the popular unit test suites for the .NET framework.

Posted by dl at 2:00 PM
Labels: c#, Programming

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2008 (20)
    • ►  September (1)
      • Error with Nant
    • ►  August (2)
      • LizardTF : a much better alternative than Visual S...
      • things that I do like in TFS
    • ►  July (1)
      • How to extending default MSBuild script for Teambu...
    • ►  March (1)
      • GWT(google Web Toolkit)
    • ►  February (4)
      • Microsoft Web UI
      • Is object assignment statement thread safe?
      • Best practice for database version
      • Session for ASP.NET
    • ▼  January (11)
      • Generic Wrapper for Session variable in ASP.NET
      • Order By Sub-query
      • Inversion of Control Example Structuremap
      • Gridview paging within other data control
      • MS SQL quirk
      • Mole for Visual Studio
      • How to monitor text changes in an input box on a w...
      • Referencing type within a generic class
      • My Sudoku Solver
      • Enum Flags
      • Setting the timeout value when doing unit testing
  • ►  2006 (1)
    • ►  October (1)
      • I tumbled into Aspect-oriented programming. It is ...

About Me

dl
View my complete profile