Test-Driven Development with Python, 3rd Edition (Fourth Early Release)КНИГИ » ПРОГРАММИНГ
Название: Test-Driven Development with Python: Obey the Testing Goat: Using Django, Selenium, and javascript, 3rd Edition (Fourth Early Release) Автор: Harry J.W. Percival Издательство: O’Reilly Media, Inc. Год: 2024-05-16 Страниц: 198 Язык: английский Формат: epub Размер: 10.1 MB
The third edition of this trusted guide demonstrates the practical advantages of test-driven development (TDD) with Python and describes how to develop a real web application. You'll learn how to write and run tests before building each part of your app and then develop the minimum amount of code required to pass those tests. The result? Clean code that works.
In the process, author Harry Percival teaches software and web developers the basics of Django, Selenium, Git, javascript, and Mock libraries, along with current web development techniques. This book—updated for Python 3.11 and Django 4—clearly demonstrates how TDD encourages simple designs and inspires confidence.
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 Mocks. 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.
Fully updated, this third edition addresses:
The TDD workflow, including the unit test/code cycle and refactoring Unit tests for classes and functions and functional tests for user interactions within the browser Mock objects and the pros and cons of isolated versus integrated tests Testing and automation of deployments with a staging server Tests applied to the third-party plug-ins you integrate into your site Automatic tests using a continuous integration environment Using TDD to build a REST API with a javascript frontend interface
Скачать Test-Driven Development with Python, 3rd Edition (Fourth Early Release)
Test-Driven Development for JAVA Developers Название: Test-Driven Development for JAVA Developers Автор: Joseph Thachil George Издательство: Leanpub Год: 2021-04-04 Страниц: 209 Язык:...
Test-Driven Development with Python, 2nd Edition Название: Test-Driven Development with Python: Obey the Testing Goat: Using Django, Selenium, and javascript, 2nd Edition Автор: Harry J. W....
Test-Driven Development with Python Название: Test-Driven Development with Python Автор: Harry J. W. Percival Издательство: O'Reilly Media Год: 2014 Формат: MOB? Размер: 15 Мб Язык:...
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.