Hi,

QuickCheck is a property-based testing framework originating in  
Haskell. Its 3 key concepts are:

1. Tests are expressed as properties: invariants which should be  
satisfied for any appropriate test data.

2. The test data are randomly generated and fed to the property.

3. (this is the really interesting stroke of genius) When some data  
are found for which the test fails, QuickCheck attempts to simplify  
the data to obtain the minimal example that still fails.


My questions are:

1. Are you aware of any work being done on integrating the QuickCheck  
idea with pytest?

2. QuickCheck generates new test invocations in response to failing  
tests; Pytest collects tests *before* they are run. Would these two  
seemingly conflicting features prose problems in trying to implement a  
QuickCheck plugin for pytest?

3. Would you have any general advice on how one might approach  
providing a QuickCheck clone on top of pytest?


Thanks.

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to