Openapi-qase-suite-generator

Latest version: v1.0.4

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.4

What's Changed
* fix: Fix build_qase_suite_tree. by petrabarus in https://github.com/petrabarus/openapi_qase_suite_generator/pull/5


**Full Changelog**: https://github.com/petrabarus/openapi_qase_suite_generator/compare/v1.0.3...v1.0.4

1.0.3

What's Changed
* add verbosity. by petrabarus in https://github.com/petrabarus/openapi_qase_suite_generator/pull/4


**Full Changelog**: https://github.com/petrabarus/openapi_qase_suite_generator/compare/v1.0.2...v1.0.3

1.0.2

What's Changed
* fix: Fix ordering. by petrabarus in https://github.com/petrabarus/openapi_qase_suite_generator/pull/3


**Full Changelog**: https://github.com/petrabarus/openapi_qase_suite_generator/compare/v1.0.0...v1.0.2

1.0.1

openapi-qase-suite-generator

This script generates a Qase suite from an OpenAPI spec YAML file.
This is useful for keeping the consistency between the API and the test cases. In my company we use Qase for API testing.
For every Operation (Endpoint + Method) we create a new Qase suite. Every suite contains testcases for the given operation,
whether it is Unit Test or API Test, manual or automated.
Consistency naming for the test cases and the Operations is a good practice for maintenance.

For example, the following OpenAPI spec contains 3 operations:

paths:
/api/v1/users:
get:
operationId: ApiV1UsersGet
description: Get all available users
post:
operationId: ApiV1UsersPost
description: Create a new user
/api/v1/users/{id}:
get:
operationId: ApiV1UsersIdGet
description: Get a user by ID


This script will generate 3 suites:
- Suite: ApiV1UsersGet under directory "api", "v1", "users"
- Suite: ApiV1UsersPost under directory "api", "v1", "users"
- Suite: ApiV1UsersIdGet under directory "api", "v1", "users", "{id}"

The tester can add test cases to the generated suites.
The script will generate a new Qase suite only if it does not exist yet.

Usage:

openapi_qase_suite_generator \
--api-definition <path-to-openapi-spec> \
--qase-api-token <qase-api-token> \
--qase-project-id <qase-project-id> \
--qase-root-suite-id <qase-root-suite-id>

Where:
- <path-to-openapi-spec> is the path to the OpenAPI spec YAML file
- <qase-api-token> is the Qase API token
- <qase-project-id> is the Qase project ID
- <qase-root-suite-id> is the Qase root suite ID

1.0.0

openapi-qase-suite-generator

This script generates a Qase suite from an OpenAPI spec YAML file.
This is useful for keeping the consistency between the API and the test cases. In my company we use Qase for API testing.
For every Operation (Endpoint + Method) we create a new Qase suite. Every suite contains testcases for the given operation,
whether it is Unit Test or API Test, manual or automated.
Consistency naming for the test cases and the Operations is a good practice for maintenance.

For example, the following OpenAPI spec contains 3 operations:

paths:
/api/v1/users:
get:
operationId: ApiV1UsersGet
description: Get all available users
post:
operationId: ApiV1UsersPost
description: Create a new user
/api/v1/users/{id}:
get:
operationId: ApiV1UsersIdGet
description: Get a user by ID


This script will generate 3 suites:
- Suite: ApiV1UsersGet under directory "api", "v1", "users"
- Suite: ApiV1UsersPost under directory "api", "v1", "users"
- Suite: ApiV1UsersIdGet under directory "api", "v1", "users", "{id}"

The tester can add test cases to the generated suites.
The script will generate a new Qase suite only if it does not exist yet.

Usage:

openapi_qase_suite_generator \
--api-definition <path-to-openapi-spec> \
--qase-api-token <qase-api-token> \
--qase-project-id <qase-project-id> \
--qase-root-suite-id <qase-root-suite-id>

Where:
- <path-to-openapi-spec> is the path to the OpenAPI spec YAML file
- <qase-api-token> is the Qase API token
- <qase-project-id> is the Qase project ID
- <qase-root-suite-id> is the Qase root suite ID

0.0.3

**Full Changelog**: https://github.com/petrabarus/openapi_qase_suite_generator/compare/v0.0.1...v0.0.3

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.