-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support AggregateExceptions? #31
Comments
Can you clarify? What exactly would you like to see? |
Hi @AArnott and thanks for the quick response! I mean I could go [SkippableTheory(typeof(AggregateException))] instead of [SkippableTheory(typeof(CustomException))], but that will Skip the test for the wrong reasons. If SkippableFact could detect the exceptions inside of the AggregateExceptions it would be able to determine to Skip the test. I don't know if the xUnit API allows that as things are. Any ideas? |
Thanks. That helps a lot. Can you confirm that the only exception within |
For my usecase, I'd be happy to simply Skip as soon as a predetermined SkipException is detected. That's because as soon as I detect there's a skip exception thrown, I don't care about the rest. And to answer your first question: There was actually another exception in the Seems to come from here: |
Would you be interested in contributing the PR? |
Yes but what's the plan on .net6, is the upgrade planned? And this package, is eventually merging into xUnit? |
There are no plans to merge this package into xunit. But xunit v3 might be adding its own skippable support, which would make this package obsolete. |
Any chance for support of AggregateExceptions could be added easily?
The text was updated successfully, but these errors were encountered: