jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-300

Tighter integration with maven-surefire-plugin

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.7
  • Component/s: Metrics, Source code viewer, Web
  • Labels:
    None

Description

When clicking on a failed unit test in sonar, the source code for the unit test is displayed. This is nice but doesn't say much about why the unit test failed.
It'd be nice to have all :

1 - surefire error and surefire properties from target\surefire-reports
2 - If maven website url is specified, a link to the surefire report on the maven website

Option 2 might not always be available, so having both imo is better.

I understand that this feature could be nice to have, but out of scope.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. XML File
    UnitTests_SourceViewer.xml
    03/Jan/09 3:10 PM
    6 kB
    Freddy Mallet
  1. UnitTests_SourceViewer.jpg
    166 kB
    03/Jan/09 3:10 PM

Issue Links

is duplicated by

New Feature - A new feature of the product, which has yet to be developed. SONAR-155 Display explanations of unit test errors/failures

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is related to

Bug - A problem which impairs or prevents the functions of the product. SONAR-353 Test Success Percent is not correct when there are skipped tests

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Freddy Mallet added a comment - 03/Jan/09 3:10 PM

To have the same level of details provided by surfire reports :

  • Add a new metric "Skipped unit tests" and add the associated measure in the project dashboard under "errors" and "failures" measures.
  • When clicking on a TestCase class, the source code viewer should displayed a "Unit Tests" tab as defined in the attachment.
Show
Freddy Mallet added a comment - 03/Jan/09 3:10 PM To have the same level of details provided by surfire reports :
  • Add a new metric "Skipped unit tests" and add the associated measure in the project dashboard under "errors" and "failures" measures.
  • When clicking on a TestCase class, the source code viewer should displayed a "Unit Tests" tab as defined in the attachment.

People

  • Assignee:
    Cédric Munger
    Reporter:
    Arnaud DOSTES
Vote (3)
Watch (2)

Dates

  • Created:
    01/Jul/08 11:13 AM
    Updated:
    22/Mar/09 5:47 AM
    Resolved:
    05/Mar/09 2:11 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.