TestClass
annotationin packageklyn.unittest
public annotation TestClass:
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
category as String = null
No summary.
public readonly property description
description as String = null
No summary.
Methods
Modifier and Type Member Description
public MyTestClass
MyTestClass(category as String, description as String):
No summary.