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
Right now it seems that if one of the implementation has a test in the correct package and the other one (with the same name) has no test at all, the possibleTestClasses will find the test in the wrong package and fail the rule. You have to add at least a blank test class in the right package for each implementation to make the rule pass.
Possible solution could be:
keeping track of the implementation class list,
checking if the possibleTestClasses have no matching implementation in the right package and discard it from checklist of another implementation class.
The text was updated successfully, but these errors were encountered:
Linked to: #920
Structure like this:
will fail test:
Right now it seems that if one of the implementation has a test in the correct package and the other one (with the same name) has no test at all, the
possibleTestClasses
will find the test in the wrong package and fail the rule. You have to add at least a blank test class in the right package for each implementation to make the rule pass.Possible solution could be:
possibleTestClasses
have no matching implementation in the right package and discard it from checklist of another implementation class.The text was updated successfully, but these errors were encountered: