Major improvements to ensure AI-generated tests meet ZenTao standards:
- Add AI-specific usage guidelines with clear execution requirements
- Standardize placeholder naming conventions across all examples
- Add critical code formatting requirements to prevent commit failures
- Emphasize strict prohibition of trailing whitespace in generated code
- Restructure branch workflow to use unified feature/unittest/ai branch
- Enhance test concepts with precise AI-understandable definitions
- Provide detailed step-by-step execution guidance with checkpoints
- Fix dao::isError() handling to return dao::getError() directly
- Add comprehensive AI mandatory checklist for complete compliance
- Include formatting violations in forbidden actions to prevent errors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add core concept clarification section distinguishing Test Case vs Test Step
- Correct terminology throughout document: script = test case, r()...e() = test step
- Add mandatory 5-step requirement in warning, workflow, templates, and checklist
- Update templates to show 5 test steps with proper naming convention
- Enhance best practices section with test case/step organization principles
- Improve quality checklist with accurate terminology and requirements
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add detailed guide for converting legacy view pages to modern ui pages
- Include comprehensive instructions for using Zin framework and ZUI3 design system
- Enforce strict branch development workflow with prominent warnings
- Cover complete refactoring process for HTML, JavaScript, and CSS files
- Add 244 Zin component library reference and usage examples
- Include branch naming convention: uirefactor/{ModuleName}/{PageName}/{AIModel}
- Provide detailed validation checklist and troubleshooting guide
- Ensure consistency with unit test and UI test guide architecture
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add prominent warnings and branch workflow requirements at document start
- Include comprehensive step-by-step UI test development process
- Add branch naming convention: uitest/{ModuleName}/{action}/{AIModel}
- Include detailed git commands for branch management and code submission
- Add UI test development checklist with mandatory and quality check items
- Ensure UI test scripts follow same branch development standards as unit tests
- Fix trailing whitespace issues in documentation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Clarify that test scripts should only add test-related files to git
- Add warning to avoid committing guide document to test branches
- Guide document should remain on development branch for future reference
- Update common mistakes section with documentation handling
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive guide for AI model to generate unit test scripts
- Enforce strict branch workflow requirements with prominent warnings
- Include detailed step-by-step instructions with commands
- Add checklist for validation and common mistake avoidance
- Ensure proper test script development process compliance
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>