plutus
plutus copied to clipboard
[Epic] Tests improvements
This issue is for dumping all the plans regarding tests improvements in a largely unstructured way.
- [x]
discardIfAnyConstant (not . isSerialisable) $ Generators.genProgram @DefaultFunpotentially wastes a lot of time discarding generated programs.discardIfAnyConstantis used in quite a few places - [ ]
Evaluation.Builtins.Definitionshould demand that each built-in function is unit-tested - [ ] remove
ignoreTestfrom Plutus IR tests by fixing the tests - [ ] increase the number of test runs in Plutus IR from no to some (i.e. fix
withMaxSuccess 0) for failing shrinking tests by figuring out why they are taking too long and fixing that - [ ] can we somehow ban running 100 tests altogether? So that the number of tests to run is always explicitly specified