forked from HAL9000/cleveragents-core
146 lines
6.2 KiB
XML
146 lines
6.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Robot 7.3.2 (Python 3.13.3 on linux)" generated="2025-11-07T21:16:13.999690" rpa="false" schemaversion="5">
|
|
<suite id="s1" name="Scientific Paper Basic" source="/app/tests/integration/scientific_paper_basic.robot">
|
|
<test id="s1-t1" name="Scientific Paper Writer Basic Integration Test" line="11">
|
|
<kw name="Run Process" owner="Process">
|
|
<msg time="2025-11-07T21:16:14.038025" level="INFO">Starting process:
|
|
rm -rf /tmp/cleveragents/contexts/test_paper_simple</msg>
|
|
<msg time="2025-11-07T21:16:14.038573" level="INFO">Waiting for process to complete.</msg>
|
|
<msg time="2025-11-07T21:16:14.040239" level="INFO">Process completed.</msg>
|
|
<arg>rm</arg>
|
|
<arg>-rf</arg>
|
|
<arg>/tmp/cleveragents/contexts/${CONTEXT_NAME}</arg>
|
|
<doc>Runs a process and waits for it to complete.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:14.037477" elapsed="0.002862"/>
|
|
</kw>
|
|
<kw name="Run Process" owner="Process">
|
|
<msg time="2025-11-07T21:16:14.040857" level="INFO">Starting process:
|
|
python -m cleveragents run -c /app/tests/integration/../../examples/scientific_paper_writer.yaml --context test_paper_simple --unsafe -p Hello</msg>
|
|
<msg time="2025-11-07T21:16:14.041225" level="INFO">Waiting for process to complete.</msg>
|
|
<msg time="2025-11-07T21:16:24.953173" level="INFO">Process completed.</msg>
|
|
<msg time="2025-11-07T21:16:24.953417" level="INFO">${result} = <result object with rc 0></msg>
|
|
<var>${result}</var>
|
|
<arg>python</arg>
|
|
<arg>-m</arg>
|
|
<arg>cleveragents</arg>
|
|
<arg>run</arg>
|
|
<arg>-c</arg>
|
|
<arg>${CONFIG_FILE}</arg>
|
|
<arg>--context</arg>
|
|
<arg>${CONTEXT_NAME}</arg>
|
|
<arg>--unsafe</arg>
|
|
<arg>-p</arg>
|
|
<arg>Hello</arg>
|
|
<arg>stderr=DEVNULL</arg>
|
|
<arg>timeout=20s</arg>
|
|
<doc>Runs a process and waits for it to complete.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:14.040470" elapsed="10.912974"/>
|
|
</kw>
|
|
<kw name="Should Contain" owner="BuiltIn">
|
|
<arg>${result.stdout}</arg>
|
|
<arg>Paper Writer</arg>
|
|
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:24.953622" elapsed="0.000551"/>
|
|
</kw>
|
|
<kw name="Log" owner="BuiltIn">
|
|
<msg time="2025-11-07T21:16:24.954384" level="INFO">Intro test passed</msg>
|
|
<arg>Intro test passed</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:24.954271" elapsed="0.000166"/>
|
|
</kw>
|
|
<kw name="Run Process" owner="Process">
|
|
<msg time="2025-11-07T21:16:24.954874" level="INFO">Starting process:
|
|
python -m cleveragents run -c /app/tests/integration/../../examples/scientific_paper_writer.yaml --context test_paper_simple --unsafe -p !help</msg>
|
|
<msg time="2025-11-07T21:16:24.955345" level="INFO">Waiting for process to complete.</msg>
|
|
<msg time="2025-11-07T21:16:31.863529" level="INFO">Process completed.</msg>
|
|
<msg time="2025-11-07T21:16:31.863756" level="INFO">${result} = <result object with rc 0></msg>
|
|
<var>${result}</var>
|
|
<arg>python</arg>
|
|
<arg>-m</arg>
|
|
<arg>cleveragents</arg>
|
|
<arg>run</arg>
|
|
<arg>-c</arg>
|
|
<arg>${CONFIG_FILE}</arg>
|
|
<arg>--context</arg>
|
|
<arg>${CONTEXT_NAME}</arg>
|
|
<arg>--unsafe</arg>
|
|
<arg>-p</arg>
|
|
<arg>!help</arg>
|
|
<arg>stderr=DEVNULL</arg>
|
|
<arg>timeout=10s</arg>
|
|
<doc>Runs a process and waits for it to complete.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:24.954524" elapsed="6.909258"/>
|
|
</kw>
|
|
<kw name="Should Contain" owner="BuiltIn">
|
|
<arg>${result.stdout}</arg>
|
|
<arg>Available Commands</arg>
|
|
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:31.863958" elapsed="0.000499"/>
|
|
</kw>
|
|
<kw name="Log" owner="BuiltIn">
|
|
<msg time="2025-11-07T21:16:31.864664" level="INFO">Command handler test passed</msg>
|
|
<arg>Command handler test passed</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:31.864551" elapsed="0.000169"/>
|
|
</kw>
|
|
<kw name="Run Process" owner="Process">
|
|
<msg time="2025-11-07T21:16:31.865104" level="INFO">Starting process:
|
|
python -m cleveragents run -c /app/tests/integration/../../tests/fixtures/simple_echo_config.yaml --unsafe -p "Test message"</msg>
|
|
<msg time="2025-11-07T21:16:31.865646" level="INFO">Waiting for process to complete.</msg>
|
|
<msg time="2025-11-07T21:16:32.366317" level="INFO">Process completed.</msg>
|
|
<msg time="2025-11-07T21:16:32.366525" level="INFO">${result} = <result object with rc 0></msg>
|
|
<var>${result}</var>
|
|
<arg>python</arg>
|
|
<arg>-m</arg>
|
|
<arg>cleveragents</arg>
|
|
<arg>run</arg>
|
|
<arg>-c</arg>
|
|
<arg>/app/tests/integration/../../tests/fixtures/simple_echo_config.yaml</arg>
|
|
<arg>--unsafe</arg>
|
|
<arg>-p</arg>
|
|
<arg>Test message</arg>
|
|
<arg>stderr=DEVNULL</arg>
|
|
<arg>timeout=10s</arg>
|
|
<doc>Runs a process and waits for it to complete.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:31.864806" elapsed="0.501744"/>
|
|
</kw>
|
|
<kw name="Should Contain" owner="BuiltIn">
|
|
<arg>${result.stdout}</arg>
|
|
<arg>Test message</arg>
|
|
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:32.366736" elapsed="0.000486"/>
|
|
</kw>
|
|
<kw name="Log" owner="BuiltIn">
|
|
<msg time="2025-11-07T21:16:32.367418" level="INFO">Echo test passed</msg>
|
|
<arg>Echo test passed</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:32.367313" elapsed="0.000151"/>
|
|
</kw>
|
|
<kw name="Log" owner="BuiltIn">
|
|
<msg time="2025-11-07T21:16:32.367645" level="INFO">All integration tests passed successfully</msg>
|
|
<arg>All integration tests passed successfully</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<status status="PASS" start="2025-11-07T21:16:32.367544" elapsed="0.000147"/>
|
|
</kw>
|
|
<doc>Minimal integration test to verify scientific paper writer works with real APIs</doc>
|
|
<tag>integration</tag>
|
|
<timeout value="2 minutes"/>
|
|
<status status="PASS" start="2025-11-07T21:16:14.036545" elapsed="18.331254"/>
|
|
</test>
|
|
<status status="PASS" start="2025-11-07T21:16:14.000756" elapsed="18.367403"/>
|
|
</suite>
|
|
<statistics>
|
|
<total>
|
|
<stat pass="1" fail="0" skip="0">All Tests</stat>
|
|
</total>
|
|
<tag>
|
|
<stat pass="1" fail="0" skip="0">integration</stat>
|
|
</tag>
|
|
<suite>
|
|
<stat name="Scientific Paper Basic" id="s1" pass="1" fail="0" skip="0">Scientific Paper Basic</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
</errors>
|
|
</robot>
|