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 -- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Discuss mailing list [email protected] http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
