Comments (3)
The coverage report generated by Travis does not only include the coverage of pypahdb, but also of pytest and all its dependencies. Adding --source pypahdb to the coverage command fixes this.
[update] It looks like the coverage is the same, but Travis is quicker in generating the number.
from pypahdb.
Apparently we can consolidate our fixtures and place them in conftest.py
, which will make them available (automatically) to all of the test_*.py
files. Neat!
Refs:
https://stackoverflow.com/questions/34466027/in-py-test-what-is-the-use-of-conftest-py-files
https://docs.pytest.org/en/latest/fixture.html#conftest-py-sharing-fixture-functions
from pypahdb.
Currently the tests are making use of unittests, which does not work well with pytests' fixtures. Since unittests uses classes, commonality between tests can be captured in class properties.
Test coverage is now above 80%, which should be sufficient for know.
from pypahdb.
Related Issues (20)
- Move nbsphinx from requirements.txt to requirements-dev.txt? HOT 1
- Documentation fixes for API changes HOT 1
- Possible performance issues? HOT 5
- Add code profiling to identify matrix operation bottlenecks HOT 4
- Changelog
- Travis and pickle HOT 1
- Versioning in the docs not showing correctly HOT 1
- Spectrum1D HOT 3
- Astropy HOT 2
- astropy.units HOT 1
- Astropy distortion warning when running example_fits.py HOT 2
- Add Class Inheritance Diagram to the docs HOT 2
- Use AppVeyor for Windows platform CI (a la Travis)?
- package and class importing/calling issue HOT 1
- "Format not recognized" error HOT 3
- Other File Formats
- Update precomputed matrix with version 3.20 spectra HOT 2
- Not Able to Install in Windows HOT 4
- charmap decoding error HOT 3
- Issues with installing pyPAHdb HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypahdb.