Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: BodyTextAssertion should also contain the actual response body when failing #171

Open
chrisbbe opened this issue Sep 9, 2024 · 1 comment

Comments

@chrisbbe
Copy link

chrisbbe commented Sep 9, 2024

Hi,

Thanks for the excellent framework. I'm really keen to enhance the error message in 'BodyTextAssertion' and include the actual response payload.

I´ll provide a PR.

chrisbbe pushed a commit to chrisbbe/alba that referenced this issue Sep 9, 2024
@Hawxy
Copy link
Collaborator

Hawxy commented Sep 28, 2024

All assertions should already include the body per https://github.com/JasperFx/alba/blob/master/src/Alba/ScenarioAssertionException.cs#L57

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

No branches or pull requests

2 participants