Executing a Project Test Plan

The test plan will execute a series of project methods test cases in order

Test Center

A test plan lets the user test complex use cases using several test cases from several methods.
The Test Center menu offers the management of test plans.

Test Plans

Test Plans

Create a Test Plan

On the Test Center page, click on the Create Test Plan button.
It will open a modal, where you can define the test plan name, project and a list of project test cases.

Create a Test Plan

Create a Test Plan

Review & Edit Test Plans

You can expand the test plans to review the test plan test case results history

Test Plan Test Cases History

Test Plan Test Cases History

Run a Test Plan from the UI

You can run any test plan from the UI

Run a Test Plan

Run a Test Plan

The test cases will run in order, the first test case error result will result in a test plan error


Run a Test Plan from the CLI

You can also run a test plan from the CLI:


CLI Command

ol test plan --name test-plan1 --report

Options:

OptionTypeDescription
-n, --nameText (String)Test plan name
-p, --profilesText (String)Connection profiles separated by ','
-r, --reportFlagGenerate a JUnit format test plan report
-rp, --report-pathPathSpecify a path for the test plan report

Example
ol test plan --name test-plan --profiles test --report --report-path /tests

Response:

test-plan > test1 PASSED
test-plan > good-test PASSED
test-plan > default FAILED
test-plan > good-test-2 SKIPPED
test-plan > sap-test SKIPPED
test-plan FAILED
5 tests completed, 1 failed, 2 skipped. executed in 5354ms.
FAILED
An XML report file will be created in the specified path.

test-plan-240926102019.xml

{"flowResult":{"statusCode":500,"lastStepName":null,"body":{"errorMessage":"SAP JCo library is not found in the classpath"}}}