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.3.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

reahl_stubble-7.0.3-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

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

Hashes for reahl-stubble-7.0.3.tar.gz
Algorithm Hash digest
SHA256 53cc49ed3c0fb9acd2fb635916ba8723abd5a238944709bc31ea4d1de9c223ab
MD5 ed41c2e9c68c3192e1e1d54eaf3fd60c
BLAKE2b-256 29f3460eb2bc961d8e71f4ab9a2341706395afc5ae69548f8147e2f2215663cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reahl_stubble-7.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3efaddcea61e1c0c803a81293adfaefd224fad1af511c11b20095e2c591a5bc4
MD5 89250c2550b08ff261b0f7f39c00c5a5
BLAKE2b-256 f71427379325651d14b07ccccab6555d832425d806798862f75d32bf33d896be

See more details on using hashes here.

Supported by

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