Test-Driven Development with Python: Early Release
Book information
Description
O’Reilly Media, 2013– 54 p. – ISBN: 1449367798, 9781449367794With 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
Similar books
Problem Solving with Algorithms and Data Structures Using Python. Release 3.0
Functional Programming in Python
EPUB
Functional Programming in Python
MOBI
Mastering Python for Data Science
Написание скриптов для Blender 2.49
Learning Data Mining with Python: Harness the power of Python to analyze data and create insightful predictive models
Python и анализ данных (+ исходные коды и дополнительные материалы с сайта поддержки)
RAR