- Add 5 workflow tests (task, context loading, stop-on-failure, conversational) - Add 1 shared test (agent-agnostic approval gate) - Reorganize: opencode/ → agents/ for clearer structure - Rename: sdk-tests/ → tests/ for simplicity - Update test runner paths to new structure - Add comprehensive documentation (test plan, guides, migration) - Update all documentation with new paths Total: 13 tests (was 6, added 7) Coverage: +31% workflow compliance All tests passing: 11/11 (100%)
39 lines
756 B
YAML
39 lines
756 B
YAML
# Test: Business Data Analysis
|
|
# Tests pure analysis task with no tool execution
|
|
|
|
id: biz-data-analysis-001
|
|
name: Business Data Analysis
|
|
description: |
|
|
Tests that OpenAgent can perform pure analysis tasks without
|
|
requiring tool execution or file modifications.
|
|
|
|
category: business
|
|
|
|
prompt: |
|
|
Analyze the following sales data and provide insights:
|
|
- Q1: $50,000
|
|
- Q2: $65,000
|
|
- Q3: $48,000
|
|
- Q4: $72,000
|
|
|
|
What are the trends and recommendations?
|
|
|
|
approvalStrategy:
|
|
type: auto-approve
|
|
|
|
expected:
|
|
pass: true
|
|
minMessages: 1
|
|
maxMessages: 2
|
|
notes: |
|
|
Agent should:
|
|
1. Provide analysis without tools
|
|
2. No file modifications
|
|
3. No bash commands needed
|
|
|
|
timeout: 30000
|
|
|
|
tags:
|
|
- analysis
|
|
- no-tools
|
|
- conversational
|