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

Fix VanillaExceptionTracker to output only unexpected exceptions in AssertionError message #41

Open
maxim-ponomarev opened this issue Aug 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@maxim-ponomarev
Copy link

At the moment, if there are any unexpected exceptions, AssertionError message contains ALL recorded exceptions, it doesn't honor ignorePredicate.

final String msg = exceptions.size() + " exceptions were detected: " + exceptions.keySet().stream().map(messageExtractor::apply).collect(Collectors.joining(", "));

@maxim-ponomarev maxim-ponomarev self-assigned this Aug 16, 2023
@tgd tgd added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants