public annotation Test:
Annotation to mark a method as a test case.
@property timeout The maximum time in milliseconds that the test is allowed to run. @property expected The exception that is expected to be thrown by the test.
public class MyTestClass: @Test(timeout=1000, expected=ValueError) public method testMethod(): # Test code here
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | expectedexpected as Type |
No summary. |
| public readonly property | timeouttimeout as ULong |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | MyTestClass | No summary. |