feat: Create TestRunner.TestCase with shared test definitions (#200)#201
feat: Create TestRunner.TestCase with shared test definitions (#200)#201andreasronge merged 1 commit intomainfrom
Conversation
Extracts test case definitions from JSON and Lisp test runners into a centralized TestRunner.TestCase module. This eliminates duplication and provides a single source of truth for test specifications. The module defines three public functions: - common_test_cases/0: 9 test cases for both DSLs (counts, filters, aggregations) - lisp_specific_cases/0: 10 test cases unique to Lisp (sort operations, cross-dataset queries) - multi_turn_cases/0: 2 test cases requiring memory persistence This is task 1.3 from Epic #195 (Unify Demo Test Runners). Fixes #200 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
PR Review: Create TestRunner.TestCase with shared test definitionsSummaryThis PR creates the What's Good
Issues (Must Fix)None identified. Suggestions (Optional)
SecurityNo concerns - this is pure data definition with no external I/O or user input handling. DocumentationThe module has comprehensive documentation:
VerdictApprove - The implementation correctly follows the issue specification and spec document. Test case counts and categorizations are accurate. Code quality is good with proper documentation and typing. |
Auto-Triage SummaryReview AnalysisThe PR review provided an Approve verdict with no required fixes. One suggestion was noted as future work but is correctly marked as out-of-scope for this PR. Decisions Made
Status
Next StepsAdding |
Summary
Extracts test case definitions from JSON and Lisp test runners into a centralized
TestRunner.TestCasemodule. This eliminates duplication and provides a single source of truth for test specifications across both DSLs.Implements task 1.3 from Epic #195 (Unify Demo Test Runners).
Changes
demo/lib/ptc_demo/test_runner/test_case.excommon_test_cases/0: 9 test cases for both DSLs (counts, filters, aggregations)lisp_specific_cases/0: 10 test cases unique to Lisp (sort operations, cross-dataset queries)multi_turn_cases/0: 2 test cases requiring memory persistenceTest Plan
mix formatFixes #200
🤖 Generated with Claude Code