64 lines
2.8 KiB
Plaintext
64 lines
2.8 KiB
Plaintext
*** Settings ***
|
|
Documentation Smoke tests for built-in automation profiles
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER_SCRIPT} robot/helper_automation_profile.py
|
|
|
|
*** Test Cases ***
|
|
Load Manual Profile
|
|
[Documentation] Load the manual built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} manual cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-manual-ok
|
|
|
|
Load Review Profile
|
|
[Documentation] Load the review built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} review cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-review-ok
|
|
|
|
Load Supervised Profile
|
|
[Documentation] Load the supervised built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} supervised cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-supervised-ok
|
|
|
|
Load Cautious Profile
|
|
[Documentation] Load the cautious built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} cautious cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-cautious-ok
|
|
|
|
Load Trusted Profile
|
|
[Documentation] Load the trusted built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} trusted cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-trusted-ok
|
|
|
|
Load Auto Profile
|
|
[Documentation] Load the auto built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} auto cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-auto-ok
|
|
|
|
Load CI Profile
|
|
[Documentation] Load the ci built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} ci cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-ci-ok
|
|
|
|
Load Full-Auto Profile
|
|
[Documentation] Load the full-auto built-in profile
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} full-auto cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} profile-full-auto-ok
|
|
|
|
Profile Summary
|
|
[Documentation] Print summary of all built-in profiles
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} summary cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} summary-ok
|