-
Notifications
You must be signed in to change notification settings - Fork 14
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
OC-53 Overriding a method not detected #53
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chenguang Zhu created an issue 2018-01-30
Summary: Clover does not detect that a class overrides a method from a superclass, which leads to safety issue (i.e., a test is not selected although the behavior of the test changes).
Steps to Reproduce: Run the bash script ./s provided in this directory. This script (1) runs the test class with Clover, (2) inserts a method m in class p.C, and (3) runs the same test class with Clover again.
Expected Results: p.CTest runs both times (it passes in the first run and fails in the second run).
Actual Results: p.CTest runs only the first time (and does not run test the second time).
The text was updated successfully, but these errors were encountered: