public interface Orderable extends Sortable
Beware of using this interface to cope with order dependencies between tests. Tests that are isolated from each other are less expensive to maintain and can be run individually.
Modifier and Type | Method and Description |
---|---|
void |
order(Orderer orderer)
Orders the tests using
orderer |
void order(Orderer orderer) throws InvalidOrderingException
orderer
InvalidOrderingException
- if orderer does something invalid (like remove or add
children)