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

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

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

21 Jun 2021 12:50AM UTC coverage: 100.0%. Remained the same
TOX_ENV=cov-travis DEPLOY=1

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

Source Files on job 413.3 (TOX_ENV=cov-travis DEPLOY=1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 348
  • Travis Job 413.3
  • 354abfc4 on github
  • Prev Job for TOX_ENV=cov-travis DEPLOY=1 on rohan/baseline-tests (#411.3)
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