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

SQ Plugin: Remove deprecated import of integration test coverage from plugins #9561

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

mary-georgiou-sonarsource
Copy link
Contributor

Fixes #4685

@mary-georgiou-sonarsource mary-georgiou-sonarsource marked this pull request as ready for review July 25, 2024 13:16
@mary-georgiou-sonarsource
Copy link
Contributor Author

I also checked S4NET for any appearance of *.it.reportPaths in the code or tests (UTs + ITs)

Copy link

sonarcloud bot commented Jul 25, 2024

Copy link

sonarcloud bot commented Jul 25, 2024

Copy link
Contributor

@zsolt-kolbay-sonarsource zsolt-kolbay-sonarsource left a comment

Choose a reason for hiding this comment

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

LGTM

@zsolt-kolbay-sonarsource zsolt-kolbay-sonarsource merged commit de411db into master Jul 25, 2024
20 checks passed
@zsolt-kolbay-sonarsource zsolt-kolbay-sonarsource deleted the mary/remove-it-test-import branch July 25, 2024 18:32
@@ -43,8 +43,7 @@ public void vbnet() {
UnitTestResultsProvider.DotNetUnitTestResultsAggregator.class,
UnitTestResultsImportSensor.class);
assertThat(propertyKeys(extensions)).containsOnly(
"sonar.vbnet.vstest.reportsPaths",
"sonar.vbnet.nunit.reportsPaths");
"sonar.vbnet.vstest.reportsPaths", "sonar.vbnet.nunit.reportsPaths");
Copy link
Contributor

Choose a reason for hiding this comment

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

@mary-georgiou-sonarsource do you find this to be more readable? personally I find separate lines to be more readable.

and on CodeCoverageProviderTest.java you kept separate lines

but indeed for two values, it's fine inline

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exactly. That was my thinking—that there are only two values, and separating them into two lines is not really needed—it does not add much apart from an extra line.
However, if you think it's better to separate not only for readability but also for uniformity with other similar cases, I'll be happy to revert in one of the next PRs.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should spend too much time on discussing such topics and trying to "fix" them (very low-impact).

As long as we agree that generally we put things on multiple lines to increase readability (like when there's multiple cases)

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.

SQ Plugin: Remove deprecated import of integration test coverage from plugins
3 participants