pitest / pitclipse

Mutation testing for Java in Eclipse IDE. Based on PIT (Pitest).
https://pitest.org
Apache License 2.0
59 stars 17 forks source link

Could not find or load main class pitclipse.runner #218

Open ctw3883 opened 1 year ago

ctw3883 commented 1 year ago

Bug description

Error: Could not find or load main class org.pitest.pitclipse.runner.PitRunnerMain in module XYZ

Expected behavior

Expect the program to run to see mutation tests

How to reproduce

Steps to reproduce the behavior: Run as 'PIT Mutation Test'

I tried this on 2 separate java projects.

I found results but no solution on : https://groups.google.com/g/pitusers/c/SLathUh4v7s found by google searching: 'Error: Could not find or load main class org.pitest.pitclipse.runner.PitRunnerMain in module'

Additional context

VictorAfonso044 commented 1 year ago

Same issue here. l guess is something with Junit5

Pitclipse version: 2.2.0 Eclipse IDE version: 4.5.0.RELEASE

LorenzoBettini commented 1 year ago

I need something, e.g., a minimal project, to reproduce the problem

Fauziakhangs commented 9 months ago

Hi,

When I try to run pittest on eclipse, I am getting this error "Error: Could not find or load main class org.pitest.pitclipse.runner.PitRunnerMain in module Max " . Can anyone help in resolving this issue.

LorenzoBettini commented 9 months ago

@Fauziakhangs as I said above, I need something, e.g., a minimal project, to reproduce the problem

Fauziakhangs commented 9 months ago

https://github.com/Fauziakhangs/PitestExm/tree/main I am trying to execute Pitest on JUnit Test1 but encountering the above error.

Fauziakhangs commented 9 months ago

@LorenzoBettini

LorenzoBettini commented 9 months ago

Provide a project, not a zip file