I have heard much good about Hypothesis (https://hypothesis.readthedocs.org/en/latest/).

https://www.reddit.com/r/programming/comments/2zw41r/hypothesis_is_an_advanced_quickcheck_style/

Maxime

Le 2016-02-10 18:24, W. Trevor King a écrit :
On Wed, Feb 10, 2016 at 02:07:20PM -0800, Steven Haddock wrote:
I think this has been discussed before (maybe even raised by me?),
but what is the current favorite test library for python, since that
nose and nose2 are not being maintained.
…
A priority would be minimal boilerplate required…
Python's builtin unittest supports automatic test discovery since v3.2
[1], and subtests (new in v3.4 [2]) address my most common boilerplate
concerns from Python 2.  I don't find defining TestCase subclasses to
be that big a drag ;).

Cheers,
Trevor

[1]: https://docs.python.org/3/library/unittest.html#unittest-test-discovery
[2]: 
https://docs.python.org/3/library/unittest.html#distinguishing-test-iterations-using-subtests



_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org


--
---------------------------------
Maxime Boissonneault
Analyste de calcul - Calcul Québec, Université Laval
Président - Comité de coordination du soutien à la recherche de Calcul Québec
Team lead - Research Support National Team, Compute Canada
Instructeur Software Carpentry
Ph. D. en physique

_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org

Reply via email to