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

75 unit test testcurrentorfutureriskcalculation #89

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

panositi
Copy link
Contributor

Merged 75 unit test testcurrentorfutureriskcalculation-1 but needs further checks, src/test/resources/modelvalidator/RiskLevelCalculator contains all DM, SM required for unit tests. Needs further testing.

@panositi panositi linked an issue Oct 18, 2023 that may be closed by this pull request
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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

Copy link
Member

@scp93ch scp93ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please look at the code smell on line 431 (the String.format, not the throwing of a RuntimeException).

Also remove the lines where the @ignore is now commented.

Why are there two system model files now not loaded (commented out) in src/test/java/uk/ac/soton/itinnovation/security/modelvalidator/test/RiskLevelCalculatorTester.java ? If we really do not need them then delete the lines and delete the files.

@mike1813
Copy link
Member

mike1813 commented Jan 8, 2025

@panositi : it looks like @scp93ch asked you to make changes. As far as I can tell they were not done. Please can you take some action to resolve this?

@kenmeacham
Copy link
Contributor

@panositi - there seems to be two open branches for this issue, both with code changes/commits, although your comment above seems to suggest that you merged testcurrentorfutureriskcalculation-1?

Can you clarify which branches are still active/required?

  • 75-unit-test-testcurrentorfutureriskcalculation
  • 75-unit-test-testcurrentorfutureriskcalculation-1

@kenmeacham
Copy link
Contributor

@panositi - also this pull request tells us there are some conflicts which should be resolved.

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.

Unit test testCurrentOrFutureRiskCalculation
4 participants