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

roger- / pyrtlsdr / 40
90%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2016 06:52PM UTC
Jobs 3
Files 6
Run time 15s
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
40

push

travis-ci

nocarryr
Clean up tests and add coverage reporting through coveralls (#38)

* Add coverage config to travis

* Correct pip argrument error

* Allow test in helpers.py to be discovered

* Add coverage badge (linked to temporary branch)

* Add back missing coverage packages for travis

* Separate all test code (except for 'DummyRtlSdr') outside of the library code

* Add check for travis env in sdr_cls fixture

* Add fake librtlsdr to emulate the low-level functions
Not yet implemented, needs to be monkeypatched in test fixtures

* Use pytest.monkeypatch to override librtlsdr functions

Removes the need to override base classes at the module level

* Raise 'NotImplementedError' on async reads in tcp module

* Clean up tcp test and handle expected exceptions

* Add forgotten import

* Move test from helpers module into tests directory

* Make sure async module passes the generic test

* Generate non-random data so it can be verified in tests

* Test sampled data against generated data

* Add PEP238 true division

* Add support for direct sampling modes in tests

* Add missing method on tcp module to support direct sampling tests

* Ensure container type can be compared

* Use str parameters for direct_sampling params in tests

* Begin adding assertion tests for exceptions

* Parameterize tests to run with and without numpy

* Update pytest versions in travis env

* Make sure device is closed for each test run

* Import base RtlSdr class directly
In Py>=3.5 it gets overridden by rtlsdraio and causes issues with tests

* Avoid parameterized tests with asyncio

* Change coverage badge to point to main repo

7 of 7 new or added lines in 2 files covered. (100.0%)

665 of 783 relevant lines covered (84.93%)

2.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
rtlsdr/rtlsdrtcp.py
Jobs
ID Job ID Ran Files Coverage
1 40.1 09 Apr 2016 06:52PM UTC 0
82.81
Travis Job 40.1
2 40.2 09 Apr 2016 06:52PM UTC 0
84.31
Travis Job 40.2
3 40.3 09 Apr 2016 06:52PM UTC 0
84.8
Travis Job 40.3
Source Files on build 40
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #40
  • 785e2ee1 on github
  • Next Build on master (#41)
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