Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a JUnit parser #53

Merged
merged 7 commits into from
Nov 20, 2023
Merged

Add a JUnit parser #53

merged 7 commits into from
Nov 20, 2023

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Nov 17, 2023

Adds a parser for JUnit reports that stores the test results in class nodes and provides a new metric TESTS to count the number of tests for a package or class.

@uhafner uhafner added the enhancement Enhancement of existing functionality label Nov 17, 2023

import nl.jqno.equalsverifier.EqualsVerifier;

class TestCaseTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: TestCaseTest is not referenced within this codebase. If not used as an external API it should be removed.
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (de84cf4) 95.52% compared to head (1297501) 95.64%.

❗ Current head 1297501 differs from pull request most recent head 111cd9c. Consider uploading reports for the commit 111cd9c to get more accurate results

Files Patch % Lines
...ava/edu/hm/hafner/coverage/parser/JunitParser.java 95.52% 1 Missing and 2 partials ⚠️
...rc/main/java/edu/hm/hafner/coverage/ClassNode.java 89.47% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #53      +/-   ##
============================================
+ Coverage     95.52%   95.64%   +0.12%     
- Complexity      621      677      +56     
============================================
  Files            23       26       +3     
  Lines          1497     1654     +157     
  Branches        209      229      +20     
============================================
+ Hits           1430     1582     +152     
- Misses           38       39       +1     
- Partials         29       33       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@uhafner uhafner added feature New features and removed enhancement Enhancement of existing functionality labels Nov 17, 2023
@uhafner uhafner merged commit b3577a7 into main Nov 20, 2023
29 checks passed
@uhafner uhafner deleted the junit branch November 20, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant