Files
Jeff (CTO) 18482b938f
CI / typecheck (push) Waiting to run
CI / lint (push) Waiting to run
CI / security (push) Waiting to run
CI / quality (push) Waiting to run
CI / unit_tests (push) Waiting to run
CI / integration_tests (push) Waiting to run
CI / coverage (push) Blocked by required conditions
CI / build (push) Waiting to run
CI / docker (push) Blocked by required conditions
CI / lint (pull_request) Successful in 14s
CI / typecheck (pull_request) Successful in 27s
CI / security (pull_request) Successful in 22s
CI / quality (pull_request) Successful in 15s
CI / integration_tests (pull_request) Successful in 4m32s
CI / build (pull_request) Successful in 16s
CI / unit_tests (pull_request) Successful in 9m45s
CI / coverage (pull_request) Successful in 6m53s
CI / docker (pull_request) Successful in 39s
feat(tool): add tool runtime core
2026-02-14 13:46:10 -05:00

28 lines
1.1 KiB
Plaintext

*** Settings ***
Documentation Smoke tests for tool runtime core
Resource ${CURDIR}/common.resource
Suite Setup Setup Test Environment
Suite Teardown Cleanup Test Environment
*** Variables ***
${HELPER_SCRIPT} robot/helper_tool_runtime.py
*** Test Cases ***
Tool Registry Register And Retrieve
[Documentation] Register a tool and retrieve it by name
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} register cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} registry-ok
Tool Runner Execute Lifecycle
[Documentation] Run a tool through the full lifecycle
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} lifecycle cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} lifecycle-ok
Tool Error Normalisation
[Documentation] Handler errors are normalised into ToolResult
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} error cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} error-ok