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

Test cleanup #33

Open
AustinCullar opened this issue Sep 29, 2024 · 0 comments
Open

Test cleanup #33

AustinCullar opened this issue Sep 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request testing Adds new tests

Comments

@AustinCullar
Copy link
Owner

Go through the tests and see if any logic can be refined/abstracted. Some tests may be improved to increase test coverage as well.

As of writing, the test coverage stands at 97%:

Name                                 Stmts   Miss  Cover   Missing
------------------------------------------------------------------
src/__init__.py                          0      0   100%
src/astro_db.py                         56      3    95%   108, 116-117
src/data_collection/__init__.py          0      0   100%
src/data_collection/sentiment.py        46      1    98%   56
src/data_collection/yt_data_api.py      41      4    90%   73-76
src/log.py                              22      0   100%
src/tests/__init__.py                    0      0   100%
src/tests/conftest.py                   24      0   100%
src/tests/test_api_responses.py          2      0   100%
src/tests/test_astro_db.py              85      2    98%   18-19
src/tests/test_log.py                   20      0   100%
src/tests/test_sentiment.py             23      0   100%
src/tests/test_yt_data_api.py           35      1    97%   20
------------------------------------------------------------------
TOTAL                                  354     11    97%
@AustinCullar AustinCullar self-assigned this Sep 29, 2024
@AustinCullar AustinCullar added enhancement New feature or request testing Adds new tests labels Sep 29, 2024
Repository owner deleted a comment Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Adds new tests
Projects
None yet
Development

No branches or pull requests

1 participant