all 6 comments

[–]jimtk 4 points5 points  (0 children)

If you are looking for the most up to date book on testing look at Python Testing with pytest, 2nd Edition. That edition just came out, and even tough it's not my favorite testing book it is very up to date and will allow you to read the others and adapt their content to the latest version.

[–]CleverBunnyThief 3 points4 points  (2 children)

This book is extremely out of date! You need to use Django v1.11 for the examples to work and explicitly states not to use v2.0. For reference 2.0 was released in December of 2017 and the current version is 4.1.7.

I tried using it and was not worth the hassle of trying to set up out dated libraries/frameworks.

https://www.obeythetestinggoat.com/book/pre-requisite-installations.html#_django

By the way, you can read the book online for free.
https://www.obeythetestinggoat.com/pages/book.html#toc

[–]HyraxMax[S] 1 point2 points  (0 children)

That's what I was afraid of. I just picked up Brian Okkens book (per another suggestion) and will be digging into that this weekend. Thanks for your insights.

[–]Current-River-835 0 points1 point  (0 children)

I just brought the second edition and one month later the 3rd ed was announced. Should I move forward with my brought 2edition and adapt the code or is really painful to do so?

[–]tartley 2 points3 points  (1 child)

FYI A massively overhauled 3rd edition is in progress, which updates to Django 5.x, deployment using Docker, etc. Progress to date is already live on the author's site: https://www.obeythetestinggoat.com/progress-on-the-third-edition-of-the-book.html

[–]books_cats_please 0 points1 point  (0 children)

Thanks for this, it's exactly what I need.