Test-Driven Development with Python, 2nd Edition

Obey the Testing Goat: Using Django, Selenium, and JavaScript



Bookstore > Books > Test-Driven Development with Python, 2nd Edition

Test-Driven Development with Python, 2nd Edition
Buy
Preview
Price$48.75 - $58.19
Rating
AuthorHarry Percival
PublisherO'Reilly Media
Published2017
Pages614
LanguageEnglish
FormatPaper book / ebook
ISBN-101491958707
ISBN-139781491958704
EBook Hardcover Paperback

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 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, you'll learn the basics of Django, Selenium, Git, jQuery, and Mock, along with current web development techniques. If you're ready to take your Python skills to the next level, this book - updated for Python 3.6 - clearly demonstrates how TDD encourages simple designs and inspires confidence.

Dive into the TDD workflow, including the unit test/code cycle and refactoring; Use unit tests for classes and functions, and functional tests for user interactions within the browser; Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tests; Test and automate your deployments with a staging server; Apply tests to the third-party plugins you integrate into your site; Run tests automatically by using a Continuous Integration environment; Use TDD to build a REST API with a front-end Ajax interface.




4 5 226

Similar Books


Test-Driven Infrastructure with Chef, 2nd Edition

Test-Driven Infrastructure with Chef, 2nd Edition

Since Test-Driven Infrastructure with Chef first appeared in mid-2011, infrastructure testing has begun to flourish in the web ops world. In this revised and expanded edition, author Stephen Nelson-Smith brings you up to date on this rapidly evolving discipline, including the philosophy driving it and a growing array of tools. You'll get ...
Test-Driven Development with Python

Test-Driven Development with Python

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 amount of code required to pass those tes...
AngularJS Test-driven Development

AngularJS Test-driven Development

Starting with reviewing the test-driven development (TDD) life cycle, you will learn how Karma and Protractor make your life easier while running JavaScript unit tests. You will learn how Protractor is different from Selenium and how to test it entirely. This book is a walk-through to using TDD to build an AngularJS application containing...
Learning Geospatial Analysis with Python, 2nd Edition

Learning Geospatial Analysis with Python, 2nd Edition

Geospatial Analysis is used in almost every field you can think of from medicine, to defense, to farming. This book will guide you gently into this exciting and complex field. It walks you through the building blocks of geospatial analysis and how to apply them to influence decision making using the latest Python software.Learning Geospat...
Test-Driven JavaScript Development

Test-Driven JavaScript Development

Initially, all processing used to happen on the server-side and simple output was the response to web browsers. Nowadays, there are so many JavaScript frameworks and libraries created that help readers to create charts, animations, simulations, and so on. By the time a project finishes or reaches a stable state, so much JavaScript code ha...
Pragmatic Unit Testing in C# with NUnit, 2nd Edition

Pragmatic Unit Testing in C# with NUnit, 2nd Edition

Pragmatic programmers use feedback to drive their development and personal processes. The most valuable feedback you can get while coding comes from unit testing. Now in it's second edition, Pragmatic Unit Testing in C# with NUnit, 2nd Ed. will show you how to do software unit testing, of course, but more importantly will show you what to...