Testing for the Web: WSGI versus HTTP

In the previous chapter, we saw how to test documentation and implement more advanced testing techniques in our test suites, such as property-based testing.

One of the primary use cases for Python has become web development. Python has many very effective and powerful web development frameworks. The most famous one is surely the Django web framework, but many more of them exist, including the Flask framework, the Pyramid framework, TurboGears2, and more. Each web framework has its own peculiarities and unique features that make it easy to build most of the different kinds of web applications using Python itself, but all of them share the same need of having to verify that the applications you built work ...

Get Crafting Test-Driven Software with Python 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.