net.thucydides.core.batches
Class SystemVariableBasedBatchManager
java.lang.Object
net.thucydides.core.batches.SystemVariableBasedBatchManager
- All Implemented Interfaces:
- BatchManager
public class SystemVariableBasedBatchManager
- extends Object
- implements BatchManager
Manages running test cases (i.e. test classes) in batches.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemVariableBasedBatchManager
@Inject
public SystemVariableBasedBatchManager(EnvironmentVariables environmentVariables)
- The batch manager is initiated using system properties.
These properties are "thucydides.batch.count" and "thucydides.batch.number".
getCurrentTestCaseNumber
public int getCurrentTestCaseNumber()
- Specified by:
getCurrentTestCaseNumber in interface BatchManager
registerTestCase
public void registerTestCase(Class<?> klass)
- Specified by:
registerTestCase in interface BatchManager
registerTestCase
public void registerTestCase(String testCaseName)
- Specified by:
registerTestCase in interface BatchManager
shouldExecuteThisTest
public boolean shouldExecuteThisTest()
- Specified by:
shouldExecuteThisTest in interface BatchManager
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.