upload
This commit is contained in:
53
.gitea/workflows/gradle-ci.yml
Normal file
53
.gitea/workflows/gradle-ci.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
name: Gradle CI with Jacoco
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
|
||||
- name: Cache Gradle
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Build & Test with Jacoco
|
||||
run: ./gradlew clean test jacocoTestReport
|
||||
|
||||
- name: Upload Jacoco HTML Report
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: jacoco-html-report
|
||||
path: build/jacocoHtml
|
||||
|
||||
- name: Upload Jacoco XML Report
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: jacoco-xml-report
|
||||
path: build/customJacocoReportDir/*.xml
|
||||
|
||||
- name: Upload Jacoco CSV Report
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: jacoco-csv-report
|
||||
path: build/reports/jacoco/jacoco.csv
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -40,7 +40,7 @@ test {
|
||||
jacocoTestReport {
|
||||
dependsOn test
|
||||
reports {
|
||||
xml.required = false
|
||||
xml.required = true
|
||||
csv.required = true
|
||||
html.outputLocation.set(layout.buildDirectory.dir('jacocoHtml'))
|
||||
csv.destination file("${build}/reports/jacoco/jacoco.csv")
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED
|
||||
GSE2TaskTracker,hhn.temp.project,Task,0,115,0,16,0,36,0,19,0,11
|
||||
GSE2TaskTracker,hhn.temp.project,TaskManager,0,191,0,22,0,35,0,23,0,12
|
||||
GSE2TaskTracker,hhn.temp.project,Main,0,3,0,0,0,1,0,1,0,1
|
||||
GSE2TaskTracker,hhn.temp.project,TaskStatus,0,21,0,0,0,2,0,1,0,1
|
||||
GSE2TaskTracker,hhn.temp.project.expections,TaskAlreadyExistsException,0,4,0,0,0,2,0,1,0,1
|
||||
GSE2TaskTracker,hhn.temp.project.expections,TaskHasNoWorkerException,0,4,0,0,0,2,0,1,0,1
|
||||
|
1
build/customJacocoReportDir/test/jacocoTestReport.xml
Normal file
1
build/customJacocoReportDir/test/jacocoTestReport.xml
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1,7 +0,0 @@
|
||||
GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED
|
||||
GSE2TaskTracker,hhn.temp.project,Task,0,115,0,16,0,36,0,19,0,11
|
||||
GSE2TaskTracker,hhn.temp.project,TaskManager,0,191,0,22,0,35,0,23,0,12
|
||||
GSE2TaskTracker,hhn.temp.project,Main,0,3,0,0,0,1,0,1,0,1
|
||||
GSE2TaskTracker,hhn.temp.project,TaskStatus,0,21,0,0,0,2,0,1,0,1
|
||||
GSE2TaskTracker,hhn.temp.project.expections,TaskAlreadyExistsException,0,4,0,0,0,2,0,1,0,1
|
||||
GSE2TaskTracker,hhn.temp.project.expections,TaskHasNoWorkerException,0,4,0,0,0,2,0,1,0,1
|
||||
|
@@ -650,7 +650,7 @@ code + .copy-button {
|
||||
<script type="text/javascript">
|
||||
function configurationCacheProblems() { return (
|
||||
// begin-report-data
|
||||
{"diagnostics":[{"locations":[{}],"problem":[{"text":"Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated."}],"severity":"WARNING","problemDetails":[{"text":"This is scheduled to be removed in Gradle 10.0."}],"contextualLabel":"Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated.","documentationLink":"https://docs.gradle.org/8.14/userguide/upgrading_version_8.html#groovy_space_assignment_syntax","problemId":[{"name":"deprecation","displayName":"Deprecation"},{"name":"properties-should-be-assigned-using-the-propname-value-syntax-setting-a-property-via-the-gradle-generated-propname-value-or-propname-value-syntax-in-groovy-dsl","displayName":"Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated."}],"solutions":[[{"text":"Use assignment ('destination = <value>') instead."}]]},{"locations":[{}],"problem":[{"text":"The Report.destination property has been deprecated."}],"severity":"WARNING","problemDetails":[{"text":"This is scheduled to be removed in Gradle 9.0."}],"contextualLabel":"The Report.destination property has been deprecated.","documentationLink":"https://docs.gradle.org/8.14/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:destination","problemId":[{"name":"deprecation","displayName":"Deprecation"},{"name":"the-report-destination-property-has-been-deprecated","displayName":"The Report.destination property has been deprecated."}],"solutions":[[{"text":"Please use the outputLocation property instead."}]]}],"problemsReport":{"totalProblemCount":2,"buildName":"GSE2TaskTracker","requestedTasks":":test","documentationLink":"https://docs.gradle.org/8.14/userguide/reporting_problems.html","documentationLinkCaption":"Problem report","summaries":[]}}
|
||||
{"diagnostics":[{"locations":[{}],"problem":[{"text":"Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated."}],"severity":"WARNING","problemDetails":[{"text":"This is scheduled to be removed in Gradle 10.0."}],"contextualLabel":"Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated.","documentationLink":"https://docs.gradle.org/8.14/userguide/upgrading_version_8.html#groovy_space_assignment_syntax","problemId":[{"name":"deprecation","displayName":"Deprecation"},{"name":"properties-should-be-assigned-using-the-propname-value-syntax-setting-a-property-via-the-gradle-generated-propname-value-or-propname-value-syntax-in-groovy-dsl","displayName":"Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated."}],"solutions":[[{"text":"Use assignment ('destination = <value>') instead."}]]},{"locations":[{}],"problem":[{"text":"The Report.destination property has been deprecated."}],"severity":"WARNING","problemDetails":[{"text":"This is scheduled to be removed in Gradle 9.0."}],"contextualLabel":"The Report.destination property has been deprecated.","documentationLink":"https://docs.gradle.org/8.14/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:destination","problemId":[{"name":"deprecation","displayName":"Deprecation"},{"name":"the-report-destination-property-has-been-deprecated","displayName":"The Report.destination property has been deprecated."}],"solutions":[[{"text":"Please use the outputLocation property instead."}]]}],"problemsReport":{"totalProblemCount":2,"buildName":"GSE2TaskTracker","requestedTasks":"","documentationLink":"https://docs.gradle.org/8.14/userguide/reporting_problems.html","documentationLinkCaption":"Problem report","summaries":[]}}
|
||||
// end-report-data
|
||||
);}
|
||||
</script>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="infoBox" id="duration">
|
||||
<div class="counter">0.012s</div>
|
||||
<div class="counter">0.011s</div>
|
||||
<p>duration</p>
|
||||
</div>
|
||||
</td>
|
||||
@@ -108,7 +108,7 @@
|
||||
<tr>
|
||||
<td class="success">Get a Exeption by setWorker and getWorker</td>
|
||||
<td class="success">assertExeptionBySetAndGetAuthorOfATask()</td>
|
||||
<td class="success">0.001s</td>
|
||||
<td class="success">0s</td>
|
||||
<td class="success">passed</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -121,7 +121,7 @@
|
||||
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
||||
</label>
|
||||
</div>Generated by
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:23:47</p>
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:31:10</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="infoBox" id="duration">
|
||||
<div class="counter">0.001s</div>
|
||||
<div class="counter">0.003s</div>
|
||||
<p>duration</p>
|
||||
</div>
|
||||
</td>
|
||||
@@ -84,13 +84,13 @@
|
||||
<tr>
|
||||
<td class="success">Create a new Task</td>
|
||||
<td class="success">assertCreateNewTask()</td>
|
||||
<td class="success">0s</td>
|
||||
<td class="success">0.001s</td>
|
||||
<td class="success">passed</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="success">Delete Task</td>
|
||||
<td class="success">assertDeleteTask()</td>
|
||||
<td class="success">0s</td>
|
||||
<td class="success">0.001s</td>
|
||||
<td class="success">passed</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -115,7 +115,7 @@
|
||||
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
||||
</label>
|
||||
</div>Generated by
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:23:47</p>
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:31:10</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="infoBox" id="duration">
|
||||
<div class="counter">0.013s</div>
|
||||
<div class="counter">0.014s</div>
|
||||
<p>duration</p>
|
||||
</div>
|
||||
</td>
|
||||
@@ -85,7 +85,7 @@
|
||||
<td>11</td>
|
||||
<td>0</td>
|
||||
<td>0</td>
|
||||
<td>0.013s</td>
|
||||
<td>0.014s</td>
|
||||
<td class="success">100%</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -112,7 +112,7 @@
|
||||
<td>6</td>
|
||||
<td>0</td>
|
||||
<td>0</td>
|
||||
<td>0.012s</td>
|
||||
<td>0.011s</td>
|
||||
<td class="success">100%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -122,7 +122,7 @@
|
||||
<td>5</td>
|
||||
<td>0</td>
|
||||
<td>0</td>
|
||||
<td>0.001s</td>
|
||||
<td>0.003s</td>
|
||||
<td class="success">100%</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -136,7 +136,7 @@
|
||||
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
||||
</label>
|
||||
</div>Generated by
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:23:47</p>
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:31:10</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="infoBox" id="duration">
|
||||
<div class="counter">0.013s</div>
|
||||
<div class="counter">0.014s</div>
|
||||
<p>duration</p>
|
||||
</div>
|
||||
</td>
|
||||
@@ -83,7 +83,7 @@
|
||||
<td>6</td>
|
||||
<td>0</td>
|
||||
<td>0</td>
|
||||
<td>0.012s</td>
|
||||
<td>0.011s</td>
|
||||
<td class="success">100%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -93,7 +93,7 @@
|
||||
<td>5</td>
|
||||
<td>0</td>
|
||||
<td>0</td>
|
||||
<td>0.001s</td>
|
||||
<td>0.003s</td>
|
||||
<td class="success">100%</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -106,7 +106,7 @@
|
||||
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
||||
</label>
|
||||
</div>Generated by
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:23:47</p>
|
||||
<a href="https://www.gradle.org">Gradle 8.14</a> at 03.12.2025, 18:31:10</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuite name="project.BadCaseTaskTest" tests="6" skipped="0" failures="0" errors="0" timestamp="2025-12-03T17:23:47.763Z" hostname="Mac.fritz.box" time="0.013">
|
||||
<testsuite name="project.BadCaseTaskTest" tests="6" skipped="0" failures="0" errors="0" timestamp="2025-12-03T17:31:10.173Z" hostname="Mac.fritz.box" time="0.012">
|
||||
<properties/>
|
||||
<testcase name="Assert an IllegalArgumentException when you edit a exits Task" classname="project.BadCaseTaskTest" time="0.008"/>
|
||||
<testcase name="Assert an IllegalArgumentException when you create a new Task with no or wrong Name, Description" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert an IllegalArgumentException when you create a new Task with the same Name of a exits Task" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Assert an IllegalArgumentException when delete a existing Task with wrong arguments" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Get a Exeption by setWorker and getWorker" classname="project.BadCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Get a Exeption by setWorker and getWorker" classname="project.BadCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Assert an IllegalArgumentException when calling a non-Existing Task" classname="project.BadCaseTaskTest" time="0.0"/>
|
||||
<system-out><![CDATA[]]></system-out>
|
||||
<system-err><![CDATA[]]></system-err>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuite name="project.GoodCaseTaskTest" tests="5" skipped="0" failures="0" errors="0" timestamp="2025-12-03T17:23:47.778Z" hostname="Mac.fritz.box" time="0.003">
|
||||
<testsuite name="project.GoodCaseTaskTest" tests="5" skipped="0" failures="0" errors="0" timestamp="2025-12-03T17:31:10.186Z" hostname="Mac.fritz.box" time="0.003">
|
||||
<properties/>
|
||||
<testcase name="Edit Task" classname="project.GoodCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Create a new Task" classname="project.GoodCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Create a new Task" classname="project.GoodCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Check TaskList if Task there" classname="project.GoodCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Delete Task" classname="project.GoodCaseTaskTest" time="0.0"/>
|
||||
<testcase name="Delete Task" classname="project.GoodCaseTaskTest" time="0.001"/>
|
||||
<testcase name="Set Author of a Task" classname="project.GoodCaseTaskTest" time="0.0"/>
|
||||
<system-out><![CDATA[]]></system-out>
|
||||
<system-err><![CDATA[]]></system-err>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user