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
I am facing a strange issue while using DSpot when I run the amplification on several test classes using DSpot.amplifyAllTests().
I am using dhell as a test project.
After the amplification is performed on the first test class, the binary of the class is deleted.
(see Dspot.amplifyTest:201).
The point is that during the amplification of the subsequent class I get an error because the coverage is run against all classes. The whole command line is:
as you can see there are both HelloAppTest and MyStorageTest but when JacocoTestRunner tries to find the binary of the first one it fails, so the whole process fails.
I do not know if somehow the generated command line is wrong or the binary should not be deleted in the first place,
Strangely enough, I cannot reproduce the issue with the existing tests.
I am trying to write one that captures the issue.
The text was updated successfully, but these errors were encountered:
I am facing a strange issue while using DSpot when I run the amplification on several test classes using
DSpot.amplifyAllTests()
.I am using dhell as a test project.
After the amplification is performed on the first test class, the binary of the class is deleted.
(see
Dspot.amplifyTest:201
).The point is that during the amplification of the subsequent class I get an error because the coverage is run against all classes. The whole command line is:
java -classpath C:\windows\system32\config\systemprofile\.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\windows\system32\config\systemprofile\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;D:\PROGRAMS\Jenkins\workspace\dhell-compile\target\classes\;D:\PROGRAMS\Jenkins\workspace\dhell-compile\target\test-classes\;D:\PROGRAMS\Jenkins\plugins\dspot-jenkins-plugin\WEB-INF\lib\test-runner-1.1.2-SNAPSHOT.jar;D:\PROGRAMS\Jenkins\plugins\dspot-jenkins-plugin\WEB-INF\lib\org.jacoco.core-0.7.9.jar;D:\PROGRAMS\Jenkins\plugins\dspot-jenkins-plugin\WEB-INF\lib\asm-debug-all-5.2.jar;D:\PROGRAMS\Jenkins\war\WEB-INF\lib\commons-io-2.4.jar eu.stamp_project.testrunner.runner.coverage.JacocoRunner D:\PROGRAMS\Jenkins\workspace\dhell-compile\target\classes\;D:\PROGRAMS\Jenkins\workspace\dhell-compile\target\test-classes\ eu.stamp_project.examples.dhell.HelloAppTest;eu.stamp_project.examples.dhell.MyStorageTest
as you can see there are both
HelloAppTest
andMyStorageTest
but whenJacocoTestRunner
tries to find the binary of the first one it fails, so the whole process fails.I do not know if somehow the generated command line is wrong or the binary should not be deleted in the first place,
Strangely enough, I cannot reproduce the issue with the existing tests.
I am trying to write one that captures the issue.
The text was updated successfully, but these errors were encountered: