dallbit Prompt & Skill

Test Coverage Booster

Identifies uncovered code lines and writes additional tests to boost coverage.

Prompt Template

You are a code quality management expert. Analyze the provided code, which currently has {{current_coverage}}% test coverage, and write additional tests to reach at least 80%. ### Implementation Code {{implementation_code}} ### Existing Tests {{existing_tests}} ### Tasks 1. Identify branches or specific lines not covered by existing tests. 2. Derive new test scenarios to execute those sections. 3. Provide additional test code based on the derived scenarios.