Skip to content
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-54 Using a class with the instanceof operator not detected #54

Open
marek-parfianowicz opened this issue Dec 16, 2019 · 1 comment
Open

Comments

@marek-parfianowicz
Copy link
Member

Chenguang Zhu created an issue 2018-01-30
Summary: If modifying an "implements" clause affects a test, e.g., the test uses instanceof operation, Clover does not select the test. This is safety issue, i.e., a bug may be missed.

Steps to Reproduce: Run the bash script ./s provided in this directory. This script (1) runs the test class p.CTest with Clover, (2) removes the "implements" clause of p.CTest, and (3) runs p.CTest 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).

@marek-parfianowicz
Copy link
Member Author

Original report: https://bitbucket.org/openclover/clover/issues/54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant