# 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".

title | Should Pass: Execution args validated
source | ExecArgs.java
executeClass | ExecArgs
executeArgs | $testSuiteRootURL $testURL $testWorkDir $testClassDir $harnessClassDir
keywords | compile execute positive ShouldPass ShouldExecute

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

title | Should Fail: Execution failed
source | ExecFail.java
executeClass | ExecFail
keywords | compile execute positive ShouldFail ShouldExecute

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

title | Should Fail: Execution threw runtime exception
name | ExecFailRuntimeExc
source | ExecExc.java
executeClass | ExecExc
executeArgs | -runtime
keywords | compile execute positive ShouldFail ShouldExecute

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

title | Should Fail: Execution threw error
name | ExecFailError
source | ExecExc.java
executeClass | ExecExc
executeArgs | -error
keywords | compile execute positive ShouldFail ShouldExecute

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

title | Should Pass: Simple execution
name | ExecSucc
source | ExecSucc.java
executeClass | ExecSucc
keywords | compile execute positive ShouldPass ShouldExecute