Skip to content

Conversation

@Maarten-Dekker
Copy link
Contributor

This PR adds a new testing helper, assertJsonSubset(). It provides recursive JSON subset matching, allowing tests to assert only specific nested keys without requiring full JSON equality. This is useful when responses include additional framework‑generated data and you only want to verify the fields relevant to the test.

@brendt
Copy link
Member

brendt commented Feb 12, 2026

Great feature! Thank you :)

@brendt brendt merged commit 4ab659e into tempestphp:3.x Feb 12, 2026
74 checks passed
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