generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from amosproj/34-Develop-and-Document-Basic-Te…
…sting-Framework-for-Plugins-with-Example 34 develop and document basic testing framework for plugins with example
- Loading branch information
Showing
7 changed files
with
157 additions
and
159 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '17' | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build --no-daemon | ||
|
||
- name: Run Tests | ||
run: ./gradlew test --no-daemon |
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
107 changes: 0 additions & 107 deletions
107
pitmutationmate/src/main/resources/test_report/index.html
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
pitmutationmate/src/test/resources/test_report/mutations_additionalNodes.xml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mutations> | ||
<mutation detected='true' status='KILLED' numberOfTestsRun='1'> | ||
<sourceFile>Presenter.java</sourceFile> | ||
<mutatedClass>de.esolutions.pitest.showcase.Presenter</mutatedClass> | ||
<mutatedMethod><init></mutatedMethod> | ||
<additionalTestNode>test</additionalTestNode> | ||
<methodDescription>(Lde/esolutions/pitest/showcase/View;Lde/esolutions/pitest/showcase/Model;)V</methodDescription> | ||
<lineNumber>10</lineNumber> | ||
<mutator>org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator</mutator> | ||
<indexes><index>15</index></indexes> | ||
<blocks><block>1</block></blocks> | ||
<killingTest>de.esolutions.pitest.showcase.PresenterTest.[engine:junit-jupiter]/[class:de.esolutions.pitest.showcase.PresenterTest]/[method:shouldSetDataCorrectlyWhenFilterIsSet()]</killingTest> | ||
<description>removed call to de/esolutions/pitest/showcase/View::onFilterSelected</description></mutation> | ||
</mutations> |
14 changes: 14 additions & 0 deletions
14
pitmutationmate/src/test/resources/test_report/mutations_missingXmlNode.xml
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mutations> | ||
<mutation detected='true' status='KILLED' > | ||
<sourceFile>Presenter.java</sourceFile> | ||
<mutatedClass>de.esolutions.pitest.showcase.Presenter</mutatedClass> | ||
<methodDescription>(Lde/esolutions/pitest/showcase/View;Lde/esolutions/pitest/showcase/Model;)V</methodDescription> | ||
<lineNumber>10</lineNumber> | ||
<mutator>org.pitest.mutationtest.engine.gregor.mutators.VoidMethodCallMutator</mutator> | ||
<indexes><index>15</index></indexes> | ||
<blocks><block>1</block></blocks> | ||
<killingTest>de.esolutions.pitest.showcase.PresenterTest.[engine:junit-jupiter]/[class:de.esolutions.pitest.showcase.PresenterTest]/[method:shouldSetDataCorrectlyWhenFilterIsSet()]</killingTest> | ||
<description>removed call to de/esolutions/pitest/showcase/View::onFilterSelected</description> | ||
</mutation> | ||
</mutations> |