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

141 create additional tests to increase code coverage to over 80 #183

Conversation

robinalfengard
Copy link
Contributor

Added several tests for different methods in main to try to achieve 80% code coverage

jLereback and others added 22 commits February 20, 2023 16:12
fshould fix the old pull request denial on refactor main
fix versions from old pull request
…PullRequst-Fix

# Conflicts:
#	src/main/java/org/fungover/haze/Main.java
Co-authored-by:  robinalfengard<robin.alfengard@hotmail.com>
Co-authored-by:  robinalfengard<robin.alfengard@hotmail.com>
@robinalfengard robinalfengard linked an issue Feb 5, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Feb 5, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

17.8% Coverage on New Code (required ≥ 80%)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@robinalfengard
Copy link
Contributor Author

82% coverage according to Jacoco report

@kappsegla
Copy link
Contributor

82% coverage according to Jacoco report

Isn't that number for the total code coverage of the application while sonarcloud only reports coverage for any new code in this PR?

@robinalfengard
Copy link
Contributor Author

82% coverage according to Jacoco report

Isn't that number for the total code coverage of the application while sonarcloud only reports coverage for any new code in this PR?

Ah I missunderstood! I thought the issue about code coverage pointed to the overall point coverage.

@github-merge-queue github-merge-queue bot merged commit f254836 into main Feb 9, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create additional tests to increase code coverage to over 80%.
4 participants