lundi 2 décembre 2019

Can we control test case distribution in Hypothesis Python framework?

Property based framework QuickCheck can be instructed to measure how often a particular test case is generated by using collect and measure utility functions (for example: how often the same person on average places an order, how often empty orders are placed). Is there a possibility to adjust the distribution of test cases generated by a rule based statemachine in Hypothesis framework as in Quickcheck?

Aucun commentaire:

Enregistrer un commentaire