Running Batch Mode Unit Tests that Require GUI Components

The JadeUnitTestGuiNoForms application enables you to run unit tests that require GUI components (that is, does not display forms) in batch mode, using the JADE executable (jade.exe) with the same arguments as the JadeUnitTestBatch application. For more details, see "Running Unit Tests in Batch Mode", earlier in this chapter.

To run unit tests in batch mode as a GUI No Forms client application using jade.exe, specify the following arguments in the command line.

jade path=database‑path
    schema=RootSchema
    ini=jade‑initialization‑file     app=JadeUnitTestGuiNoForms     startAppParameters     control‑file‑name test‑name [codeCoverage=true|false] [profile=true}false] [log‑file‑name] endAppParameters

The following example specifies the JADE executable (jade.exe) command line for the GUI No Forms JadeUnitTestGuiNoForms application.

jade path=c:\jade\system schema=TestUnitTestSchema ini=c:\jade\system\jade.ini app=JadeUnitTestGuiNoForms appServer=MyAppServer appServerPort=1234 startAppParameters c:\jade\unittest.xml DailyTests codecoverage=true profile=true c:\jade\logs\unittest.log endAppParameters

2016.0.02 (Service Pack 1) and higher