klyn.unittest.Test.Test
constructor
public Test(timeout as ULong = 0u, expected as Type = null):
Description

Creates test metadata.

Parameters
ParameterDescription
timeoutMaximum execution time in milliseconds, or 0u for no limit.
expectedExpected exception type, or null.
Example
@Test(timeout=1000, expected=TypeError)
public rejectsInvalidCode():
eval("value as Int = \"invalid\"")