-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Simon Priadka
committed
Dec 8, 2017
1 parent
d9f5dc7
commit b5e8592
Showing
102 changed files
with
19 additions
and
1,424 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,30 @@ calculate a mutation coverage of a [Gradle](https://gradle.org/)-based projects | |
Add gradle-pitest-plugin to the `plugins` configuration in your `build.gradle` file: | ||
|
||
plugins { | ||
id "info.solidsoft.pitest" version "1.2.2" | ||
id "info.solidsoft.pitest" version "1.3.0-SNAPSHOT" | ||
} | ||
|
||
Call Gradle with pitest task: | ||
|
||
gradle pitest | ||
|
||
### SCM task | ||
|
||
SCM task runs PIT on mutations on target classes based on their SCM status | ||
To execute SCM task, task must be configured correctly. SCM task configuration example: | ||
|
||
scmPitest { | ||
scm { | ||
connection = "scm:git:[email protected]/sample" | ||
} | ||
connectionType = "connection" | ||
scmRoot = projectDir | ||
include = ['added','modified','checked-in'] | ||
} | ||
|
||
To apply, call scmPitest task: | ||
|
||
gradle scmPitest | ||
|
||
After the measurements a report created by PIT will be placed in `${PROJECT_DIR}/build/reports/pitest` directory. | ||
|
||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
...c/test/groovy/info/solidsoft/gradle/pitest/functional/AbstractPitestFunctionalSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...lidsoft/gradle/pitest/functional/AcceptanceTestsInSeparateSubprojectFunctionalSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...c/test/groovy/info/solidsoft/gradle/pitest/functional/OverridePluginFunctionalSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...rc/test/groovy/info/solidsoft/gradle/pitest/functional/PitestPluginFunctional1Spec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...rc/test/groovy/info/solidsoft/gradle/pitest/functional/PitestPluginFunctional2Spec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...ts/src/test/groovy/info/solidsoft/gradle/pitest/functional/ScmPitestFunctionalSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...rc/test/groovy/info/solidsoft/gradle/pitest/functional/TargetClassesFunctionalSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/multiproject/build.gradle
100644 → 100755
Empty file.
Empty file modified
0
...cts/multiproject/itest/src/main/java/pitest/sample/multimodule/itest/IntegrationUtil.java
100644 → 100755
Empty file.
Empty file modified
0
...cts/multiproject/itest/src/test/java/pitest/sample/multimodule/itest/IntegrationTest.java
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/multiproject/settings.gradle
100644 → 100755
Empty file.
Empty file modified
0
...stProjects/multiproject/shared/src/main/java/pitest/sample/multimodule/shared/Shared.java
100644 → 100755
Empty file.
Empty file modified
0
...ojects/multiproject/shared/src/test/java/pitest/sample/multimodule/shared/SharedTest.java
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/scmProject/build.gradle
100644 → 100755
Empty file.
1,423 changes: 0 additions & 1,423 deletions
1,423
functional-tests/src/test/resources/testProjects/scmProject/debug
This file was deleted.
Oops, something went wrong.
Empty file modified
0
...tional-tests/src/test/resources/testProjects/scmProject/gradle/wrapper/gradle-wrapper.jar
100644 → 100755
Empty file.
Empty file modified
0
...tests/src/test/resources/testProjects/scmProject/gradle/wrapper/gradle-wrapper.properties
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/scmProject/gradlew.bat
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/scmProject/settings.gradle
100644 → 100755
Empty file.
Empty file modified
0
...st/resources/testProjects/scmProject/src/main/java/pitest/test/scm/LastCommitManager.java
100644 → 100755
Empty file.
Empty file modified
0
...src/test/resources/testProjects/scmProject/src/main/java/pitest/test/scm/SampleClass.java
100644 → 100755
Empty file.
Empty file modified
0
...s/scmProject/src/main/resources/META-INF/services/org.apache.maven.scm.manager.ScmManager
100644 → 100755
Empty file.
Empty file modified
0
...test/resources/testProjects/scmProject/src/test/java/pitest/test/scm/SampleClassTest.java
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/simple1/build.gradle
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/simple1/gradlew.bat
100644 → 100755
Empty file.
Empty file modified
0
functional-tests/src/test/resources/testProjects/simple1/settings.gradle
100644 → 100755
Empty file.
Empty file modified
0
...onal-tests/src/test/resources/testProjects/simple1/src/main/java/pitest/test/Library.java
100644 → 100755
Empty file.
Empty file modified
0
...-tests/src/test/resources/testProjects/simple1/src/test/java/pitest/test/LibraryTest.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
...s/src/test/groovy/info/solidsoft/gradle/pitest/integration/BasicProjectBuilderSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...groovy/info/solidsoft/gradle/pitest/integration/PitestPluginClasspathFilteringSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
...test/groovy/info/solidsoft/gradle/pitest/integration/PitestPluginTargetClassesTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
...on-tests/src/test/groovy/info/solidsoft/gradle/pitest/integration/PitestPluginTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
...st/groovy/info/solidsoft/gradle/pitest/integration/PitestPluginTypesConversionTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
...c/test/groovy/info/solidsoft/gradle/pitest/integration/PitestTaskConfigurationSpec.groovy
100644 → 100755
Empty file.
Empty file modified
0
.../groovy/info/solidsoft/gradle/pitest/integration/PitestTaskIncrementalAnalysisTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
.../groovy/info/solidsoft/gradle/pitest/integration/PitestTaskPluginConfigurationTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
...est/groovy/info/solidsoft/gradle/pitest/integration/ScmPitestTaskConfigurationTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
...sts/src/test/groovy/info/solidsoft/gradle/pitest/integration/ScmPitestTaskGoalTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
...est/groovy/info/solidsoft/gradle/pitest/integration/ScmPitestTaskScmConnectionTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
.../test/groovy/info/solidsoft/gradle/pitest/integration/WithPitestTaskInitialization.groovy
100644 → 100755
Empty file.
Empty file modified
0
...st/groovy/info/solidsoft/gradle/pitest/integration/WithScmPitestTaskInitialization.groovy
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/PitestPlugin.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/PluginConstants.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/exception/ChangeLogException.groovy
100644 → 100755
Empty file.
Empty file modified
0
...in/groovy/info/solidsoft/gradle/pitest/exception/InvalidChangeLogStrategyException.groovy
100644 → 100755
Empty file.
Empty file modified
0
...c/main/groovy/info/solidsoft/gradle/pitest/exception/PitestTaskValidationException.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/extension/PitestPluginExtension.groovy
100644 → 100755
Empty file.
Empty file modified
0
...in/src/main/groovy/info/solidsoft/gradle/pitest/extension/ScmPitestPluginExtension.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/scm/ManagerService.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/scm/PathToClassNameConverter.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/scm/ScmConnection.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/scm/ScmContext.groovy
100644 → 100755
Empty file.
Empty file modified
0
...rc/main/groovy/info/solidsoft/gradle/pitest/scm/strategy/AbstractChangeLogStrategy.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/scm/strategy/ChangeLogStrategy.groovy
100644 → 100755
Empty file.
Empty file modified
0
.../src/main/groovy/info/solidsoft/gradle/pitest/scm/strategy/CustomChangeLogStrategy.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/scm/strategy/LastCommitStrategy.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/scm/strategy/LocalChangesStrategy.groovy
100644 → 100755
Empty file.
Empty file modified
0
...info/solidsoft/gradle/pitest/scm/strategy/factory/AbstractChangeLogStrategyFactory.groovy
100644 → 100755
Empty file.
Empty file modified
0
.../groovy/info/solidsoft/gradle/pitest/scm/strategy/factory/ChangeLogStrategyFactory.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/task/AbstractPitestTask.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/task/PitestTask.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/task/ScmPitestTask.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/validation/AbstractTaskValidator.groovy
100644 → 100755
Empty file.
Empty file modified
0
...in/src/main/groovy/info/solidsoft/gradle/pitest/validation/ConnectionTypeValidator.groovy
100644 → 100755
Empty file.
Empty file modified
0
...in/src/main/groovy/info/solidsoft/gradle/pitest/validation/CustomStrategyValidator.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/validation/GoalValidator.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/validation/ScmPitestTaskValidator.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/validation/TaskPropertyValidator.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/groovy/info/solidsoft/gradle/pitest/validation/TaskValidator.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/main/resources/META-INF/gradle-plugins/info.solidsoft.pitest.properties
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/test/groovy/info/solidsoft/gradle/pitest/CustomScmManager.java
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/test/groovy/info/solidsoft/gradle/pitest/CustomStrategyTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/test/groovy/info/solidsoft/gradle/pitest/LastCommitStrategyTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/test/groovy/info/solidsoft/gradle/pitest/LocalChangesStrategyTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/test/groovy/info/solidsoft/gradle/pitest/ManagerServiceTest.groovy
100644 → 100755
Empty file.
Empty file modified
0
plugin/src/test/groovy/info/solidsoft/gradle/pitest/PathToClassNameConvertedTest.groovy
100644 → 100755
Empty file.
Empty file.