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

Add unit tests #11

Closed
glethuillier opened this issue Feb 25, 2021 · 0 comments
Closed

Add unit tests #11

glethuillier opened this issue Feb 25, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@glethuillier
Copy link
Contributor

The current implementation does not have any unit test:

"test": "echo \"Error: no test specified\" && exit 1"

New unit tests could notably ensure that:

  • The address type (legacy, SegWit, etc.) is associated with the correct derivation
  • Check that the balance associated with a "frozen" xpub is the expected one
  • Exceptions are well handled
  • The address matching mechanism (perfect and partial match) is working as expected
  • The --import feature (automatic validation of imported CSV files) correctly identifies optimal (i.e. no discrepancy) and erroneous (missing transactions, incorrect amount, etc.) CSV files
@glethuillier glethuillier added the help wanted Extra attention is needed label Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant