|New from||Used from|
Frequently bought together
Customers who viewed this item also viewed
- ISBN-10 : 1491958707
- ISBN-13 : 978-1491958704
- Paperback : 604 pages
- Language: : English
- Customer reviews:
About the Author
From the Preface
Aims of This Book
My main aim is to impart a methodology—a way of doing web development, which I think makes for better web apps and happier developers. There’s not much point in a book that just covers material you could find by Googling, so this book isn’t a guide to Python syntax, or a tutorial on web development per se. Instead, I hope to teach you how to use TDD to get more reliably to our shared, holy goal: clean code that works.
With that said: I will constantly refer to a real practical example, by building a web app from scratch using tools like Django, Selenium, jQuery, and Mock. I’m not assuming any prior knowledge of any of these, so you should come out of the other end of this book with a decent introduction to those tools, as well as the discipline of TDD.
In Extreme Programming we always pair-program, so I’ve imagined writing this book as if I was pairing with my previous self, having to explain how the tools work and answer questions about why we code in this particular way. So, if I ever take a bit of a patronising tone, it’s because I’m not all that smart, and I have to be very patient with myself. And if I ever sound defensive, it’s because I’m the kind of annoying person that systematically disagrees with whatever anyone else says, so sometimes it takes a lot of justifying to convince myself of anything.
I’ve split this book into three parts.
Part I (Chapters 1–7): The basics. Dives straight into building a simple web app using TDD. We start by writing a functional test (with Selenium), and then we go through the basics of Django—models, views, templates—with rigorous unit testing at every stage. I also introduce the Testing Goat.
Part III (Chapters 18–26): More advanced testing topics. Mocking, integrating a third-party system, test fixtures, Outside-In TDD, and Continuous Integration (CI).
Customers who bought this item also bought
No customer reviews
|5 star (0%)||0%|
|4 star (0%)||0%|
|3 star (0%)||0%|
|2 star (0%)||0%|
|1 star (0%)||0%|
Review this product
Most helpful customer reviews on Amazon.com
Well worth the price, and up to date being released August 2017. Very few up to date books about django anymore, which is sad for those like me that are very late to the party (apparently), though i did manage to find one or two that cover 1.11.
Buy this book, and learn TDD, it will solve problems you've experienced while writing code that you didn't know could be solved.
Other books I've purchased have been already out of date by the time I got them- my own fault I suppose for not doing the research ahead of time; the target technologies are moving forward rapidly. The author of this book teaches how to use a virtual environment so that one can set up the environment with the correct release of each module needed- an approach I've not seen in other texts.
The Selenium treatment is q meager two pages. You learn more searching online for the errors you encounter than this book provides in two pages.
You'll learn how to do TDD the right way, Django and have enough tools for automated project deployment.
It will change your way of building future projects: Obey The Testing Goat!