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

Galvant / InstrumentKit / 1272
99%
main: 99%

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

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

11445 of 12558 relevant lines covered (91.14%)

2.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1272.1 02 Sep 2020 12:07AM UTC 0
91.13
Travis Job 1272.1
2 1272.2 02 Sep 2020 12:07AM UTC 0
91.13
Travis Job 1272.2
3 1272.3 02 Sep 2020 12:07AM UTC 0
91.73
Travis Job 1272.3
Source Files on build 1272
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1272
  • d5c1ad55 on github
  • Prev Build on master (#1268)
  • Next Build on master (#1284)
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