Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test suite to improve coverage #57

Open
dchaddock opened this issue Jan 13, 2022 · 1 comment
Open

Update test suite to improve coverage #57

dchaddock opened this issue Jan 13, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dchaddock
Copy link
Contributor

We've introduced a lot of new functionality lately, so we'll do a detailed review of the test suite to make sure that we're covering as many things as we can that's reasonable.

@dchaddock dchaddock added the enhancement New feature or request label Jan 13, 2022
@dchaddock dchaddock added this to the v0.10.0 milestone Jan 13, 2022
@dchaddock
Copy link
Contributor Author

dchaddock commented Jan 14, 2022

Note - coverage is currently at 91%.

$ poetry run coverage report --show-missing
Name                                                    Stmts   Miss  Cover
---------------------------------------------------------------------------
pyaurorax/__init__.py                                      18      0   100%
pyaurorax/_internal/__init__.py                             0      0   100%
pyaurorax/_internal/util.py                                 4      2    50%
pyaurorax/api/__init__.py                                  11      0   100%
pyaurorax/api/api.py                                       16      2    88%
pyaurorax/api/classes/__init__.py                           0      0   100%
pyaurorax/api/classes/request.py                           72     18    75%
pyaurorax/api/classes/response.py                          11      2    82%
pyaurorax/api/classes/urls.py                              87      0   100%
pyaurorax/availability/__init__.py                          7      0   100%
pyaurorax/availability/availability.py                     22      0   100%
pyaurorax/availability/classes/__init__.py                  0      0   100%
pyaurorax/availability/classes/availability_result.py      10      1    90%
pyaurorax/conjunctions/__init__.py                         12      0   100%
pyaurorax/conjunctions/classes/__init__.py                  0      0   100%
pyaurorax/conjunctions/classes/conjunction.py              17      2    88%
pyaurorax/conjunctions/classes/search.py                  115      7    94%
pyaurorax/conjunctions/conjunctions.py                     38     11    71%
pyaurorax/data_products/__init__.py                        15      0   100%
pyaurorax/data_products/classes/__init__.py                 0      0   100%
pyaurorax/data_products/classes/data_product.py            40     11    72%
pyaurorax/data_products/classes/search.py                  77      4    95%
pyaurorax/data_products/data_products.py                   91     24    74%
pyaurorax/ephemeris/__init__.py                            10      0   100%
pyaurorax/ephemeris/classes/__init__.py                     0      0   100%
pyaurorax/ephemeris/classes/ephemeris.py                   45      2    96%
pyaurorax/ephemeris/classes/search.py                      79      5    94%
pyaurorax/ephemeris/ephemeris.py                           78     19    76%
pyaurorax/exceptions.py                                    30      1    97%
pyaurorax/location.py                                      14      1    93%
pyaurorax/metadata/__init__.py                              4      0   100%
pyaurorax/metadata/metadata.py                             21      5    76%
pyaurorax/requests/__init__.py                              4      0   100%
pyaurorax/requests/requests.py                             63     10    84%
pyaurorax/sources/__init__.py                              20      0   100%
pyaurorax/sources/classes/__init__.py                       0      0   100%
pyaurorax/sources/classes/data_source.py                   47      9    81%
pyaurorax/sources/classes/data_source_stats.py             15      1    93%
pyaurorax/sources/sources.py                               98     13    87%
pyaurorax/util/__init__.py                                  4      0   100%
pyaurorax/util/calculate_btrace.py                         31      6    81%
tests/conftest.py                                          43     14    67%
tests/test_suite/__init__.py                                0      0   100%
tests/test_suite/accounts/test_accounts.py                  8      0   100%
tests/test_suite/availability/test_availability.py         20      0   100%
tests/test_suite/conjunctions/test_conjunctions.py        220      7    97%
tests/test_suite/data_products/test_data_products.py      170      7    96%
tests/test_suite/ephemeris/test_ephemeris.py              150     14    91%
tests/test_suite/exceptions/test_exceptions.py             83      1    99%
tests/test_suite/location/test_location.py                 14      0   100%
tests/test_suite/metadata/test_metadata.py                 24      0   100%
tests/test_suite/requests/test_requests.py                 37      0   100%
tests/test_suite/sources/test_sources.py                   88      5    94%
tests/test_suite/test_version.py                            3      0   100%
tests/test_suite/util/test_btrace.py                       36      0   100%
---------------------------------------------------------------------------
TOTAL                                                    2122    204    90%

@dchaddock dchaddock removed this from the v0.10.0 milestone Jul 25, 2022
@dchaddock dchaddock self-assigned this Aug 31, 2022
@dchaddock dchaddock added this to the 0.11.0 milestone Aug 31, 2022
@dchaddock dchaddock modified the milestones: 0.12.0, v0.13.0 Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant