8ea00f5185
CI / unit_tests (push) Has been cancelled
CI / benchmark-publish (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / security (push) Has been cancelled
CI / quality (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / e2e_tests (push) Has been cancelled
CI / coverage (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
CI / build (push) Has been cancelled
CI / push-validation (push) Has been cancelled
CI / status-check (push) Has been cancelled
CI / docker (push) Has been cancelled
CI / helm (push) Has been cancelled
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
*** Settings ***
|
|
Documentation Integration tests for actor show CLI output fields
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER} ${CURDIR}/helper_actor_cli_show.py
|
|
|
|
*** Test Cases ***
|
|
Actor Show JSON Contains Required Fields
|
|
[Documentation] Verify that ``actor show --format json`` returns all required fields
|
|
[Tags] tdd_issue tdd_issue_4201 tdd_expected_fail
|
|
${result}= Run Process ${PYTHON} ${HELPER} show-json-fields cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} actor-cli-show-json-fields-ok
|
|
|
|
Actor Show YAML Produces Valid Output
|
|
[Documentation] Verify that ``actor show --format yaml`` produces YAML output
|
|
${result}= Run Process ${PYTHON} ${HELPER} show-yaml-output cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} actor-cli-show-yaml-output-ok
|
|
|
|
Actor List JSON Returns Array
|
|
[Documentation] Verify that ``actor list --format json`` returns a JSON array
|
|
[Tags] tdd_issue tdd_issue_4201 tdd_expected_fail
|
|
${result}= Run Process ${PYTHON} ${HELPER} list-json-format cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} actor-cli-list-json-format-ok
|