Chapter 12
The Future of Testing Python
THIS FINAL CHAPTER of the book looks at what’s next in terms of testing. As you have probably realized, many solutions are available for all kinds of testing problems. The testing scene in Python has advanced over the years and acted upon many of the developments that have happened in other languages. The Lettuce testing framework is a prime example of the Python community providing support for a great advancement in testing techniques, following the example set by Cucumber in the Ruby community. As you look beyond what is currently available or covered in this book, you will find numerous stories and articles about new ways of testing or handling code deployment. Most of the discussions seem to center around pushing the boundaries of what are currently considered the standard approaches. With advancement in computing power and the availability of the cloud becoming easier and easier, the types of testing, automation, and deployments that teams are able to build are becoming ever more complex. This chapter looks at what some of those advancements bring and how companies are implementing changes that are ultimately and massively beneficial to the products and services they deliver.
Stub the Solution
One of the more interesting testing techniques that has arisen recently is the capability to record and replay HTTP requests and sessions. Stub Servers, which are basically servers returning a static response based on some request input, have ...
Get Testing Python: Applying Unit Testing, TDD, BDD and Acceptance Testing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.