You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ClassOrdering should report all misorderings in a class
Observed Behavior
ClassOrdering only reports the first misordering in a class
Steps to Reproduce
This can be easily observed by changing a test in ClassOrderingSpec to have multiple misorders, but still pass the assertions that the list of findings only has 1 item.
Context
As a user, I expect that fixing all errors from running detekt will result in the next run succeeding. This may not be the case now, as fixing a ClassOrdering violation may reveal further violations in a subsequent run.
Your Environment
Version of detekt used:
Version of Gradle used (if applicable):
Operating System and version:
Link to your project (if it's a public repository):
Expected Behavior
ClassOrdering should report all misorderings in a class
Observed Behavior
ClassOrdering only reports the first misordering in a class
Steps to Reproduce
This can be easily observed by changing a test in
ClassOrderingSpec
to have multiple misorders, but still pass the assertions that the list of findings only has 1 item.Context
As a user, I expect that fixing all errors from running detekt will result in the next run succeeding. This may not be the case now, as fixing a
ClassOrdering
violation may reveal further violations in a subsequent run.Your Environment
@BraisGabin please assign to me
The text was updated successfully, but these errors were encountered: