TestClass
annotationin packageklyn.unittest
public annotation TestClass:
Annotation to mark a class as a test class.
@property category The category or group to which the test class belongs.
@property description A description of the test class.
@property testMethods List of test methods in the class.
@TestClass(category="Unit Tests", description="This is a unit test class.")
public class MyTestClass:
@Test(timeout=1000, expected=ValueError)
public method testMethod():
# Test code here
Properties
| Modifier and Type |
Member |
Description |
| public readonly property |
category |
No summary. |
| public readonly property |
description |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public |
MyTestClass |
No summary. |