Test design
Test the boundary that broke
A smoke test asks whether a core workflow works at all. A regression test checks that behavior that worked before still works, often by preserving the exact case that exposed a bug.
If an API accepts a page size of 1–100, a smoke test might request 20 and verify the response. Test the boundaries with 0, 1, 100, and 101. Check that 1 and 100 succeed and that 0 and 101 return the documented validation error. If a bug accepted 101, keep that case in continuous integration (CI).