
On Tue, Aug 22, 2017 at 7:05 PM, Neil Girdhar <mistersheik@gmail.com> wrote:
Like you, I used nose and then switched to pytest. The reason I proposed this for unittest is because pytest and nose and (I think) most of the other testing frameworks inherit from unittest,
not really -- they extend unittest -- in the sense that their test runners can be used with unittest TestCases -- but they don't depend on unitest. so improving unittest has downstream benefits.
only to those using unittest -- a lot of folks do use pytest or nose primarily as a test runner, so those folks would benefit. I may nevertheless propose this to the pytest people if this doesn't make
it into unittest.
Anyway, I'm just being a curmudgeon -- if folks think it would be useful and not disruptive, then why not? -CHB
On Tue, Aug 22, 2017 at 8:26 PM Chris Barker <chris.barker@noaa.gov> wrote:
On Tue, Aug 22, 2017 at 5:19 PM, Chris Barker <chris.barker@noaa.gov> wrote:
anyway, that's enough ranting.....
Got carried away with the ranting, and didn't flesh out my point.
My point is that unittest is a very static, not very pythonic framework -- if you are productive with it, great, but I don't think it's worth trying to add more pythonic niceties to. Chances are pytest (Or nose2?) may already have them, or, if not, the simpler structure of pytest tests make them easier to write yourself.
-CHB
--
Christopher Barker, Ph.D. Oceanographer
Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
--
--- You received this message because you are subscribed to a topic in the Google Groups "python-ideas" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/python-ideas/cF_4IlJq698/unsubscribe. To unsubscribe from this group and all its topics, send an email to python-ideas+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
--
--- You received this message because you are subscribed to a topic in the Google Groups "python-ideas" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/python-ideas/cF_4IlJq698/unsubscribe. To unsubscribe from this group and all its topics, send an email to python-ideas+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
-- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov