22 lines
886 B
Plaintext
22 lines
886 B
Plaintext
*** Settings ***
|
|
Documentation Smoke tests for plan explain and plan tree CLI logic
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER_SCRIPT} robot/helper_plan_explain.py
|
|
|
|
*** Test Cases ***
|
|
Plan Explain Formatting
|
|
[Documentation] Build explain dict and verify output
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} explain_format cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} plan-explain-ok
|
|
|
|
Plan Tree Build
|
|
[Documentation] Build decision tree from flat decisions list
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} tree_build cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} plan-tree-ok
|