API Documentation | All Packages | All Classes | Index | Frames No Frames |
ISortable

Package | org.flexunit.runner.manipulation
Interface | public interface ISortable
Implementors | ParentRunner

Interface for runners that allow sorting of tests. By sorting tests based on when they last failed, most recently failed first, you can reduce the average time to the first test failing. Test sorting should not be used to cope with order dependencies between tests. Tests that are isolated from each other are less expensive to maintain and can be run individually.

Public Methods

| Method | Defined By
--- | --- | ---
|  | sort(sorter:ISorter):void Sorts the tests using sorter. | ISortable

Method Detail

sort | () | method

`public function sort(sorter:ISorter):void`

Sorts the tests using `sorter`.

Parameters

| `sorter:ISorter` — The `Sorter` to use for sorting the tests.

Thu Apr 10 2014, 08:07 AM +10:00