git clone firstname.lastname@example.org:jimmont/testswarm-x.git git submodule update --init
or if using THIS project as a submodule:
git submodule add email@example.com:jimmont/testswarm-x.git path/to/it git submodule update --init cd path/to/it git submodule update --init
The main instance monitoring jQuery core and related projects runs at swarm.jquery.org.
Clone the repo,
git clone git://github.com/jquery/testswarm.git, or
download the latest
TestSwarm uses the Semantic Versioning guidelines as much as possible.
Releases will be numbered in the following format:
-alpha suffix is used to indicate unreleased versions in development.
For more information on SemVer, please visit http://semver.org/.
Found a bug? Please report it using our issue tracker!
To run TestSwarm you will need a web server, a database server and PHP. At the moment TestSwarm only supports Apache and MySQL.
- Apache 2.0+
- PHP 5.3.0+
- MySQL 4.0+
- Curl (for the cleanup action; see below)
Set up a MySQL database and create a user with read and write access.
./config/testswarm.jsonand update the database settings. For other settings, check the wiki.
Currently the only supported webserver is Apache (which uses a
To run TestSwarm from a non-root directory, set
web.contextpathto the correct path from the web root and update RewriteBase in
.htaccess. Verify that
.htaccessis working properly by opening a page (e.g.
/testswarm/projects) in your browser. If it doesn't work, make sure your
.htaccessis actually being read (e.g. by putting some jibberish into the
.htaccessfile, which should result in a HTTP 500 Error). If it doesn't get loaded, verify that
AllowOverrideis set to "
All" (at least not to "
None") in your Apache configuration.
storage.cacheDirto a writable directory that is not readable from the web. Either set it to a custom path outside the web document root, or use the default
cachedirectory (protected with .htaccess).
chmod 777 ./cache.
Install the TestSwarm database by running:
./robots.txt(or add similar rules to your main
robots.txtfile if TestSwarm is not in the root directory).
Create an entry in your crontab for action=cleanup. This performs various cleaning duties such as making timed-out runs available again.
* * * * * curl -s http://swarm.example.org/api.php?action=cleanup > /dev/null
You're welcome to use the GitHub issue tracker to start discussions.
Or post to the QUnit and Testing forum.
Most of us are also on IRC in the #jquery-dev channel at irc.freenode.net
Copyright and license