Skip to main content

abstract_test_package 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.

Project description

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.

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

abstract_test_package-0.0.53.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

abstract_test_package-0.0.53-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file abstract_test_package-0.0.53.tar.gz.

File metadata

  • Download URL: abstract_test_package-0.0.53.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for abstract_test_package-0.0.53.tar.gz
Algorithm Hash digest
SHA256 b24a5953f950d47bf9b942d2d41eb90b44fd098f00693a6e04f85b1e3be2d64a
MD5 c6a6fb3e6d3a59a68321a6ad13bd6544
BLAKE2b-256 f8c7d8a3cb0c0d20abe9a05359b7e6a46fa3f8feb7de6cd39f076757cf46333f

See more details on using hashes here.

File details

Details for the file abstract_test_package-0.0.53-py3-none-any.whl.

File metadata

File hashes

Hashes for abstract_test_package-0.0.53-py3-none-any.whl
Algorithm Hash digest
SHA256 d3fd1dccd937891fa9e61a4f7c80965ee3be620c2d6c49b9e8648b92c3887944
MD5 21b9a6d8614b3b80c5cf0e1b77917042
BLAKE2b-256 26ad3f1e94c9bdbdbedadd4f4f583888422ebfcf42631eda4e7693a084a9abfa

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