Automated javascript testing

This is an automated javascript testswarm for Drupal.

The site uses Qunit and TestSwarm module to automate all QUnit tests. To start the automated testing, go to QUnit tests for the current browser, if your browser didn't do any tests before it should automatically start doing all tests for all themes, otherwise you can start all tests at once. Once finished you should see a color-coded table indicating the status of each test.

A general overview of all test and their results can be found at Overview of QUnit tests including links to the detailed test results.

A lot of thanks to BrowserStack for letting us test their API.

New tests:

Benefits:

  • Strict clientside testing, not possible for the moment with simpletest.
  • Test multiple themes at the same time.
  • Works for authenticated and anonymous users.
  • Detailed recording of all test runs.
  • All submit and validate handlers are disabled (ex: createpagecontent).
  • Permissions added to test definitions (ex: reorderblocks).

Discussion on d.o. : #237566: Automated JavaScript unit testing framework