Skip to content

Conversation

jdeniau
Copy link

@jdeniau jdeniau commented Nov 14, 2022

Q A
Branch? main
Bug fix? no
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

Thanks for the effort of forking behatch/contexts.

As behatch/context is unmaintained, I open the same PR I did there.

This pull request improves the error message, by telling which node is failing, the actual content and the expected value.

For the record, we use this at Mapado on my fork since 2018, and we find it way better with those messages.

Before (fail on first error, no hint about which line does fail):
image

With PR:
image

@jdeniau
Copy link
Author

jdeniau commented Nov 14, 2022

Closing in favor of #11 as I merged your main branch there.

@jdeniau jdeniau closed this Nov 14, 2022
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