Categories

Stubserver 0.1 released

I’ve released a python stub webserver, described in an earlier blog post, on pypi. The features include support for any method (i.e. PUT, POST, DELETE, GET, RHUBARB …), handles chunked encoding, and supports capturing data passed for later assertions.

Because it’s on pypi, you can install using:-

pip install stubserver

or

easy_install stubserver

The verification model is [...]

Stubbing a REST api in Python

For the last few jobs I’ve had, Service Oriented Architecture has been a strong theme. Having services presenting REST apis that consume and produce XML has been the regular approach. When it comes to testing consumers of those services, I have found Python to be an extremely useful and convenient tool. It’s [...]