Skip to content

List Tests

Command

list-tests

Description

Fetches tests generated for a test suite.

Syntax

$ testgen list-tests --project-key <string> --test-suite-key <string> --display

Parameters and options

Parameter Required? Description Value
--project-key Yes The identifier for a TestGen project. Enter the key for a project.
Use a project_key shown in list-projects or the Project Code shown on the Settings page in the UI.
--test-suite-key Yes The identifier for a test suite. Enter the key for a test suite.
Use a test_suite_key shown in list-test-suites or the name of the test suite shown on the Test Suites page.
--display No Show command output in the terminal. Not applicable
--verbose No Increase log level from INFO to DEBUG. If used, must be entered before the command. Not applicable

Relationship to the UI

Select Test Suites from the menu. On a test suite from the list, click X test definitions to view and manage the test definitions related to a test suite.