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

Update SonarC#: Unit Tests total and skipped numbers are not consistent #973

Closed
Evangelink opened this issue Nov 22, 2017 · 0 comments
Closed
Assignees
Labels
Area: SQ Plugin Java plugin related issues.
Milestone

Comments

@Evangelink
Copy link
Contributor

Currently the plugin is doing different calculation based on the test framework used. All of them produce results that are hard to understand (as they don't match the result report ones).

The idea of this ticket is to make sure to use the same standard for all frameworks (and also to report in the same way as for other plugins).

MSTest/VSTest

  • Unit Tests: executed
  • Errors: error
  • Failures: timeout + failed + aborted
  • Skipped: total - executed

NUnit

  • Unit Tests: total - skipped - inconclusive - ignored (test-results) or total - skipped - inconclusive (test-run)
  • Errors: errors (test-results) or sum all nested test-case Error
  • Failures: failures (test-results) or failed (test-run)
  • Skipped: skipped + inconclusive + ignored (test-results) or skipped + inconclusive (test-run)

XUnit

  • Unit Tests: total - skipped
  • Errors: errors
  • Failures: failed
  • Skipped: skipped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: SQ Plugin Java plugin related issues.
Projects
None yet
Development

No branches or pull requests

1 participant