The FizzBuzz kata, written and test-driven in Python. I learned Python independently as a week-end project.
I was inspired to learn how to write tests using pytest for Python after I came across this article from the Code Like a Girl blog.
Ensure that you have pytest installed:
$ pip install pytest
Then, clone this repo:
$ git clone https://github.com/nikimanoledaki/fizzbuzz_python.git
Then run the test for this project by running pytest
.
$ pytest