Lorenzo Bettini
Lorenzo Bettini
I succeeded in analyzing an external PR with SonarCloud (I created a very small project so it was easy to experiment); I've used a mix of `pull_request_target` (note that's different...
I think that what you're implementing should be somehow testable (and as usual, I'd go for full coverage, possibly by delegating the handling of corner cases, like CoreException, to utility...
It's already possible to store a Pitclipe launch configuration in a project, but one cannot specify in the launch configuration the set of mutators to enable (by the way, it...
First of all, I agree this feature would be really nice > > It's already possible to store a Pitclipe launch configuration in a project > > True, but I...
I'm experiencing class loading problems in tests, e.g., ``` java.lang.NoClassDefFoundError: org/pitest/mutationtest/config/PluginServices at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:35) at org.pitest.pitclipse.runner.PitRunner.apply(PitRunner.java:36) at org.pitest.pitclipse.runner.PitRunnerTest.shouldRunPitest(PitRunnerTest.java:84) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)...
In PitRunnerTests I changed the way we load jars ```java private static List classPathWithPitestAndJUnit() throws IOException { final String jarDir = "lib"; EquinoxBundle pitestBundle = (EquinoxBundle) Platform.getBundle("org.pitest.bundles"); Bundle[] bundles =...
Another symptom that something is wrong with classloading is this test ``` @Test public void shouldFindAllAvailableMutationResultListeners() { ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); Collection factories = ServiceLoader.load(MutationResultListenerFactory.class, contextClassLoader); Set factoriesName = factories.stream().map(f...
For the moment, I'm stopping working on that; maybe in the future, I'll get back to that.
> This is confusingly inconsistent: > > * The current target platform uses 2022-06, thereby leading to deprecation warnings. Yes, I know. Note that there's another one besides the ones...
In Java 8 we have ```java public ObjectInputStream(InputStream in) throws IOException { verifySubclass(); bin = new BlockDataInputStream(in); handles = new HandleTable(10); vlist = new ValidationList(); serialFilter = ObjectInputFilter.Config.getSerialFilter(); enableOverride =...