-
Should generate arbitrary input data, encode, then decode, and see that they match.
Mainly to see nothing crashes.
-
I believe it would be beneficial to add property-based tests to some of the exercises. This would ensure that students provide correct answers even for unusual edge cases. Have you considered this app…
-
## Problem
Our current tests on ICS are mostly manually written, which
necessarily means they can only cover scenarios that a human
has come up with.
We want a form of randomized tests that …
-
The tests for [`get_fluxsite_comparisons()`](https://github.com/CABLE-LSM/benchcab/blob/e160bba8324042821d196efb759b534f611327f4/benchcab/fluxsite.py#L390-L425), and [`get_fluxsite_tasks()`](https://g…
-
Implement something like https://blog.nelhage.com/post/property-testing-like-afl/
cc @mruberry @VitalyFedyunin @walterddr
-
Traditional example-based testing falls short in covering the wide array of input combinations and edge cases:
* each test executes once, with concrete input values. That is, unit test functions ar…
-
A simple property-based testing framework, with generators provided for primitive types and collections and the ability to define generators for your own custom types.
Advanced features like shrink…
-
https://github.com/HypothesisWorks/hypothesis-python
-
Property based tests are tests that assert certain properties are always satisfied by your code. Instead of just testing that your code works on one input, they provide a range of inputs, making sure …
-
Generate tests based on value types and hints: most famous examples: QuickCheck(Haskell) and Hypothesis(Python)