-
Notifications
You must be signed in to change notification settings - Fork 100
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
Refactor Tests #284
Comments
I've made the same experience in other testsuites (mostly
Aren't failures being signaled with the exit code? I.e. a failing test should cause To elide the output for the successful testcases, you can use
The test output is still fairly long since we have 6 separate testsuites! I think we should try merging these into a single one. Regarding the choice of test framework, I'm mostly familiar with |
I use
Yes, this sounds like a good idea. You can still keep the different test suits in separate files and create a master test suite that imports and combines them all. |
This should improve dev ergonomics and speed up building and running the tests. Context: #284
This should improve dev ergonomics and speed up building and running the tests. Context: #284
Test ergonomics should be better now after merging #316 and #351.
We can try to avoid this in the future by eschewing top-level declarations of individual properties, similar to what We'll have to figure out how to best guide type inference then. |
…by inlining the test definitions directly into the test trees. Context: #284.
#453 has introduced this style for the HashMap and HashSet property tests. This ticket should be mostly fixed now. If there's more to do, please open a new issue! :) |
Dear contributors,
Thanks for putting all this work into this library!
In my opinion, the experience of writing tests and reading test reports is a bit unsatisfying:
HashMapProperties.hs
).stack test
).Would you consider using a more modern testing framework, such as HSpec, with a friendlier test report? I understand that this might be problematic with backwards compatibility with older GHC versions. If this is not an option, at least consider inlining the test properties so they appear directly below their test name. Let me know what you think.
Regards,
Sven
The text was updated successfully, but these errors were encountered: