public class PromTest
extends junit.framework.TestCase
TestMethod
and the corresponding attributes.
Tests are generated from all classes stored in "./bin".
2) Automated test scripts: these are tests that run a sequence of scripted tests
that are stored in a specified location: defaultTestScriptDir
.
The tests may access files/compare results to files stored in defaultTestDir
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
defaultClassFileLocations
Default location of class files that contain methods which are annotated
with
TestMethod and which shall be run in the JUnit test. |
static java.lang.String |
defaultTestDir
Default location of test files that is used if the system property
test.testFileRoot is not set. |
static java.lang.String |
defaultTestScriptDir
Default location of test script files inside
defaultTestDir
that is used if the system property test.testScriptRoot
is not set. |
Constructor and Description |
---|
PromTest() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<? extends java.lang.Object> |
inlineTests() |
static java.util.Collection<? extends java.lang.Object> |
testScripts() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public static final java.lang.String defaultTestDir
test.testFileRoot
is not set. Overwrite this value if
necessary. Default value "./tests/testfiles".public static final java.lang.String defaultTestScriptDir
defaultTestDir
that is used if the system property test.testScriptRoot
is not set. By default, this location is "autoscripts".
Overwrite this value if necessary.public static final java.lang.String defaultClassFileLocations
TestMethod
and which shall be run in the JUnit test. Overwrite
this value if necessary. Default value "./tests/testfiles".