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

Expand unit tests #20

Open
florian-huber opened this issue Dec 6, 2021 · 0 comments
Open

Expand unit tests #20

florian-huber opened this issue Dec 6, 2021 · 0 comments

Comments

@florian-huber
Copy link
Collaborator

There is now continuous integration running all test in /tests/ and the current tests already cover a big part of the code:

---------- coverage: platform linux, python 3.8.12-final-0 -----------
Name                          Stmts   Miss  Cover
-------------------------------------------------
memo_ms/__init__.py               7      0   100%
memo_ms/__version__.py            1      0   100%
memo_ms/classes.py              117     46    61%
memo_ms/import_data.py           47     17    64%
memo_ms/visualization.py        125    111    11%
tests/test_classes.py            62      0   100%
tests/test_user_workflow.py      35      0   100%
-------------------------------------------------
TOTAL                           394    174    56%
Coverage XML written to file coverage.xml

Next steps could be:

  • Add tests for visualization
  • Add more meaningfull test(s) for MemoMatrix class to test_classes.py
  • Revisit user workflow test (test_user_workflow.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant