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

Galvant / InstrumentKit / 1272 / 1
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: bf_thorlabs_apt
DEFAULT BRANCH: main
Ran 02 Sep 2020 12:07AM UTC
Files 148
Run time 11min
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

02 Sep 2020 12:04AM UTC coverage: 91.131% (+0.7%) from 90.431%
1272.1

push

travis-ci

web-flow
Test suite for Tektronix DPO4104 and bug fixes (#253)

* Test suite for Tektronix DPO4104 and bug fixes

Full coverage test suite for Tektronix DPO4104 added. Trying to make
use of hypothesis where it makes sense and leave it away where it
doesn't.

Bug fixes for `tekdpo4104.py`:
- Instead of the new value to set, the documentation was passed on
  in the `_parent_property` routine. This routine is only used once,
  however, a usage scenario is written but has likely never been
  tested before. The test that does what this property is supposed to
  do passes now with the fix.
- Reading ASCII data from a data source used `map` and then directly
  transferred to an `ndarray`. This was fine in python 2, not anymore
  though. Fixed on line 114.
- Reading binary data is tested now. The test however failed since the
  next command issued left only a termination character. The binary data
  is read using `binblockread` from `Instruments`. This will leave the
  last termination character behind. Inserted an additional reading
  statement to read one character to get rid of this character. Checked
  with the manual to ensure consistency. Manual states that this
  termination character should be there after the binary data block,
  thus, the bug fix makes sense.

* Switched hypothesis random sampling over enum to pytest parametrize

11447 of 12561 relevant lines covered (91.13%)

0.91 hits per line

Source Files on job 1272.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1147
  • Travis Job 1272.1
  • d5c1ad55 on github
  • Prev Job for on master (#1268.1)
  • Next Job for on master (#1284.1)
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