org.aitools.programd.test.aiml
Class Tester
java.lang.Object
org.aitools.programd.test.aiml.Tester
public class Tester
- extends Object
A Tester loads one or more test suites and runs them, logging output.
- Author:
- Albertas Mickensas, Noel Bush
|
Constructor Summary |
Tester(Core coreToUse,
org.apache.log4j.Logger testLogger,
List<URL> suitePaths,
URL testReports)
Creates a new Tester which will use the given Core to find out its
configuration and run tests. |
|
Method Summary |
String |
run(String botid,
String suite,
int runCount)
Runs the tests in the given suite on the given botid, a given number of
times. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tester
public Tester(Core coreToUse,
org.apache.log4j.Logger testLogger,
List<URL> suitePaths,
URL testReports)
- Creates a new Tester which will use the given Core to find out its
configuration and run tests.
- Parameters:
coreToUse - the Core to use for finding plugin configuration, active
multiplexor, etc.testLogger - the logger to which to send outputsuitePaths - the test suitestestReports - the directory in which to store test reports
run
public String run(String botid,
String suite,
int runCount)
- Runs the tests in the given suite on the given botid, a given number of
times.
- Parameters:
suite - the suite to runbotid - the botid on whom to run the testsrunCount - the number of times to run the tests
- Returns:
- the path where the test report was written