A test naming strategy I enjoy: 1


A test naming strategy I enjoy:

1. Use "describe" to describe the scenario under test
2. Use "test" to describe the expected results

Benefits:
✅ Avoids a single long name, so it's easy to read.
✅ Can group tests for the scenario under the describe.
✅ The separation encourages consistent, clear naming.

View original on X