atara
05/19/2020, 8:08 AMcheckAll
function. I would really like to add a change to call beforeTest
and afterTest
(or some other equivalent functions) between each iteration of the property base tests.
Looking at the code I was trying to find a central place of where to add such call. I found this function proptest
but there are many of them and I don’t have access to the Spec from there. The Spec holds the before and after functions. I wonder if someone more familiar with the code can guid me here. Thank yousam
05/19/2020, 8:20 AMatara
05/19/2020, 2:15 PMsam
05/19/2020, 2:17 PMobject PropTestPropertyConfig
object. Two methods in there, beforeCheck
and afterCheck
which accept a lambda each. Add those lambdas to a list.
Inside checkAll and forAll they should call PropTestPropertyConfig.before to get the list, and execute them.atara
05/19/2020, 2:17 PM