Rules Settings
Edit scope
DocsWhen off, the agent can only edit test files. Implementation files are protected: edits are rejected, and any coverage gap caused by dead code is accepted instead of the loop trying to reach 100%.
Comment Rules
DocsInclude explanatory comments in test files created by GitAuto
Test File Location and Naming Rules
DocsChoose where test files should be placed relative to source files
Choose how test files should be named
Test Constants Rules
DocsHow to handle commonly used test constants
Unit Test Rules
DocsPrefer functional programming patterns in tests
Generate tests for edge cases, error conditions, and boundary values
Allow GitAuto to refactor and improve source code structure before generating tests to keep the test code clean and readable
Component Test Rules
DocsUse functional components in test code when possible
Test components in isolation from their dependencies by mocking or stubbing external dependencies
Mock external APIs, services, and third-party libraries in component tests
Repository Rules
Define repository-specific guidelines that apply across all issues and users within the repository. Write any coding standards, preferences, or requirements that GitAuto should follow when generating tests for this repository.