nodev-io / pytest-nodev

Test-driven source code search for Python.
http://pytest-nodev.readthedocs.io
MIT License
27 stars 8 forks source link

permutation of args for functions with arity > 1 #7

Closed kr1 closed 8 years ago

kr1 commented 8 years ago

I am not entirely sure on the interface (especially the custom assertion for results across invocations).
However I think the addition of permutated invocations makes pytest-wish more powerful.

Please let me know if you have comments or advice for improvements.

alexamici commented 8 years ago

@kr1 it is a pleasure to receive the first PR from you!

Argument permutation is an obvious enhancement request for the plugin, but right now I want to concentrate on a minimal set of feature and get the first beta release out. Furthermore, one of the "untold" design goals of the plugin is to use test functions as close as possible to the one developers write anyway, so I would turn to things like permutated_assert only after having tried everything to avoid it :).

So I plan to add soon a Design Goals section to the README and I added an enhancement request #8 for permutation in the args of the wish.