testem-multi
v0.4.5
Published
Run multiple testems, output to a single tap file
Readme
#testem-multi Run multiple testems, output to a single tap file. ##Install
npm install -g testem-multi##Usage 1.Prepare testem-multi.json
{
"launch_in_ci" : [
"chrome",
"safari"
],
"files" : [
"examples/1.html",
"examples/2.html"
]
}2.Execute testem-multi
testem-multiOr use a different file name
testem-multi another_testem_multi.json##Advance
- Output only failed test
{
"output" : [
"pass": false,
"fail": true
],
"files" : [
"examples/1.html",
"examples/2.html"
]
}- Output code coverage information (
istanbul)
{
"output" : [
"coverage": "tmp/coverage"
],
"files" : [
"examples/1.html",
"examples/2.html"
],
"routes": {
"/src": "instumented"
}
}To use code coverage, the code must be instrumented before running testem-multi
- Stop running tests when there's a failure
{
"bailOut" : true,
"files" : [
"examples/1.html",
"examples/2.html"
]
}