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.

Source Distribution

reahl_stubble-7.0.4.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reahl_stubble-7.0.4-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file reahl_stubble-7.0.4.tar.gz.

File metadata

  • Download URL: reahl_stubble-7.0.4.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for reahl_stubble-7.0.4.tar.gz
Algorithm Hash digest
SHA256 f0b7bbf7f976c7a62babb49aae3d10e54ab5cabd6661dd5c8b27670bb704701c
MD5 e43a4e8d7a8eb143824968a837ee88dd
BLAKE2b-256 8d450c7814d611e85253c395bd3b9b0a4ea8a43fb5a29134e7b30dd597817eb6

See more details on using hashes here.

File details

Details for the file reahl_stubble-7.0.4-py3-none-any.whl.

File metadata

  • Download URL: reahl_stubble-7.0.4-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for reahl_stubble-7.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7a1afb38f537b768c6a41c2e321600cb0b7fa9864c3b2d309fd5080146a1e85
MD5 843cf0fc1b04548b48fd4c2bbc9c375c
BLAKE2b-256 f2d964521b1e924c9c28fb13ce2250a6a0cacc531a2a7b4139184286a0b11a87

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page