For an overview of all available workflows, see the main README.
The daily test coverage improver workflow will analyze test coverage and add tests to improve coverage in under-tested areas of the codebase.
# Install the 'gh aw' extension
gh extension install github/gh-aw
# Add the workflow to your repository
gh aw add-wizard githubnext/agentics/daily-test-improverThis walks you through adding the workflow to your repository.
You can start a run of this workflow immediately by running:
gh aw run daily-test-improver-
The first run of the workflow will produce a pull request with inferred action pre-steps that need approval.
-
The first run of the workflow will also create an issue in the repository with a plan for improving test coverage. You can comment on this issue to provide feedback or adjustments to the plan. Comments will not be picked up until the next run.
After editing run gh aw compile to update the workflow and commit all changes to the default branch.
- Repository contents and source code for coverage analysis
- Existing test files and test coverage reports
- Build scripts and testing configuration files
- Previous issues and pull requests related to testing
- Creates new branches with additional test cases
- Creates draft pull requests with improved test coverage
- Creates issues documenting coverage analysis and improvements
- Makes file changes to add meaningful tests for edge cases and uncovered code
- Review test coverage improvement pull requests for test quality
- Validate that new tests properly cover edge cases and uncovered code
- Ensure tests are meaningful and not just coverage-padding
- Merge approved test improvements after verification
- Disable or uninstall the workflow if test additions are not improving code quality