Repo: handle exceptions that occur while testing a rule better #8942
Labels
repo maintenance
things to do with maintenance of the repo, and not with code/docs
triage
Waiting for maintainers to take a look
Suggestion
If you throw an exception in a rule (within the RuleListener object handlers, not at the top level of the
create()
function), the whole test suite fails with an unhelpful error message, rather than failing just the individual test run and printing a useful error message. For instance, here's what happens when I throw an exception in a line affected by just one test case:@JoshuaKGoldberg has a hacky workaround. Feel free to share in case that makes it easier to pinpoint the root cause?
The text was updated successfully, but these errors were encountered: