public annotation TestClass:
Annotation to mark a class as a test class.
@TestClass( category="Unit Tests", description="This is a unit test class.", timeout=2000 ) public class MyTestClass: @Test(timeout=1000, expected=ValueException) public testMethod(): # Test code here
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | categorycategory as String = null |
Optional category used to group the test class. |
| public readonly property | descriptiondescription as String = null |
Optional human-readable description of the test class. |
| public readonly property | timeouttimeout as ULong = 0u |
Maximum execution time for the complete test-class lifecycle. |