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

mtreinish / stestr / 843
65%
master: 68%

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

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%)

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

1481 of 2265 relevant lines covered (65.39%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
4 843.4 (TOXENV=cover) 03 Oct 2018 02:18PM UTC 0
65.39
Travis Job 843.4
Source Files on build 843
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #843
  • a509f9c1 on github
  • Prev Build on fix-load-reported-time (#841)
  • Next Build on fix-load-reported-time (#845)
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