2 ms·
I am trying to choose a book to read to learn testing my _Flask_ web application. Should I go with "Python Testing with Pytest" by Brian Okken or the book menti
by ZuLuuuuuu 8y ago
I am trying to choose a book to read to learn testing my _Flask_ web application. Should I go with "Python Testing with Pytest" by Brian Okken or the book mentioned in this thread?
"Test-Driven Web Development with Python" book says it uses Django and I don't know Django. So I am hesitating to read this book even though I want to learn TDD for my web app.
PS: I don't have much TDD experience.
- matthiaswh 8y agoTest Driven Web Development with Python teaches you Django while also teaching you TDD. As long as you're comfortable with Python it should pose no problem for you. Many of the principles will be the same with Flask as they are with Django. It might even be a great learning experience if you take each chapter and build out the equivalent application in Flask as well as Django. It's a very good book and easy to consume, and also available for free online. However, I have not read Python Testing with PyTest so I cannot compare them or answer which is better for you.
- senthil_rajasek 8y agoI had a similar question. Django is not python.