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

nose-devs / nose2 / 610
88%

Build:
DEFAULT BRANCH: master
Ran 07 Feb 2018 05:25AM UTC
Jobs 8
Files 46
Run time 5min
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
610

Pull #380

travis-ci

web-flow
Respect fail_under coverage config

Resolves #285

- Nose2 ResultSuccessEvent events can only indicate exit(0) or exit(1),
  so without a brand new exit status handling mechanism, we can't get
  exit(2) which `coverage` does for fail_under. *This is fine*.
  Unless we expect nose2 to bend over backwards to reproduce all of the
  behaviors of coverage, this just needs to be documented.
- Previously, coverage was computed during afterSummaryReport. However,
  it must be computed before wasSuccessful in order to produce the
  correct resulting status with fail_under. Therefore, coverage is now
  computed during beforeSummaryReport, its output is buffered in a
  StringIO, and the result (for text output) is printed during
  afterSummaryReport. This should have no externally visible behavioral
  change.
- Add support to coverage tests for checking exit status, so that we can
  assert exit(1) on the fail_under test. Add a relevant test using this
  capability.
- Add documentation to coverage plugin detailing exit(2) vs exit(1)
  behavior, and leaving room for more `coverage` vs `nose2`
  discrepancies.
Pull Request #380: Respect fail_under coverage config

988 of 1218 branches covered (81.12%)

18 of 18 new or added lines in 1 file covered. (100.0%)

3252 of 3703 relevant lines covered (87.82%)

6.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
nose2/plugins/coverage.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
nose2/plugins/junitxml.py
2
100.0
nose2/plugins/prof.py
3
100.0
nose2/plugins/loader/parameters.py
3
100.0
nose2/plugins/loader/testcases.py
3
100.0
nose2/plugins/loader/testclasses.py
7
100.0
nose2/util.py
Jobs
ID Job ID Ran Files Coverage
1 610.1 07 Feb 2018 05:28AM UTC 0
86.85
Travis Job 610.1
2 610.2 07 Feb 2018 05:29AM UTC 0
86.39
Travis Job 610.2
3 610.3 07 Feb 2018 05:25AM UTC 0
87.23
Travis Job 610.3
4 610.4 07 Feb 2018 05:26AM UTC 0
86.74
Travis Job 610.4
5 610.5 07 Feb 2018 05:27AM UTC 0
86.82
Travis Job 610.5
6 610.6 07 Feb 2018 05:29AM UTC 0
86.79
Travis Job 610.6
7 610.7 07 Feb 2018 05:29AM UTC 0
86.79
Travis Job 610.7
8 610.8 07 Feb 2018 05:31AM UTC 0
86.79
Travis Job 610.8
Source Files on build 610
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #610
  • Pull Request #380
  • PR Base - master (#608)
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