Interface org.as2lib.test.unit.Test

Description

Test is the definition for any test in a unit-testing context.

To start a Test you simple have to execute run. It logs all output by default to a Logger.

See Also

Method Index

getTestRunner(), run()

Inherited from BasicInterface

Method Detail

run

public function run(Void):TestRunner

Runs the test.

Return

TestRunner that executes this test

getTestRunner

public function getTestRunner(Void):TestRunner

Returns the TestRunner that executes this Test.

Every Test is ment to have a TestRunner that knows how the informations of the Test have to be used to execute to evaluate the result.

Return

TestRunner that executes this test