Life is about facing new challenges - Kostya Tszyu
Hi Pythonistas, let's add some more challenges for October. Following our Python testing with pytest book review we let you write some tests with this awesome framework.
Here are some options:
Add tests for one of your repos that lacks tests. You can use BetterCodeHub to see how badly a project needs tests.
As mentioned in Talk Python #132: Contributing to open source, testing and documentation are great ways to contribute to open source. So like option 1. you could add tests to an open source project you like. Not only does this improve your understanding of the code, you also get to give something back, learning pytest as you go. Besides, as stated in challenge #38: this month any PR also counts towards Hacktoberfest.
Any tests will do, the purpose of this challenge is to get your feet wet with pytest. However you probably get the most out of this challenge if you play a bit with fixtures and other features/use cases.
Our goal is to learn and teach you Python through practical exercises. Learning a programming language is way more fun as a community!
Keep Calm and Code in Python!