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

Add new features to test failing messages #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jgmullor
Copy link
Contributor

@jgmullor jgmullor commented Oct 10, 2021

This PR add new validations for the SimpleMessageContext context:

@When I receive a simple failing message with payload:

The same as the standard one, but this expects a failing message (an exception should be thrown)

@Then exception class for the last message should be :exceptionType

This validation checks that the expected exception for the last message should match the provided one.

@jgmullor jgmullor self-assigned this Oct 10, 2021
@jgmullor jgmullor requested a review from adnanmula October 10, 2021 12:35
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.

1 participant