Interface RunnerTestSuiteChunker
- All Superinterfaces:
TestSuiteChunker
- All Known Subinterfaces:
JUnit4TestSuiteChunker
- All Known Implementing Classes:
AbstractTestSuiteChunkerImpl, JUnit4TestSuiteChunkerImpl
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 Summary
Modifier and TypeMethodDescriptionvoidcreateTestDelegators(Class<?> testClass, List<TestChunk> chunks) Create the test delegators needed for a whole class.intGet the number of total tests defined in the suite (the sum of all tests defined in all chunks for this suite).Methods inherited from interface TestSuiteChunker
getChunkSize, getTestChunk, getTestChunks, getTestChunksEntries, shouldExecuteTestForMethod
-
Method Details
-
createTestDelegators
-
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.
-