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
Price$19.20 - $58.19
Rating
AuthorHarry Percival
PublisherO'Reilly Media
Published2017
Pages614
LanguageEnglish
FormatPaper book / ebook (PDF)
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 267

Similar Books


Test-Driven Infrastructure with Chef, 2nd Edition

Test-Driven Infrastructure with Chef, 2nd Edition

by Stephen Nelson-Smith

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 ...

Price:  $19.42  |  Publisher:  O'Reilly Media  |  Release:  2013

Test-Driven Development with Python

Test-Driven Development with Python

by Harry J.W. Percival

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...

Price:  $9.85  |  Publisher:  O'Reilly Media  |  Release:  2014

AngularJS Test-driven Development

AngularJS Test-driven Development

by Tim Chaplin

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...

Price:  $17.99  |  Publisher:  Packt Publishing  |  Release:  2015

Learning Geospatial Analysis with Python, 2nd Edition

Learning Geospatial Analysis with Python, 2nd Edition

by Joel Lawhead

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...

Price:  $34.63  |  Publisher:  Packt Publishing  |  Release:  2015

Learn Raspberry Pi Programming with Python, 2nd Edition

Learn Raspberry Pi Programming with Python, 2nd Edition

by Wolfram Donat

Learn how to program your nifty new $35 computer to make a web spider, a weather station, a media server, and more. This book explores how to make a variety of fun and even useful projects, from a web bot to search and download files to a toy to drive your pets insane.Even if you're completely new to programming in general, you'll see how...

Price:  $22.93  |  Publisher:  Apress  |  Release:  2018

Python Testing Cookbook, 2nd Edition

Python Testing Cookbook, 2nd Edition

by Greg L. Turnquist, Bhaskar N. Das

Automated testing is the best way to increase efficiency while reducing the defects of software testing. It helps find bugs in code easily and at an early stage so that they can be tackled efficiently. This book delves into essential testing concepts used in Python to help you build robust and maintainable code.Python Testing Cookbook beg...

Price:  $35.99  |  Publisher:  Packt Publishing  |  Release:  2018

Test-Driven JavaScript Development

Test-Driven JavaScript Development

by Ravi Kumar Gupta, Hetal Prajapati, Harmeet Singh

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...

Price:  $31.99  |  Publisher:  Packt Publishing  |  Release:  2015

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

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

by Andy Hunt, Dave Thomas, Matt Hargett

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...

Price:  $5.99  |  Publisher:  The Pragmatic Programmers  |  Release:  2007