choderalab / software-development

A primer on software development best practices for computational chemistry
254 stars 76 forks source link

Which testing framework should we recommend? nose2 or pytest? #74

Open jchodera opened 4 years ago

jchodera commented 4 years ago

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

ctk3b commented 4 years ago

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

ppxasjsm commented 4 years ago

Pytest!

Lnaden commented 4 years ago

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

jchodera commented 4 years ago

sniff how I miss test generators...

Lnaden commented 4 years ago

sniff how I miss test generators...

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

Kershi23 commented 3 years ago

s