qunit-selenium — Run QUnit tests through Selenium WebDriver
Contents
Description
qunit-selenium will open the QUnit test page at the given URL and wait for the tests to complete before
collecting and displaying the test run results.
If the tests do not complete within the given timeout seconds, qunit-selenium will raise an error and the
command will fail.
If any error is raised by qunit-selenium which would cause a premature end of the test run, the program
will generate a screenshot of the error page (file qunit-selenium-error.png)
Examples
qunit-selenium--timeout20--screenshotmytests.pnghttp://myserver/tests
Name
qunit-selenium — Run QUnit tests through Selenium WebDriver
Options
--timeoutsecondsSpecifiesthemaximumtimeout(defaultis10seconds).--screenshotFILECapturethescreenoutputtoFILE.
See Also
The complete documentation for qunit-selenium is available online at https://www.rubydoc.info/gems/qunit-
selenium/ .
Synopsis
qunit-selenium [--timeoutseconds] [--screenshotFILE] URL
