software-development icon indicating copy to clipboard operation
software-development copied to clipboard

Which testing framework should we recommend? nose2 or pytest?

Open jchodera opened this issue 5 years ago • 6 comments
trafficstars

The MolSSI cookiecutter seems to recommend pytest. Should we recommend that over nose2?

jchodera avatar Nov 26 '19 04:11 jchodera

AFAICT pytest adoption has outpaced nose2 and it has a more active community.

On the more anecdotal side, everyone I've bumped into over the last few years that researched this decision has landed on pytest

ctk3b avatar Dec 02 '19 23:12 ctk3b

Pytest!

ppxasjsm avatar Dec 03 '19 00:12 ppxasjsm

PyTest (Biased as the one of the cookiecutter devs), for the reasons @ctk3b said, and because fixtures for life

Lnaden avatar Dec 03 '19 23:12 Lnaden

sniff how I miss test generators...

jchodera avatar Dec 04 '19 03:12 jchodera

sniff how I miss test generators...

That sounds like a PyTest parameterization though. Slap that with a fixture and you're golden

Lnaden avatar Dec 04 '19 13:12 Lnaden

s

Kershi23 avatar Nov 25 '20 08:11 Kershi23