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

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

Build:
DEFAULT BRANCH: master
Ran 22 Jun 2021 09:39PM UTC
Files 38
Run time 4s
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

22 Jun 2021 09:33PM 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 439.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 370
  • Travis Job 439.3
  • 99a61bca on github
  • Prev Job for TOX_ENV=cov-travis DEPLOY=1 on master (#418.3)
  • Next Job for TOX_ENV=cov-travis DEPLOY=1 on master (#442.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