jsunit.properties

The file jsunit/jsunit.properties can contain 6 parameters:

  1. browserFileNames, which should equal a comma-separated list of Java-friendly paths to the executables of the browsers which will run tests on the computer you are using
  2. url, which should equal the URL to the JsUnit Test Runner (usually including a "testPage=" query strings, and "autoRun=true")
  3. resourceBase, which should equal the path (relative to the jsunit.properties file) of the directory where the testRunner.html file lives (usually this is just blank, meaning the same directory)
  4. logsDirectory, which should equal the path (relative to the jsunit.properties file) of the directory where the server logs live (usually this is just blank, meaning the default directory which is jsunit/results/logs)
  5. port, which should equal the port on which the server listens (usually this is just blank, meaning the default of port 8080)
  6. remoteMachineNames, which should equal a comma-separated list of URL prefixes of the remote machines on which tests are to be run

Here is an example jsunit.properties file (in fact this is the properties file that an unmodified distribution contains):

browserFileNames=d:\\program files\\internet explorer\\iexplore.exe
url=file:///d:/jsunit/testRunner.html?testPage=d:\\jsunit\\tests\\jsUnitTestSuite.html&autoRun=true&submitResults=true
resourceBase=
logsDirectory=
port=
remoteMachineNames=http://localhost:8080