feat: continued with phase 2 adding database migration scripts to the mix

This commit is contained in:
2025-11-13 18:25:24 -05:00
parent cbafe7fac4
commit d3fb2f9a74
35 changed files with 4777 additions and 90 deletions
+4 -3
View File
@@ -111,6 +111,7 @@ Test Plan Build
Run Process cleveragents init ${PROJECT_NAME} cwd=${TEST_DIR}/project8
Run Process cleveragents tell Create example code cwd=${TEST_DIR}/project8
${result} = Run Process cleveragents build cwd=${TEST_DIR}/project8
... env:CLEVERAGENTS_TESTING_USE_MOCK_AI=true
Should Be Equal As Numbers ${result.rc} 0
Should Contain ${result.stdout} Plan built successfully
Should Contain ${result.stdout} Generated
@@ -122,6 +123,7 @@ Test Plan Apply
Run Process cleveragents init ${PROJECT_NAME} cwd=${TEST_DIR}/project9
Run Process cleveragents tell Create example file cwd=${TEST_DIR}/project9
Run Process cleveragents build cwd=${TEST_DIR}/project9
... env:CLEVERAGENTS_TESTING_USE_MOCK_AI=true
${result} = Run Process cleveragents apply --yes cwd=${TEST_DIR}/project9
Should Be Equal As Numbers ${result.rc} 0
Should Contain ${result.stdout} Successfully applied
@@ -166,6 +168,7 @@ Test End To End Workflow
Should Be Equal As Numbers ${tell.rc} 0
# Build plan
${build} = Run Process cleveragents build cwd=${TEST_DIR}/project12
... env:CLEVERAGENTS_TESTING_USE_MOCK_AI=true
Should Be Equal As Numbers ${build.rc} 0
# Apply changes
${apply} = Run Process cleveragents apply --yes cwd=${TEST_DIR}/project12
@@ -202,9 +205,7 @@ Test Project Status With Project
Setup Test Environment
[Documentation] Setup the test environment
Create Directory ${TEST_DIR}
Set Environment Variable CLEVERAGENTS_TEST_MODE true
Cleanup Test Environment
[Documentation] Clean up after tests
Remove Directory ${TEST_DIR} recursive=true
Remove Environment Variable CLEVERAGENTS_TEST_MODE
Remove Directory ${TEST_DIR} recursive=true