Test FixturesA test fixture is basically a class that contains tests. csUnit supports two different techniques for decorating test fixtures within an assembly:
For the first approach, csUnit's runtime inspects all publicly visible types within an assembly. All classes that have the attribute TestFixtureAttribute will be available for execution. The following is an example of such a class: [TestFixture] [Test] The second option is to follow a certain name convention that was originally introduced by JUnit. csUnit finds all classes with a prefix "Test". This search is case insensitive, so it will also find all classes beginning with "test", "TEST", "tESt", "TesT", etc. Rules and Recommendations
|
Sponsors: Sources hosted by
|
|||||||
Copyright © 2002-2009 by Agile Utilities NZ Ltd. All rights reserved. Site design by Andreas Weiss. This site is protected by bot traps. |