Giter Club home page Giter Club logo

pitest-ant-example's People

Contributors

hcoles avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

pitest-ant-example's Issues

How to add ExportLineCoverage?

I have run pitest-ant-example successfully, however, when I add 'exportLineCoverage' in the , the build wil fail:
/home/lizj2018/research/dl_fl/pitest-ant-example/build.xml:119: pitest doesn't support the "exportLineCoverage" attribute

However, I have read the code the Pitest of release 1.2.0, and there are options for "exportLineCoverage" in ConfigOptions.java. So why is it not working?
Thanks.

scan all subdirectories for classes to mutate.

Screenshot 2022-02-27 at 6 48 45 AM

Code works perfectly but I want to apply the same code to other projects instead of reentering the path to the target classes I want it to search for all classes in the parent and subfolder? I thought just entering * would work but it doesn't and gives me this cause it considers all classes in Pit itself. lol

Screenshot 2022-02-28 at 12 35 36 AM

Any way I can get all files in a subfolder instead of telling it exactly where the files are.

Error: Running this example with PIT 1.15.3

The ant example is failing with the latest PIT 1.15.3 for me. I did upgrade the pitest libs to 1.15.3. Build failed with the below info:
pit:
[pitest] Exception in thread "main" java.lang.NoSuchMethodError: org.pitest.plugin.Feature.isMissing()Z
[pitest] at org.pitest.mutationtest.config.PluginServices.lambda$adjustMissingFeatures$1(PluginServices.java:118)
[pitest] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
[pitest] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
[pitest] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
[pitest] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
[pitest] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
[pitest] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[pitest] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
[pitest] at org.pitest.mutationtest.config.PluginServices.adjustMissingFeatures(PluginServices.java:119)
[pitest] at org.pitest.mutationtest.config.PluginServices.findListeners(PluginServices.java:85)
[pitest] at org.pitest.mutationtest.config.PluginServices.findToolClasspathPlugins(PluginServices.java:47)
[pitest] at org.pitest.mutationtest.config.PluginServices.findFeatures(PluginServices.java:105)
[pitest] at org.pitest.mutationtest.config.SettingsFactory.checkRequestedFeatures(SettingsFactory.java:121)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:84)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:57)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:98)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)

BUILD FAILED

What am I doing wrong?

Out-dated lib folder

I believe the lib folder of the pitest-ant-example is out-dated. When i try to run the program with the command (ant pit) an error message appears that build failed. By adding the new pitest.jar and pitest-ant.jar files build is successful.

For anyone interested downloading the latest jar files can click the following link:

http://pitest.org/downloads/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.