Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A list of browsers to run the Karma configuration against - one browser name per line. Leave blank to use those specified in the configuration.  Karma comes with launchers pre-installed for Chrome, Chrome-Canary, and PhantomJS. Ensure that you install any extra browsers using an NPM install action before running the Karma action. [--browsers]

Info
titleImportant

Note that the Continua CI agents running as a Windows service cannot run browsers which require a UI. If you really must test against one of these browsers, stop any running the agent service and run the agent as a console using the -console flag. e.g. %ProgramFiles%\VSoft Technologies\ContinuaCI Agent\Continua.Agent.Service.exe -console.

...

A list of reporters to handle Karma results. One name per line. Clear field to use those specified in the configuration. [--reporters]

Port

Specify the port that the Karma server will run on. [--port]

Capture Timeout (ms)

The maximum boot-up time allowed for a browser to start and connect to Karma in milliseconds. If any browser does not get captured within the timeout, Karma will kill it and try to launch it again and, after three attempts to capture it, Karma will give up. Enter zero to use the default from the configuration file. [--report-slower-than]

Slow Test Threshold (ms)

Report tests that are slower than the given time in milliseconds. Enter zero to use the default from the configuration file. [--capture-timeout]


Options

Pre-install Karma and karma-junit-reporter to working directory using NPM

...