Original prompt Engineering

Create a behavior-focused test harness

The prompt

Draft tests for [contract] covering a normal case, invalid input and a meaningful boundary. Explain what defect each assertion would catch and use synthetic fixtures.

Copyable text only. No model runs here, and no source material is uploaded.

When to use it

Create a test harness that demonstrates behavior rather than mirroring implementation.

Prepare the source material

  1. Function contract
  2. Test framework
  3. Boundary cases

Review before using the result

Run against the real implementation and remove assertions that only restate internal structure.