Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A tool which runs unit tests (based on mocha) if a file has changed on the server in a browser
JavaScript
branch: master

This branch is 1 commit ahead, 41 commits behind peerigon:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
example
lib
test
.gitignore
README.md
package.json
xunit.jade

README.md

nof5

Build Status

What is nof5?

nof5 is a server for automated browser testing based on express and socket.io. It watches your lib- and test-folder and emits on a change an event called f5 to all connected clients. You can connect as many browsers as you want. On f5 the clients can fetch a new test-bundle and re-run it. So you don't have to manually reload your tests. That's why it is called nof5. It is also possible to send the test results back to the server.

Result will be displayed like this if they succeed

13:20:55 Chrome/20.0.1132/Linux has connected

13:20:55 Chrome/20.0.1132/Linux has succeeded. Tests took 0.617 seconds

or like this if they fail

13:31:34 Android/2.3.4/Android has failed. Tests took 5.625 seconds

{ '.isAppended()': { test: 'should be false after # dispose()', type: 'Error: expected false to equal true' } }

Writing xunit-files is on the road.

nof5 does not ship any test-suites like mocha or assertions suites like expect.js. So you can use any lib for writing you want to. But there is a recipe for mocha and expect.js in the examples.

How to install it?

npm install -g nof5

How to use it ?

Server

Client

Something went wrong with that request. Please try again.