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

Better unit tests #66

Open
rklaehn opened this issue Mar 24, 2021 · 0 comments
Open

Better unit tests #66

rklaehn opened this issue Mar 24, 2021 · 0 comments

Comments

@rklaehn
Copy link
Contributor

rklaehn commented Mar 24, 2021

The current unit tests implicitly rely on the tree structure. E.g. the retain2 unit test, copied from a failed property based test, will only fail if you have a certain tree structure. But as soon as you would change the debug_fast options, you would no longer get the right tree structure for the test to be meaningful.

What should be done instead is to have a way to explicitly create a certain tree structure, or load the test trees from blocks. That way the tests would be more stable.

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