Packageorg.flexunit.runner
Interfacepublic interface IRunner
Implementors ErrorReportingRunner, FlexUnit1ClassRunner, IgnoredClassRunner, ParentRunner

An IRunner runs tests and notifies a org.flexunit.runner.notification.RunNotifier of significant events as it does so. You will need to subclass Runner to invoke a custom runner. When creating a custom runner, in addition to implementing the abstract methods here you must also provide a constructor that takes as an argument the Class containing the tests. The default runner implementation guarantees that the instances of the test case class will be constructed immediately before running the test and that the runner will retain no reference to the test case instances, generally making them available for garbage collection.

See also

org.flexunit.runner.Description


Public Properties
 PropertyDefined By
  description : IDescription
[read-only]
IRunner
Public Methods
 MethodDefined By
  
pleaseStop():void
Ask that the tests run stop before starting the next test.
IRunner
  
run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void
Run the tests for this runner.
IRunner
Property Detail
descriptionproperty
description:IDescription  [read-only]


Implementation
    public function get description():IDescription
Method Detail
pleaseStop()method
public function pleaseStop():void

Ask that the tests run stop before starting the next test. Phrased politely because the test currently running will not be interrupted.

run()method 
public function run(notifier:IRunNotifier, previousToken:IAsyncTestToken):void

Run the tests for this runner.

Parameters

notifier:IRunNotifier — will be notified of events while tests are being run--tests being started, finishing, and failing
 
previousToken:IAsyncTestToken