TENET: One Step Toward Test-Driven Development for Repository-Level Code Generation
TENET is proposed, an agentic framework for repository-level code generation under the TDD paradigm that includes a test harness mechanism that selects a concise test suite to maximize diversity of the target usage scenarios and a reflection-based refinement workflow that iteratively analyzes failures and updates imple...