DalekJS is an open source UI testing tool written in JavaScript, it will:
{
"name": "myCssTardis",
"description": "Is awesome",
"version": "0.0.2"
}$ npm install dalek-cli -g
$ npm install dalekjs --save-devmodule.exports = {
'Page title is correct': function (test) {
test
.open('http://google.com')
.assert.title().is('Google', 'It has title')
.done();
}
};$ dalek test/*.js
Running tests
Running Browser: Phantomjs
RUNNING TEST - "Page title is correct"
▶ OPEN http://google.com
✔ TITLE It has title
✔ 1 Assertions run
✔ TEST - "Page title is correct" SUCCEEDED
1/1 assertions passed. Elapsed Time: 2 sec * DalekJS is currently a developer preview. Some features are missing, some things might change, there's a lot of optimisation to be done. Don't use this for production!