Skip to main content

abstract_test_package

This is a Python package that facilitates testing with abstract scenarios. Utilizing PyTest, it offers extra utilities to streamline the creation and execution of abstract tests.

You can locate this package in the abstract_essentials project at github.io/abstract_endeavors/abstract_essentials/abstract_test_package/.

Installation

You can install the abstract_test_package module via pip:

pip install abstract_test_package

Or directly from the source:

git clone https://github.io/abstract_endeavors/abstract_essentials/abstract_test_package/
cd abstract_test_package
python setup.py install

Usage

Below is a usage example of the abstract_test_package:

from abstract_test_package import create_test, execute_test

test = create_test(name="Test 1", scenario=[...])
execute_test(test)

This example creates an abstract test and then executes it.

Documentation

The abstract_test_package module provides the following classes and functions:

create_test(name: str = 'Test', scenario: list = [...])

Generates an abstract test scenario with the provided name and details.

execute_test(test: any)

Executes the given abstract test scenario.

validate_test(test: any) -> bool

Verifies if the given object is a valid test scenario.

calculate_test_results(test: any) -> dict

Calculates the results of a given abstract test scenario.

compare_test_results(test1: any, test2: any) -> bool

Compares two test scenarios and returns True if their results are equivalent, False otherwise.

... and many more!

Please refer to the source code for the complete list of classes and functions provided by the module, as well as their detailed documentation.

Contributing

Contributions are welcome! Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.

Contact

If you have any questions, feel free to reach out to us at partners@abstractendeavors.com.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Authors

  • putkoff - main developer

This README file was last updated on May 29, 2023.

Metadata

Release files for abstract-test-package 0.0.54

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

Source distribution (sdist)

Source distribution for abstract-test-package 0.0.54
File Size Uploaded Provenance Actions
abstract_test_package-0.0.54.tar.gz 3.6 kB Without provenance Details for abstract_test_package-0.0.54.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for abstract-test-package 0.0.54
File Interpreter ABI Platform Actions
abstract_test_package-0.0.54-py3-none-any.whl Python 3 none any Details for abstract_test_package-0.0.54-py3-none-any.whl

Total release size: 7.8 kB

Release files / abstract_test_package-0.0.54.tar.gz

Download URL abstract_test_package-0.0.54.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3bbb3ceb6d9a9658dd24def2b3d710bf1456f0fb0ada66f7b63b4a7e6fb87d56
BLAKE2b-256 checksum
How to use checksums
77653f6a3b327cbf415668119b61208f775b7413a8303a6f5201b0a3552e1c37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / abstract_test_package-0.0.54-py3-none-any.whl

Download URL abstract_test_package-0.0.54-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98176e2a06d59a405c4f3370855c8b539641adc57a09be47244666ffed227320
BLAKE2b-256 checksum
How to use checksums
2ea653c6d109ab0ecab0e82921a8b48798e0406ec6db6c4d6db76540e8961502
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for abstract-test-package 0.0.54

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.54 This release

2 release files No provenance

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