public interface TestSuiteChunker
Modifier and Type | Method and Description |
---|---|
int |
getChunkSize()
Get the number of chunks defined in this suite.
|
TestChunk |
getTestChunk(Method method)
Get TestChunk for the given method.
|
List<TestChunk> |
getTestChunks()
Get all chunk entries.
|
List<TestChunk> |
getTestChunksEntries(Class<?> testClass)
Get all chunk entries for a specific class.
|
boolean |
shouldExecuteTestForMethod(Class<?> testClass,
Method potentialTestMethod)
Should reflect whether or not this method is eligible for testing.
|
int getChunkSize()
List<TestChunk> getTestChunks()
List<TestChunk> getTestChunksEntries(Class<?> testClass)
testClass
- The class whose chunk entries to get.TestChunk getTestChunk(Method method)
method
- - method for which test chunk should be found.boolean shouldExecuteTestForMethod(Class<?> testClass, Method potentialTestMethod)
testClass
- The class that defines the method.potentialTestMethod
- The method to inspect whether it should be executed in the
test suite or not.true
if the method is a test method and should be
executed, false
otherwise.Copyright © 2019. All rights reserved.