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>
56 lines
2.4 KiB
Plaintext
56 lines
2.4 KiB
Plaintext
*** Settings ***
|
|
Documentation Smoke tests for project context CLI commands
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER_SCRIPT} robot/helper_project_context_cli.py
|
|
|
|
*** Test Cases ***
|
|
Context Policy Set And Show Round Trip
|
|
[Documentation] Set a context policy and verify it reads back correctly
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} set-show cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} context-set-show-ok
|
|
|
|
Context Inspect Wired To ACMS
|
|
[Documentation] Verify inspect queries the ACMS tier service and returns tier state
|
|
[Tags] tdd_issue tdd_issue_4313 tdd_expected_fail
|
|
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} inspect-wired cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} context-inspect-wired-ok
|
|
|
|
Context Simulate Wired To ACMS
|
|
[Documentation] Verify simulate runs dry-run context assembly via ACMS
|
|
[Tags] tdd_issue tdd_issue_4313 tdd_expected_fail
|
|
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} simulate-wired cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} context-simulate-wired-ok
|
|
|
|
Context Set ACMS Pipeline Options
|
|
[Documentation] Verify context set persists ACMS pipeline configuration
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} set-acms cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} context-set-acms-ok
|
|
|
|
Context Show ACMS Pipeline Config
|
|
[Documentation] Verify context show displays ACMS pipeline configuration
|
|
[Tags] tdd_issue tdd_issue_4313 tdd_expected_fail
|
|
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} show-acms cwd=${WORKSPACE}
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} context-show-acms-ok
|