<p>By taking you through the development of a real web application from beginning to end, the second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests <i>before</i> building each part of your app
Test-Driven Development with Python: Early Release
β Scribed by Percival H.
- Tongue
- English
- Leaves
- 54
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
OβReilly Media, 2013β 54 p. β ISBN: 1449367798, 9781449367794
With Early Release ebooks, you get books in their earliest form β the author's raw and unedited content as he or she writes β so you can take advantage of these technologies long before the official release of these titlesYou'll also receive updates when significant changes are made, new chapters as they're written, and the final ebook bundleThis version of the early release has 4/27 chs and an appendix."Test-Driven Development with Python" focuses on web development, with some coverage of JavaScript (inescapable for any web programmer).
This book uses a concrete example - the development of a web site, from scratch - to teach the TDD metholology, and how it applies to web programming, from the basics of database integration and javascript, going via browser-automation tools like Selenium, to advanced (and trendy) topics like NoSQL, websockets and Async programming.Contents:
Preface.
Getting Django set up using a Functional Test.
Obey the Testing Goat: Do nothing until you have a test
Getting Django up and running
Starting a Git repository
Extending our FT using the unittest module.
Using the FT to scope out a minimum viable app
The Python standard libraryβs unittest module
Testing a simple home page with unit tests.
Our first Django app, and our first unit test
Unit tests, and how they differ from Functional tests
Unit testing in Django
Djangoβs MVC, URLs and view functions
At last! We actually write some application code!
urls.py
Unit testing a view
What are we doing with all these tests?.
A momentβs reflection - what are we up to?
Using Selenium to test user interactions
The Donβt test constants rule, and templates to the rescue
On refactoring
A little more of our front pageA Python Anywhere.
Bibliography
β¦ Subjects
ΠΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠ°;ΠΠΎΠΌΠΏΡΡΡΠ΅ΡΠ½Π°Ρ Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΠ°;Python
π SIMILAR VOLUMES
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 re
<div><p>By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. Youβll learn how to write and run tests before building each part of your app, and then develop the m
By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. Youβll learn how to write and run tests before building each part of your app, and then develop the minimum a
This book starts with a look at the test-driven development process, and how it is different from the traditional way of writing code. All the concepts are presented in the context of a real application that is developed in a step-by-step manner over the course of the book. While exploring the commo
This book starts with a look at the test-driven development process, and how it is different from the traditional way of writing code. All the concepts are presented in the context of a real application that is developed in a step-by-step manner over the course of the book. While exploring the commo