coompose
Library promptDevelopment

Find the missing test cases

Exercise the boundaries of a change using the existing test suite.

Open in ChatGPT

Prompt text

Read my change and its nearest tests. Identify the behavior a caller depends on and the smallest input that would break it. Consider an empty input, a boundary value, and a repeated operation where they apply. Write the smallest set of tests that adds meaningful coverage, using the project’s existing conventions. For each new test, say which regression it catches. Run the relevant tests and report the result.