-
Notifications
You must be signed in to change notification settings - Fork 467
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 optional reason to @PendingFeature #907
Add optional reason to @PendingFeature #907
Conversation
result.runCount == 1 | ||
result.failureCount == 0 | ||
result.ignoreCount == 0 | ||
// unfortunately we can't access the skip reason here, but at least the branch is coverd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: typo in last word
@@ -25,6 +27,7 @@ protected AssertionError featurePassedUnexpectedly() { | |||
} | |||
|
|||
protected AssumptionViolatedException assumptionViolation() { | |||
return new AssumptionViolatedException("Feature not yet implemented correctly."); | |||
return new AssumptionViolatedException("Feature not yet implemented correctly." | |||
+ ("".equals(reason) ? "" : "Reason: "+reason)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm not mistaken there's no space after the period now. It should be " Reason: "
. Moreover spaces around the +
would be more readable IMHO.
PTAL |
No description provided.