FeaturesPluginsDocs & SupportCommunityPartners

Xtest properties


Last update: January 28, 2005
Author: Milan Kubec, Jiri Skrivanek

Abstract: This document describes common properties in XTest framework.

  Name of property     Value     Description  
--jdkhome ${jdkhome} JDK home directory
--userdir ${xtest.userdir} userdir, which will be used for given test execution
--cp:p ${xtest.ide.path} classpath, which is prefixed to IDE classpath
--nosplash   no splash screen will be shown
--nogui   IDE is run in non GUI mode
-J-Dnetbeans.full.hack true hack to disable parts of IDE, required in automated testing
-J-Dnetbeans.mainclass org.netbeans.xtest.ide.Main IDE main class modified for XTest
-J-Dnetbeans.classpath ${xtest.netbeans.classpath} ???
-J-Dnetbeans.systemclassloader ${xtest.netbeans.systemclassloader.patches} ???
-J-Dtest.reuse.ide ${xtest.ide.reuse.userdir} Whether IDE userdir from previous run should be used.
-J-Dtest.output.redirect true Redirect test output to file.
-J-Dxtest.home ${xtest.home} Xtest home directory
-J-Dtbag.classpath ${tbag.classpath} OPTIONAL, used only when above mentioned use.classloader property is defined. Classpath is used to load classes from by above given classloader.
-J-Dtest.exit true indicates whether IDE quits after tests are finished or not
-J-Dxtest.ide.error.manager true XTest error manager is installed to IDE and when an exception or error is thrown, then the test is marked as error and exception stack trace appears in results.
-J-Dxtest.ide.handler true XTestIDEHandler is added to IDE and when an exception is thrown, then the test is marked as error and exception stack trace appears in results. Default value is true.
-J-Dxtest.ide.mdrstorage ${jdkhome}/mdrstorage Use prebuilt JDK mdr storage at specified location. By default it tries to use storage in directory ${jdkhome}/mdrstorage. You can set your own directory or disable using prebuilt mdr storage by setting this property to false/no. In fact it sets -J-Dprebuilt.storage.dir IDE option.
-J-Dtestrunner.workdir ${xtest.workdir}/sys
-J-Dtestrunner.timeout ${xtest.timeout}
-J-Dwork.dir ${xtest.workdir}/sys
-J-Dxtest.workdir ${xtest.workdir}
-J-Dxtest.data
${xtest.data}
XTest data directory. It corresponds with test/${xtest.testtype}/data directory where test developer can store golden files, sample files or additional resources needed for tests.
-J-Dxtest.tmpdir ${xtest.tmpdir}
-J-Dxtest.sketchpad ${xtest.sketchpad}
-J-Dnbjunit.workdir ${xtest.workdir}/user
-J-Djunit.properties.file ${junit.properties.file}
-J-Dxtest.ide.coverage.args ${xtest.ide.coverage.args} Additional arguments required by coverage framework when executing tests by ide plugin.
-J-Dxtest.jvm.coverage.args ${xtest.jvm.coverage.args} Additional arguments required by coverage framework when executing tests by jvm plugin.
          = IDE properties,             = Xtest properties,             = Values are taken from cfg file from selected testbag

Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by