-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Handle unparseable UniqueID consistently #210
Comments
Original issue: #171. |
Additional Proposals:
|
Since TestEngines now receive an already parsed UniqueId, I think this issue can be closed. The error reporting parts will be addressed in #242. @junit-team/junit-lambda Thoughts? |
Haven't read up on #242 but "unparsable" is different from "unresolvable". Unparsable is handled by parsing upfront. Unresolvable is not. |
Fair enough. It seems the issue title and description are out of sync. Would you like to rephrase it to say unresolvable in the description as well? |
Should probably be a new issue. |
FYI: I changed this issue's title to refer to "unparseable" unique IDs. |
Note that consistent parsing of unique IDs was addressed in #810. |
Discovering tests via
UniqueIdSelector
and a string-based unique ID that cannot be parsed byUniqueId.parse()
is handled differently by each engine. Should be handled consistently in the launcher.I see several options:
JUnitException
when executing the request or when creating the selector instanceI'd prefer the first one since a syntactically wrong unique ID can only come from a bug by users of the launcher API. It's like violating a precondition.
The text was updated successfully, but these errors were encountered: