Skip to main content

Helper tool for api test automation

Project description

Zurck'z

Zkt for API Test Automation


Zkt

Zurck'z Testing Tool

This package contains some helpers features for api test automation

ZPy use the following packages:

  • zpy-api-core

Requirements

  • Python 3.10+

Installation

Use the package manager pip to install py flask micro service core .

pip install zkt

Features

Contains some helper features.

  • Stage
    • Step

Basic Usage

    test_scenario = Stepexecutor(
        scenario="Create a Generic Order PROD",
        steps=[
            FullRequestTest("Prepare token request", data_request),
            PostHttpRequest("Get Token"),
            HttpResponseVerifier("Tooken Response Verifier"),
            DictValueExtract("Extract Data Tokens", key="result"),
            StoreTransactData("Store Auth Data", key="auth")
        ],
    )

    result = test_scenario.execute()
    print(result)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Authors

Noé Cruz

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

zkt-1.0.3.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

zkt-1.0.3-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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