Running pitest in SF110

17 views
Skip to first unread message

Esdras Caleb

unread,
Feb 2, 2025, 8:35:09 AMFeb 2
to PIT Users
Hi, I am a little noob. I am doing a benchmark project with the SF110 and I want to test my generated tests with pitest.
Different sources make my tests and are in different folders inside of every project of the SF110, but these projects are not maven and do not have a pom.xml. I tried the stand-alone in my mother project without avail:
java -cp "~/.m2/repository/org/pitest/pitest-command-line/1.17.4/pitest-command-line-1.17.4.jar:~/.m2/repository/org/pitest/pitest/1.17.4/pitest-1.17.4.jar:~/IdeaProjects/SF110/1_tullibee/target/*:~/IdeaProjects/SF110/1_tullibee/lib/*:~/IdeaProjects/SF110/1_tullibee/test-lib/*"     org.pitest.mutationtest.commandline.MutationCoverageReport     --reportDir pit-reports     --targetClasses com.ib.client.*     --targetTests com.ib.client.*Test     --sourceDirs ~/IdeaProjects/SF110/1_tullibee/src/main/java

Erro: Não foi possível localizar nem carregar a classe principal org.pitest.mutationtest.commandline.MutationCoverageReport
Causada por: java.lang.ClassNotFoundException: org.pitest.mutationtest.commandline.MutationCoverageReport

What am I doing wrong?

Thx, and sorry I am weeks trying to figure this out, even tried to use it inside the code but all api is private.

Regards, Esdras Caleb

Esdras Caleb

unread,
Feb 3, 2025, 3:29:49 PMFeb 3
to pitu...@googlegroups.com
So to anyone as noob as my here is how I managed to run it. I build all package as an arctifate using inteliJ and the github repository.
I hope to run it now

--
You received this message because you are subscribed to a topic in the Google Groups "PIT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pitusers/tWW8lZjYRxU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pitusers+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pitusers/f11b9fcb-978f-4c93-9260-a3d0271150fen%40googlegroups.com.


--


す - "Não se VAI à Igreja. Se É Igreja."
Reply all
Reply to author
Forward
0 new messages