Skip to main content

Add a short description here!

Project description

Qase TMS Python Api Client

License

Installation

TBD

Usage

Qase.io uses API tokens to authenticate requests. You can view an manage your API keys in API tokens pages.

You must replace api_token with your personal API key.

from qaseio import QaseApi

qase = QaseApi("api_token")

Projects

Get All Projects

This method allows to retrieve all projects available for your account. You can you limit and offset params to paginate.

projects = qase.projects.get_all()

Get All Projects

This method allows to retrieve a specific project.

projects = qase.projects.get("PRJCODE")

Create a new project

This method is used to create a new project through API.

from qaseio.models import ProjectCreate

projectCreated = qase.projects.create(
    ProjectCreate("Test project", "PRJCODE")
)

Test cases

Get all test cases

This method allows to retrieve all test cases stored in selected project. You can you limit and offset params to paginate.

test_cases = qase.test_cases.get_all("PRJCODE")

Get a specific test case

This method allows to retrieve a specific test case.

test_cases = qase.test_cases.get("PRJCODE", 4)

Delete test case

This method completely deletes a test case from repository.

result = qase.test_cases.delete("PRJCODE", 4)

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

qaseio-1.0.0a1.tar.gz (14.2 kB view hashes)

Uploaded Source

Built Distribution

qaseio-1.0.0a1-py2.py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 2 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