Skip to main content

TestFlows.com Open-Source Software Testing Framework Stash

The `testflows.stash` module is still work in progress and is currently under development. Please use it only for reference.

Why

Allows to stash values or files that are generated during test program execution that could be reused on the next test program run.

Usage

Use stashed context manager to stash a value. If the value identified by name is found inside the stash then the code within the with block is not executed.

from testflows.stash import stashed

def generate_value():
    return "my generated value"

with stashed("value") as stash:
   stash(generate_value())

print(stash.value())

Metadata

Release files for testflows.stash 1.1.210901.1224529

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for testflows.stash 1.1.210901.1224529
File Size Uploaded
testflows.stash-1.1.210901.1224529.tar.gz 28.4 kB Details

Release files / testflows.stash-1.1.210901.1224529.tar.gz

Download URL testflows.stash-1.1.210901.1224529.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
588088c2f8bbdd122f4de2823038681fc604088f5488d7d0a67995eacc8606d0
BLAKE2b-256 checksum
How to use checksums
6eda5025b657c8b054d2e3b0b2553011b703db7c413d18e2108f18426de5b14d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page