Skip to content
Simple webdriver/saucelabs CI for static HTML5 projects.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
static
test
.gitignore
.simplesauce.json
README.md
app.js
config.sample.js
git.js
irc-notifying-app.js
package.json
underscore.js
webdriver-utils.js

README.md

Quick Start

$ cp config.sample.js config.js

Edit config.js as necessary.

$ npm install
$ npm test
$ node test/integration/run-post-receive-webhook-test.js

If all this works, you are ready to spin up the server:

$ node app.js

Adding Simplesauce Support To A Project

Currently, simplesauce only supports running QUnit-based tests located at /test/index.html in a repository.

To add support for simplesauce, add the following code after all the script tags to /test/index.html:

<script>
if (location.search.match(/externalreporter=1/))
  document.write('<script src="/externalreporter.js"></' + 'script>');
</script>
Something went wrong with that request. Please try again.