Open utterances-bot opened 3 years ago
Hi! Apart form links posted by me on github I really like how TDD for scientists is explained here https://dylancromer.com/programming/
More resources for people who will be reading this in the future: Really interesting podcast about Python & testing code, two episodes with Martin Héroux about testing and TDD in Science a might be especially interesting for readers of this blog, https://testandcode.com/144 Bonus: another blog post about TDD for scientist https://www.tjelvarolsson.com/blog/test-driven-develpment-for-scientists/
Tobias Raabe's Blog – How I write tests
Hi everybody, I assume that all of you write tests for Python programs with pytest. If you do not use pytest or if you do not even write tests, you should check out the following links which are useful and provide some examples and an overview of pytest's capabilities. Effective Python Testing With Pytest - Real Python Customizing your pytest suite (Part 1) - Raphael Pierzina Customizing your pytest suite (Part 2) - Raphael Pierzina Maybe you should also have heard about test driven development (TDD), but I have little experience with it myself. If you have a great resource for beginners, send it my way and I can include it here. What I did not find in these guides is a combination of patterns I use fairly often
https://tobiasraabe.github.io/blog/how-i-write-tests.html