Prompt Testing

Write Tests for This Code

Generate unit tests covering the main paths, edge cases, and error conditions.

testing
Insert label Write Tests
Prompt

Write tests for this code. Cover the happy path, edge cases, and error conditions. Use the test framework and conventions already in this project. Each test should have a clear name that describes the expected behavior.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl