Gradle-pitest-plugin.solidsoft.info is a subdomain of Solidsoft.info, which was created on 2011-03-30,making it 13 years ago.
Description:Gradle plugin for PIT Mutation...
Discover gradle-pitest-plugin.solidsoft.info website stats, rating, details and status online.Use our online tools to find owner and admin contact info. Find out where is server located.Read and write reviews or vote to improve it ranking. Check alliedvsaxis duplicates with related css, domain relations, most used words, social networks references. Go to regular site
HomePage size: 47.245 KB |
Page Load Time: 0.840582 Seconds |
Website IP Address: 185.199.108.153 |
Plugin Demos From A1WEBSITEPRO – AWESOME PLUGIN DEMOS FOR WORDPRESS demo.a1websitepro.com |
Gradle - Plugins plugins.gradle.org |
Flatcast Viewer Plugin Download - Flatcast Viewer is a Plugin for Internet Explorer, Mozilla, Netsca flatcast-viewer-plugin.software.informer.com |
Sauce Labs: Cross Browser Testing, Selenium Testing & Mobile Testing info.saucelabs.com |
Georgia DOT- OMR Pit & Quarry Registration Page pitquarry.dot.ga.gov |
Gaff Message Board - Gaff Message Board--for the love of the American Pit Bull Terrier, American Sta gaffboard.yuku.com |
American Pit Bull Terriers americangamedogkennels.webs.com |
Barbecue Restaurant | BBQ Near Me | Dickey’s Barbecue Pit order.dickeys.com |
Pit Bull Rescue Groups pitbull.rescueshelter.com |
Welcome to Garry's BBQ Pit bbq.netrelief.com |
The Fire Pit Store Blog - blog.thefirepitstore.com |
Take My Mutation Examination - Just another Examination Pro site mutation.examinationpro.com |
COG-UK Mutation sars2.cvr.gla.ac.uk |
gradle-pitest-plugin: Gradle plugin for PIT Mutation Testing https://gradle-pitest-plugin.solidsoft.info/ |
Connection: keep-alive |
Content-Length: 42894 |
Server: GitHub.com |
Content-Type: text/html; charset=utf-8 |
Last-Modified: Mon, 09 Oct 2023 17:45:25 GMT |
Access-Control-Allow-Origin: * |
ETag: "65243c35-a78e" |
expires: Mon, 13 May 2024 05:28:49 GMT |
Cache-Control: max-age=600 |
x-proxy-cache: MISS |
X-GitHub-Request-Id: F73A:2E7278:3464A01:360F8B3:6641A2B9 |
Accept-Ranges: bytes |
Age: 0 |
Date: Mon, 13 May 2024 05:18:49 GMT |
Via: 1.1 varnish |
X-Served-By: cache-bur-kbur8200163-BUR |
X-Cache: MISS |
X-Cache-Hits: 0 |
X-Timer: S1715577530.865569,VS0,VE94 |
Vary: Accept-Encoding |
X-Fastly-Request-ID: d9b22fc205f83bd8ff695cdbe2aa4c1408f618ac |
charset="utf-8"/ |
content="IE=edge" http-equiv="X-UA-Compatible"/ |
content="Jekyll v3.9.3" name="generator" |
content="Gradle plugin for PIT Mutation Testing" property="og:title" |
content="en_US" property="og:locale"/ |
content="Gradle plugin for PIT Mutation Testing" name="description"/ |
content="Gradle plugin for PIT Mutation Testing" property="og:description"/ |
content="https://gradle-pitest-plugin.solidsoft.info/" property="og:url"/ |
content="gradle-pitest-plugin" property="og:site_name"/ |
content="website" property="og:type"/ |
content="summary" name="twitter:card"/ |
content="Gradle plugin for PIT Mutation Testing" property="twitter:title"/ |
content="width=device-width, initial-scale=1, user-scalable=no" name="viewport"/ |
content="#353535" name="theme-color"/ |
content="#353535" name="msapplication-navbutton-color"/ |
content="black-translucent" name="apple-mobile-web-app-status-bar-style"/ |
Ip Country: United States |
Latitude: 34.0544 |
Longitude: -118.244 |
View On GitHub ZIP TAR DOWNLOADS gradle-pitest-plugin Gradle plugin for PIT Mutation Testing Project maintained by szpak Hosted on GitHub Pages — Theme by mattgraham Gradle plugin for PIT Mutation Testing The plugin provides an ability to perform a mutation testing and calculate a mutation coverage of a Gradle -based projects with PIT . Quick start The simplest way Add gradle-pitest-plugin to the plugins configuration in your build.gradle file: plugins { id ’java’ //or ’java-library’ - depending on your needs id ’info.solidsoft.pitest’ version ’1.15.0’ } Call Gradle with pitest task: gradle pitest After the measurements a report created by PIT will be placed in ${PROJECT_DIR}/build/reports/pitest directory. Optionally make it depend on build: build . dependsOn ’pitest’ Note that when making pitest depend on another task, it must be referred to by name. Otherwise Gradle will resolve pitest to the configuration and not the task. Generic approach The plugins way” has some limitations. As the primary repository for the plugin is the Central Repository (aka Maven Central) it is also possible to add the plugin to your project using the generic way”: buildscript { repositories { mavenCentral () //Needed only for SNAPSHOT versions //maven { url ’https://oss.sonatype.org/content/repositories/snapshots/’ } } dependencies { classpath ’info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.15.0’ } } Apply the plugin: apply plugin: ’java’ //or ’java-library’ - depending on your needs apply plugin: ’info.solidsoft.pitest’ Plugin configuration The Pitest plugin does not need to be additionally configured if you use JUnit 4. Customization is done in the pitest block: pitest { targetClasses = [ ’our.base.package.*’ ] //by default "${project.group}.*" pitestVersion = ’1.15.0’ //not needed when a default PIT version should be used threads = 4 outputFormats = [ ’XML’ , ’HTML’ ] timestampedReports = false } The configuration in Gradle is the real Groovy code which makes all assignments very intuitive. All values expected by PIT should be passed as a corresponding types. There is only one important difference. For the parameters where PIT expects a coma separated list of strings in a Gradle configuration a list of strings should be used (see outputFormats in the example above). Check PIT documentation for a list of all available command line parameters. The expected parameter format in a plugin configuration can be taken from PitestPluginExtension . To make life easier taskClasspath , mutableCodePaths , sourceDirs , reportDir , verbosity and pitestVersion are automatically set by the plugin. In addition sourceDirs , reportDir , verbosity and pitestVersion can be overridden by a user. There are a few parameters specific for Gradle plugin: testSourceSets - defines test source sets which should be used by PIT (by default sourceSets.test, but allows to add integration tests located in a different source set) mainSourceSets - defines main source sets which should be used by PIT (by default sourceSets.main) mainProcessJvmArgs - JVM arguments to be used when launching the main PIT process; make a note that PIT itself launches another Java processes for mutation testing execution and usually jvmArgs should be used to for example increase maximum memory size (see #7 ); additionalMutableCodePaths - additional classes to mutate (useful for integration tests with production code in a different module - see #25 ) useClasspathFile - enables passing additional classpath as a file content (useful for Windows users with lots of classpath elements, disabled by default) fileExtensionsToFilter - provides ability to filter additional file extensions from PIT classpath (see #53 ) For example: pitest { ... testSourceSets = [ sourceSets . test , sourceSets . integrationTest ] mainSourceSets = [ sourceSets . main , sourceSets . additionalMain ] jvmArgs = [ ’-Xmx1024m’ ] useClasspathFile = true //useful with bigger projects on Windows fileExtensionsToFilter . addAll ( ’xml’ , ’orbit’ ) } Test system properties PIT executes tests in a JVM independent of the JVM used by Gradle to execute tests. If your tests require some system properties, you have to pass them to PIT as the plugin won’t do it for you: test { systemProperty ’spring.test.constructor.autowire.mode’ , ’all’ } pitest { jvmArgs = [ ’-Dspring.test.constructor.autowire.mode=all’ ] } Eliminate warning in Idea As reported in #170 IntelliJ IDEA displays warnings about setting final fields (of lazy configuration ) in build.gradle . It is not a real problem as Gradle internally intercepts those calls and use a setter instead . Nevertheless, people which prefer to have no (less) warnings at the cost of less readable code can use setters instead, e.g: testSourceSets . set ([ sourceSets . test , sourceSets . integrationTest ]) mainSourceSets . set ([ sourceSets . main , sourceSets . additionalMain ]) jvmArgs . set ([ ’-Xmx1024m’ ]) useClasspathFile . set ( true ) //useful with bigger projects on Windows fileExtensionsToFilter . addAll ( ’xml’ , ’orbit’ ) Similar syntax can be used also for Kotlin configuration ( build.gradle.kts ). Multi-module projects support gradle-pitest-plugin can be used in multi-module projects . The gradle-pitest-plugin dependency should be added to the buildscript configuration in the root project while the plugin has to be applied in all subprojects which should be processed with PIT. A sample snippet from build.gradle located for the root project: //in root project configuration plugins { id ’info.solidsoft.pitest’ version ’1.15.0’ apply false } subprojects { apply plugin: ’java’ apply plugin: ’info.solidsoft.pitest’ pitest { threads = 4 if ( project . name in [ ’module-without-any-test’ ]) { failWhenNoMutations = false } } } It is possible to aggregate pitest report for multi-module project using plugin info.solidsoft.pitest.aggregator and task pitestReportAggregate . Root project must be properly configured to use pitestReportAggregate : //in root project configuration plugins { id ’info.solidsoft.pitest’ version ’1.15.0’ apply false } apply plugin: ’info.solidsoft.pitest.aggregator’ // to ’pitestReportAggregate’ appear subprojects { apply plugin: ’java’ apply plugin: ’info.solidsoft.pitest’ pitest { // export mutations.xml and line coverage for aggregation outputFormats = [ "XML" ] exportLineCoverage = true timestampedReports = false ... reportAggregator { //since 1.9.11 - extra results validation, if needed testStrengthThreshold . set ( 50 ) //simpler Groovy syntax (testStrengthThreshold = 50) does not seem to be supported for nested properties mutationThreshold . set ( 40 ) maxSurviving . set ( 3 ) } } } After the pitest pitestReportAggregate tasks execution, the aggregated report will be placed in the ${PROJECT_DIR}/build/reports/pitest directory. Integration tests in separate subproject It is possible to mutate code located in different subproject. Gradle internally does not rely on output directory from other subproject, but builds JAR and uses classes from it. For PIT those are two different sets of class files, so to make it work it is required to define both mainSourceSets and additionalMutableCodePaths . For example: configure ( project ( ’:itest’ )) { apply plugin: ’info.solidsoft.pitest’ dependencies { compile project ( ’:shared’ ) } configurations { mutableCodeBase { transitive false } } dependencies { mutableCodeBase project ( ’:shared’ ) } pitest { mainSourceSets = [ project . sourceSets . main , project ( ’:shared’ ). sourceSets . main ] additionalMutableCodePaths = [ configurations . mutableCodeBase . singleFile ] } } The above is the way recommended by the Gradle team , but in specific cases the simpler solution should also work: configure ( project ( ’:itest’ )) { apply plugin: ’info.solidsoft.pitest’ dependencies { compile project ( ’:shared’ ) } pitest { mainSourceSets = [ project . sourceSets . main , project ( ’:shared’ ). sourceSets . main ] additionalMutableCodePaths = project ( ’:shared’ )....
Domain Name: solidsoft.info Registry Domain ID: 22c8ef6e28a04ee49d3e7be62ca7b59a-DONUTS Registrar WHOIS Server: whois.netart-registrar.com Registrar URL: http://www.netart-registrar.com/web/whois Updated Date: 2024-02-06T19:53:16Z Creation Date: 2011-03-30T06:42:43Z Registry Expiry Date: 2027-03-30T06:42:43Z Registrar: NetArt Registrar Sp. z o.o. Registrar IANA ID: 1456 Registrar Abuse Contact Email: abuse@netart-registrar.com Registrar Abuse Contact Phone: +48.224544885 Domain Status: ok https://icann.org/epp#ok Registrant Organization: Solid Soft Marcin Zajaczkowski Registrant State/Province: mazowieckie Registrant Country: PL Name Server: ns1.nazwa.pl Name Server: ns2.nazwa.pl Name Server: ns3.nazwa.pl DNSSEC: signedDelegation >>> Last update of WHOIS database: 2024-05-17T18:06:19Z <<<