[Numpy-discussion] pytest, fixture and parametrize (original) (raw)

Charles R Harris charlesr.harris at gmail.com
Wed Aug 8 11:23:45 EDT 2018


Hi All,

I'm writing some tests and would like to come to a common understanding as to whether we are should use pytest fixtures and parametrized classes and functions. The immediate problem is testing over all types that should be supported, which something we should to much more of and is most easily achieved using one of those pytest tools. The advantage is code clarity and more informative error messages, the disadvantage is being dependent on pytest as unittest does not support that functionality.

Thoughts?

Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180808/54047800/attachment.html>



More information about the NumPy-Discussion mailing list