TestClass
annotation in package klyn.unittest

    public annotation TestClass:

TestClass

Annotation to mark a class as a test class.

Example

    @TestClass(category="Unit Tests", description="This is a unit test class.")
    public class MyTestClass:
    @Test(timeout=1000, expected=ValueException)
    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.