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

mtreinish / stestr / 843 / 4
65%
master: 68%

Build:
Build:
LAST BUILD BRANCH: gha-ci
DEFAULT BRANCH: master
Ran 03 Oct 2018 02:18PM UTC
Files 30
Run time 1s
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

03 Oct 2018 02:09PM UTC coverage: 65.386% (-0.02%) from 65.402%
TOXENV=cover

push

travis-ci

mtreinish
Use reported times instead of wall time in subunit-trace

This commit updates the subunit_trace module to leverage the timestamps
reported in the subunit instead of the wall time for the elapsed time
output. When we were using the wall time if we were just reading a
subunit file this would be the time it took to read an process the
subunit data. Which is not the actual run time of the test. By switching
to use the elapsed time between the first start timestamp and the last
stop timestamp we'll always get an accurate value. This does come with
the tradeoff of not counting any setUp before the start time or
tearDown/cleanUp after the last test, since that data isn't in the
subunit stream. But that feels like a worthwhile compromise for having
moderately accurate numbers all the time.

Fixes #119

356 of 695 branches covered (51.22%)

1481 of 2265 relevant lines covered (65.39%)

0.65 hits per line

Source Files on job 843.4 (TOXENV=cover)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 760
  • Travis Job 843.4
  • a509f9c1 on github
  • Prev Job for TOXENV=cover on fix-load-reported-time (#841.4)
  • Next Job for TOXENV=cover on fix-load-reported-time (#845.4)
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