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

mtreinish / stestr / 841
65%
master: 68%

Build:
Build:
LAST BUILD BRANCH: gha-ci
DEFAULT BRANCH: master
Ran 03 Oct 2018 02:09PM UTC
Jobs 1
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

pending completion
841

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

1482 of 2266 relevant lines covered (65.4%)

0.65 hits per line

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