=========================================== :mod:`stub` - a monkey-patcher on steroids =========================================== *A method stub or simply stub in software development is a piece of code used to stand in for some other programming functionality. A stub may simulate the behavior of existing code (such as a procedure on a remote machine) or be a temporary substitute for yet-to-be-developed code. Stubs are therefore most useful in porting, distributed computing as well as general software development and testing.* -- Wikipedia [#]_ The :mod:`stub` library allows you to temporarily replace the behaviour of callables and the value of attributes on objects. Table of contents ################## .. toctree:: getting_started stubmodule stubvsmock tests_and_coverage ------------------------------------------------------------------------------- .. [#] http://en.wikipedia.org/wiki/Method_stub