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 support to import test results for solutions with a mix of C# and Vb.Net projects #3259

Open
costin-zaharia-sonarsource opened this issue Mar 25, 2020 · 2 comments
Labels
Area: C# C# rules related issues. Area: SQ Plugin Java plugin related issues. Area: VB.NET VB.NET rules related issues. Type: UX Improve any kind of user experience

Comments

@costin-zaharia-sonarsource
Copy link
Member

Modules were deprecated in the sonar api, and the metrics are now resolved at the project level. Since we can't register the same metric multiple times on the same project, the import for solutions with a mix of C# and VB.Net projects will fail.

This has been addressed in other plugins (Java, Go, PHP, ...) by registering the metrics per test file instead of project.

In order to do a proper fix, a possible solution is to change the importers for xUnit.Net, nUnit and VsTest to map the results to a file and not compute a summary per project.

Test report format specs:

@wvusaf
Copy link

wvusaf commented Jan 13, 2021

has there been any update on this?
it seems as if this change "fixed" the build, allowing it continue. #3260
is there more work coming on this issue?

@pavel-mikula-sonarsource
Copy link
Contributor

Hi @wvusaf, this issue is still opened so there will be more work on it in the future. We don't have any ETA for it.

@pavel-mikula-sonarsource pavel-mikula-sonarsource added Type: UX Improve any kind of user experience and removed Type: Improvement labels Jun 13, 2024
@pavel-mikula-sonarsource pavel-mikula-sonarsource added the Area: SQ Plugin Java plugin related issues. label Jul 9, 2024
@mary-georgiou-sonarsource mary-georgiou-sonarsource added the Sprint: Hardening Fix FPs/FNs/improvements label Jul 23, 2024
@mary-georgiou-sonarsource mary-georgiou-sonarsource added this to the 9.31 milestone Jul 23, 2024
@zsolt-kolbay-sonarsource zsolt-kolbay-sonarsource removed this from the 9.31 milestone Aug 6, 2024
@zsolt-kolbay-sonarsource zsolt-kolbay-sonarsource removed the Sprint: Hardening Fix FPs/FNs/improvements label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues. Area: SQ Plugin Java plugin related issues. Area: VB.NET VB.NET rules related issues. Type: UX Improve any kind of user experience
Projects
None yet
Development

No branches or pull requests

5 participants