Skip to main content

Stub tools for use in unit testing

Project description

Reahl is a web application framework that allows a Python programmer to work in terms of useful abstractions - using a single programming language.

Stubble (a part of the Reahl development tools) is a collection of tools for writing stubs in unit tests. Stubble can be used independently of the Reahl web framework.

Using stubs allows one to decouple one unit test from real code unrelated to it - you write a fake class to take the place of a real one (which this test is not testing).

Stubble ensures, however, that the test will break should the interface of the stub differ from that of the real class it is a stub for.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for reahl-stubble, version 5.1.1
Filename, size File type Python version Upload date Hashes
Filename, size reahl_stubble-5.1.1-py3-none-any.whl (26.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size reahl-stubble-5.1.1.tar.gz (18.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page