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

Unit tests #14

Open
lskatz opened this issue Sep 18, 2020 · 0 comments
Open

Unit tests #14

lskatz opened this issue Sep 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@lskatz
Copy link
Collaborator

lskatz commented Sep 18, 2020

Need to have unit tests. Need to use standard python methods for unit tests, e.g., https://docs.python.org/3/library/unittest.html

Suggestions for your first unit tests:

  • test --version and --help flags to make sure there is a desired stdout and exit code
  • Creating a small (3-genome?) database
    • test metadata against expected output
    • test signatures file against expected output
    • test a dist operation against expected distance
@lskatz lskatz added the enhancement New feature or request label Sep 18, 2020
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