3eecb79003
CI / lint (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 46s
CI / typecheck (pull_request) Successful in 56s
CI / security (pull_request) Successful in 56s
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 29s
CI / e2e_tests (pull_request) Successful in 2m7s
CI / unit_tests (pull_request) Successful in 3m8s
CI / docker (pull_request) Successful in 9s
CI / integration_tests (pull_request) Successful in 3m57s
CI / coverage (pull_request) Successful in 7m48s
CI / benchmark-regression (pull_request) Successful in 40m48s
TDD expected-fail tests proving bug #822 exists: CheckpointService.rollback_to_checkpoint() returns a successful RollbackResult but does not execute git reset --hard. Files modified after the checkpoint remain unchanged after rollback. Also fixes Robot Framework timeout robustness across the entire test suite: all Run Process calls now use on_timeout=kill (prevents SIGTERM-induced -15 exit codes under CI load) and timeouts increased to 120s (prevents premature kills during heavy parallel execution). ISSUES CLOSED: #839
37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
*** Settings ***
|
|
Documentation Comprehensive integration test for cleveragents --version
|
|
Library Process
|
|
Library OperatingSystem
|
|
Library String
|
|
Resource ${CURDIR}/v2_paths.resource
|
|
|
|
*** Variables ***
|
|
${PYTHON} python
|
|
${EXPECTED_VERSION} 0.1.0
|
|
|
|
*** Test Cases ***
|
|
Version Output Format Is Correct
|
|
[Documentation] Test that version output follows the expected format
|
|
${result} = Run Process ${PYTHON} -m cleveragents --version timeout=120s on_timeout=kill
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Match Regexp ${result.stdout} CleverAgents\\s+\\d+\\.\\d+\\.\\d+
|
|
|
|
Version Number Matches Expected
|
|
[Documentation] Test that version number matches expected value
|
|
${result} = Run Process ${PYTHON} -m cleveragents --version timeout=120s on_timeout=kill
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} 1.0.0
|
|
|
|
|
|
Version Command Completes Successfully
|
|
[Documentation] Test that version command completes successfully
|
|
${result} = Run Process ${PYTHON} -m cleveragents --version timeout=120s on_timeout=kill
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
|
|
Version Works With Module Invocation
|
|
[Documentation] Test that version works when invoked as module
|
|
${result} = Run Process ${PYTHON} -m cleveragents --version
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Not Be Empty ${result.stdout}
|
|
Should Be Empty ${result.stderr}
|