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
Summary: If a class is moved from one directory to another (without changing the package name), and the class is changed, Clover does not detect the modification. This is a 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 test with clover, (2) moves class C2 from src/test to src/main, (3) changes the return value of method f under test, and (4) runs the same test with Clover again.
Expected Results: p.C1Test fails in the second execution.
Actual Results: p.C1Test passes in the second execution.
Explanation: Clover keeps the original instrumented class in target/clover/src-instrumented/ although it should be deleted.
The text was updated successfully, but these errors were encountered:
Summary: If a class is moved from one directory to another (without changing the package name), and the class is changed, Clover does not detect the modification. This is a 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 test with clover, (2) moves class C2 from src/test to src/main, (3) changes the return value of method f under test, and (4) runs the same test with Clover again.
Expected Results: p.C1Test fails in the second execution.
Actual Results: p.C1Test passes in the second execution.
Explanation: Clover keeps the original instrumented class in target/clover/src-instrumented/ although it should be deleted.
The text was updated successfully, but these errors were encountered: