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

clux / bandage / 55 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2016 01:21PM UTC
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

09 Feb 2016 01:20PM UTC coverage: 94.245%. Remained the same
55.1

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

Source Files on job 55.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 55
  • Travis Job 55.1
  • 1c51d4e3 on github
  • Prev Job for on master (#54.1)
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