Interface SuiteBalancer

All Known Implementing Classes:
ExecutionTimeBalancer, RoundRobinBalancer

public interface SuiteBalancer
A test balancer schedules test suites to be executed on a given JVM.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    assign(Collection<String> suiteNames, int slaves, long seed)
    Provide assignments for suite names and a given number of slaves.
    void
    Sets the owner task (for logging mostly).
  • Method Details

    • setOwner

      void setOwner(JUnit4 owner)
      Sets the owner task (for logging mostly).
    • assign

      List<SuiteBalancer.Assignment> assign(Collection<String> suiteNames, int slaves, long seed)
      Provide assignments for suite names and a given number of slaves.
      Returns:
      Returns an ordered list with assignments. Any suite name not present in the keys of the returned map will be assigned by following balancers (or randomly).