jasmine-html-runner
v0.3.0
Published
Runs Jasmine's HTML Runner using phantomjs.
Downloads
8
Readme
jasmine-html-runner for NodeJS
It uses phantomjs to execute your html jasmine spec runner and fetches the results when the test ends, then it outputs in the console.
External dependencies
phantomjs v1.6.0
Configuration file
A JSON file containing the following structure:
{
"serverRootPath": ".",
"servicesPrefix": '/webservice/',
"jsonMocksPath": "./mocks/",
"webServices": {
"get": {
"plan/search/definition": "mockSearchDefinition.json",
},
"post": {
"plan/search": "mockPlanSearch.json"
}
}
}
Running
node index -c [path-to-configuration-file]