• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

clux / bandage / 55
93%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2016 01:21PM UTC
Jobs 1
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
55

Pull #12

travis-ci

Pajk
Add custom test runner

Sometimes it’s useful to setup the test environment and pass some
configured objects to all tests. It’s now possible with bandage/runner.
It loads up all files matching 'test/**/*.test{,s}.js' or
'test/**/test{,s}.js’, calls exported functions with given parameters
and runs all registered tests.

Tests setup script:
var bandageRunner = require("bandage/runner")
…
var testParams = [request, helper, container]
bandageRunner(testParams, file, db.disconnect)

Test file:
module.exports = function(should, request, helper, container) {
  should(“my test“, function* (t) { … }
}
Pull Request #12: Add custom test runner

131 of 139 relevant lines covered (94.24%)

13.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 55.1 09 Feb 2016 01:21PM UTC 0
94.24
Travis Job 55.1
Source Files on build 55
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #55
  • Pull Request #12
  • PR Base - master (#54)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc