Skip to content

Conversation

kentcdodds
Copy link
Member

Enhance exercise tests to provide clear, actionable guidance for workshop learners.

This PR updates tests across all exercise problem/solution pairs. Problem tests now fail with customized 🚨 error messages that explain the specific learning outcome and guide the user on how to fix their implementation, without swallowing the original error. Solution tests are verified to pass, and both problem and solution test files are kept identical for consistency. This improves the workshop's educational value by turning test failures into direct learning opportunities.

Copy link
Member Author

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just amazing.

@kentcdodds kentcdodds merged commit 77d9203 into main Jul 2, 2025
4 checks passed
@kentcdodds kentcdodds deleted the cursor/update-tests-for-exercise-validation-7161 branch July 2, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants