+ 2

Can you do TDD with Python

I am writing a program that is going to scrape housing APIs and store the data in a Postgres database used by a website. One of the requirements is that I write tests to make sure that everything is working. Can I do something similar to what would be done in JavaScript using Jest? Also is there a testing package for python?

16th May 2021, 6:28 PM
Pierce Rogg
Pierce Rogg - avatar
2 Antworten
+ 2
Try the pytest module. https://pypi.org/project/pytest/
16th May 2021, 9:55 PM
Simon Sauter
Simon Sauter - avatar
+ 1
Thank you Simon Sauter
16th May 2021, 10:19 PM
Pierce Rogg
Pierce Rogg - avatar