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

release-engineering / pushsource / 413
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: use-https-for-errata
DEFAULT BRANCH: master
Ran 21 Jun 2021 12:55AM UTC
Jobs 1
Files 38
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
413

push

travis-ci-com

rohanpm
tests: introduce baseline tests

For test cases which work simply like this:

- get a Source via URL
- compare all generated items against expected

...the prior approach was to write python code executing the above
steps.

A smarter way to do it is to put the (inputs, expected outputs) into
test data files which can be automatically rewritten. Let's do that
where feasible. Tests which are obsoleted by this have been deleted.

The primary motivation here is that the container push items will need
to have many fields added in upcoming commits. If there are tests
written in python doing equality checks between actual and expected push
items, those will fail every time a new field is introduced, and since
it's python code there is no easy way to automatically update those
tests to add the new fields.

These tests will have a much lower maintenance cost when adding fields
like that; we just need to run tests with PUSHSOURCE_UPDATE_BASELINE=1,
check the diff of the YAML files and commit them if the update looks
correct.

1245 of 1245 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
3 413.3 (TOX_ENV=cov-travis DEPLOY=1) 21 Jun 2021 12:55AM UTC 0
100.0
Travis Job 413.3
Source Files on build 413
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #413
  • 354abfc4 on github
  • Prev Build on rohan/baseline-tests (#411)
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