Hi all,
A website I discovered yesterday is rather handy for testing (and
especially for teaching testing and code review).
exercism.io
It provides a tool to fetch and submit examples of problems that
students must solve.
The process is this :
1) You use the CLI to fetch an exercise (they have ~60 exercises in
python, and have ~30 languages supported).
2) The exercise comes with a README.md, and with a test suite.
3) You write the code, and validate that it passes the tests
4) You use the CLI to submit your solution. It is then publicly
available on their website, and opened for comment. Based on the
comments, you can iterate on your solution.
It is very hands on, and I think it can be used to teach code testing
(as there are many examples of tests) as well as code review (because of
the online review process). Since it is live once you submit your
solution, the whole class could participate in the review process.
Maxime
Le 2016-02-10 17:07, Steven Haddock a écrit :
Hi all…
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.
https://nose.readthedocs.org/en/latest/
A priority would be minimal boilerplate required…
Thanks,
Steve
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org
--
---------------------------------
Maxime Boissonneault
Analyste de calcul - Calcul Québec, Université Laval
Président - Comité de coordination du soutien à la recherche de Calcul Québec
Team lead - Research Support National Team, Compute Canada
Instructeur Software Carpentry
Ph. D. en physique
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org