Interface RunnerTestSuiteChunker

All Superinterfaces:
TestSuiteChunker
All Known Subinterfaces:
JUnit4TestSuiteChunker
All Known Implementing Classes:
AbstractTestSuiteChunkerImpl, JUnit4TestSuiteChunkerImpl

public interface RunnerTestSuiteChunker extends TestSuiteChunker
An interface that should be implemented by classes that performs test suite chunking. Test suite chunking may be performed because certain classes may need to be byte-code manipulated in tests without impacting on other tests.
  • Method Details

    • createTestDelegators

      void createTestDelegators(Class<?> testClass, List<TestChunk> chunks) throws Exception
      Create the test delegators needed for a whole class.
      Throws:
      Exception
    • getTestCount

      int getTestCount()
      Get the number of total tests defined in the suite (the sum of all tests defined in all chunks for this suite).
      Returns:
      The number of tests in this suite.