|
MbUnit : FixtureTimeOut
This page last changed on Jul 02, 2005 by peli.
A MbUnit fixtures have a default time out set to 10 minutes. Time outs are there to ensure that a test does not block the entire test process. For example, a test that pops up a dialog window requiring manual interaction would kill the entire test execution. To change the time out of a fixture, simply specify the number of minutes in the fixture attribute constructor: Unable to find source-code formatter for language: cs. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml // A fixture with 10 minute timeout [TestFixture(TimeOut = 10)] public class MyFixture { [Test] public void AMessageBoxShouldNotBlockTheTestProcess() { MessageBox.Show("I'm blocking the test automation"); } } |
| Document generated by Confluence on Jun 11, 2007 11:56 |