how to write a good unit test
- User
how to write a good unit test
Assistant
Here are some tips for writing good unit tests:
-
Focus on one unit of code at a time. A unit test should test a single function or class. Don't test multiple units at once.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.