Skip to content

Latest commit

 

History

History
62 lines (52 loc) · 2.61 KB

README.md

File metadata and controls

62 lines (52 loc) · 2.61 KB

Descartes_on_Spoon

This repository contains the pit report generated after running Descartes on Spoon.

How to view the pit-report?

To view the pit-report download this repo and then open index.html in your local server.

Screen Shot 2021-04-30 at 12 50 03-fullpage

How many methods and tests does this report covers?

This report is generated using all the methods and tests in Spoon.

If you are looking for reports generated after running on subsets of methods and tests, check this.

How can this report generated?

Screenshot 2021-04-30 at 12 51 52 PM

To generate this report add this plugin in Spoon.

        <plugin>
            <groupId>org.pitest</groupId>
            <artifactId>pitest-maven</artifactId>
            <version>1.6.4</version>
            <configuration>
                <mutationEngine>descartes</mutationEngine>
                <targetClasses>
                    <param>spoon.compiler.*</param>
                    <param>spoon.experimental.*</param>
                    <param>spoon.javadoc.*</param>
                    <param>spoon.legacy.*</param>
                    <param>spoon.metamodel.*</param>
                    <param>spoon.pattern.*</param>
                    <param>spoon.refactoring.*</param>
                    <param>spoon.template.*</param>
                    <param>spoon.processing.*</param>
                    <param>spoon.reflect.*</param>
                    <param>spoon.support.*</param>
                    <param>spoon.testing.*</param>
                </targetClasses>
                <targetTests>
                    <param>spoon.*</param>
                </targetTests>
                <skipFailingTests>true</skipFailingTests>
            </configuration>
            <dependencies>
                <dependency>
                    <groupId>eu.stamp-project</groupId>
                    <artifactId>descartes</artifactId>
                    <version>1.3.1</version>
                </dependency>
            </dependencies>
        </plugin>

And then run these commands

cd my-project-under-test
mvn clean package # ensures clean state
mvn org.pitest:pitest-maven:mutationCoverage