Skip to main content

A test package

Project description

testaroonie

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.

Installation

You can install the testaroonie module via pip:

pip install testaroonie

Or directly from the source:

Usage

Below is a usage example of the testaroonie:

from testaroonie 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 testaroonie 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

testaroonie-0.0.1-py3.11.egg (51.7 kB view details)

Uploaded Egg

File details

Details for the file testaroonie-0.0.1-py3.11.egg.

File metadata

  • Download URL: testaroonie-0.0.1-py3.11.egg
  • Upload date:
  • Size: 51.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for testaroonie-0.0.1-py3.11.egg
Algorithm Hash digest
SHA256 33406969cedf5f4a41ded2a53f578df4d346c2e5ef40f74227453f974effb6c0
MD5 96b8a601e64690d4fcb8e6a968afb341
BLAKE2b-256 d5ee1f5b5b5b68a641b9a48fc8b44f92d291df90b4d581e8f3f31fbc3ec57c79

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