b67dc63eda
CI / lint (pull_request) Successful in 1m2s
CI / quality (pull_request) Successful in 39s
CI / typecheck (pull_request) Successful in 2m21s
CI / benchmark-publish (pull_request) Has been skipped
CI / security (pull_request) Successful in 2m36s
CI / build (pull_request) Successful in 21s
CI / e2e_tests (pull_request) Successful in 2m6s
CI / integration_tests (pull_request) Successful in 3m57s
CI / unit_tests (pull_request) Successful in 4m5s
CI / docker (pull_request) Successful in 58s
CI / coverage (pull_request) Successful in 6m37s
CI / benchmark-regression (pull_request) Successful in 37m33s
Write Behave scenario and Robot Framework test proving that SubplanService.spawn() only creates metadata (SubplanStatus records and SpawnMetadata) without creating real child Plan domain objects or triggering lifecycle progression. Tests are tagged @tdd_expected_fail so CI passes via result inversion. ISSUES CLOSED: #838
45 lines
2.3 KiB
Plaintext
45 lines
2.3 KiB
Plaintext
*** Settings ***
|
|
Documentation TDD Bug #823 — subplan spawn creates metadata but does not orchestrate
|
|
... child plan execution. Integration smoke tests verifying that
|
|
... SubplanService.spawn() creates real child Plan domain objects and
|
|
... triggers lifecycle progression. Currently spawn() only creates
|
|
... SubplanStatus records and SpawnMetadata without creating child Plans.
|
|
... Tests are tagged tdd_expected_fail so CI passes via result inversion.
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER} ${CURDIR}/helper_tdd_subplan_spawn_orchestration.py
|
|
|
|
*** Test Cases ***
|
|
TDD Spawn Result Contains Child Plan Objects
|
|
[Documentation] Verify that spawn() returns actual child Plan domain objects,
|
|
... not just SubplanStatus metadata.
|
|
[Tags] tdd_expected_fail tdd_bug tdd_bug_823
|
|
${result}= Run Process ${PYTHON} ${HELPER} spawn-child-plans cwd=${WORKSPACE} timeout=30s
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} tdd-spawn-child-plans-ok
|
|
|
|
TDD Child Plans Enter Strategize Phase
|
|
[Documentation] Verify that spawned child plans enter the strategize phase
|
|
... and have their lifecycle triggered.
|
|
[Tags] tdd_expected_fail tdd_bug tdd_bug_823
|
|
${result}= Run Process ${PYTHON} ${HELPER} spawn-lifecycle cwd=${WORKSPACE} timeout=30s
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} tdd-spawn-lifecycle-ok
|
|
|
|
TDD Parent Plan Tracks Child Status
|
|
[Documentation] Verify that spawn() attaches SubplanStatus entries to
|
|
... the parent plan so lifecycle can be tracked.
|
|
[Tags] tdd_expected_fail tdd_bug tdd_bug_823
|
|
${result}= Run Process ${PYTHON} ${HELPER} spawn-parent-tracking cwd=${WORKSPACE} timeout=30s
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} tdd-spawn-parent-tracking-ok
|