Basic execution tests

The page contains a sequence of tests which are designed to test the basic operation of the test harness.


This test is supposed to pass, with the result "Execution args validated".

titleShould Pass: Execution args validated
sourceExecArgs.java
executeClassExecArgs
executeArgs$testSuiteRootURL $testURL $testWorkDir $testClassDir $harnessClassDir
keywordscompile execute positive ShouldPass ShouldExecute


This test is supposed to fail, with the result "Execution assumed".

titleShould Fail: Execution failed
sourceExecFail.java
executeClassExecFail
keywordscompile execute positive ShouldFail ShouldExecute


This test is supposed to fail, with the result "???".

titleShould Fail: Execution threw runtime exception
nameExecFailRuntimeExc
sourceExecExc.java
executeClassExecExc
executeArgs-runtime
keywordscompile execute positive ShouldFail ShouldExecute


This test is supposed to fail, with the result "Execution assumed".

titleShould Fail: Execution threw error
nameExecFailError
sourceExecExc.java
executeClassExecExc
executeArgs-error
keywordscompile execute positive ShouldFail ShouldExecute


This test is supposed to pass, with the result "This test has passed".

titleShould Pass: Simple execution
nameExecSucc
sourceExecSucc.java
executeClassExecSucc
keywordscompile execute positive ShouldPass ShouldExecute


Should also pass

titleShould Pass: Simple execution
nameExecSucc2
sourceExecSucc2.java
executeClasscustom.pack.ExecSucc2
keywordscompile execute positive ShouldPass ShouldExecute