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

hgrecco / pint / 2004 / 4
90%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 10 Jan 2021 05:17AM UTC
Files 18
Run time 0s
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

10 Jan 2021 05:14AM UTC coverage: 74.736%. First build
PKGS="python=3.7"

push

travis-ci-com

hgrecco
Migration of all tests to pytest

The intento of this large commit is to move away from unittest
into pytest.

To speed-up migration we made certain choices that might
need to be revisted in the future:
- use pytest-subtests to replace unittest subtest infrastructure
  A lot of this might be better using parametrize
- While we have removed certain classes and flatten them to
  functions, some were kept for no particular reason
  (rewriting the QuantityTestCase base class)
- We have created some fixtures but not optimized.
  Feature optimization (i.e. using global registries for certain
  tests might speed up testing as it will void constructing
  the registry over and over)

3109 of 4160 relevant lines covered (74.74%)

0.75 hits per line

Source Files on job 2004.4 (PKGS="python=3.7")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1856
  • Travis Job 2004.4
  • be26fde4 on github
  • Next Job for PKGS="python=3.7" on _pytest_migration (#2005.4)
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