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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file reahl-stubble-7.0.3.tar.gz
.
File metadata
- Download URL: reahl-stubble-7.0.3.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53cc49ed3c0fb9acd2fb635916ba8723abd5a238944709bc31ea4d1de9c223ab |
|
MD5 | ed41c2e9c68c3192e1e1d54eaf3fd60c |
|
BLAKE2b-256 | 29f3460eb2bc961d8e71f4ab9a2341706395afc5ae69548f8147e2f2215663cf |
File details
Details for the file reahl_stubble-7.0.3-py3-none-any.whl
.
File metadata
- Download URL: reahl_stubble-7.0.3-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3efaddcea61e1c0c803a81293adfaefd224fad1af511c11b20095e2c591a5bc4 |
|
MD5 | 89250c2550b08ff261b0f7f39c00c5a5 |
|
BLAKE2b-256 | f71427379325651d14b07ccccab6555d832425d806798862f75d32bf33d896be |