History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2335
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: John Szakmeister
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

JUnit reporter not paying attention to testsuite names well.

Created: 20/Feb/15 11:50 AM   Updated: 10/Mar/15 03:22 AM
Component/s: None
Affects Version/s: 6.0.5
Fix Version/s: 6.0.9

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. XML File unittest-names.xml (186 kb)

Image Attachments:

1. unittests-with-names-testsuites-view.png
(1.04 Mb)
Environment: Running master on Linux under a VM, with several build slaves (Mac OS X, Linux, and FreeBSD)


 Description  « Hide
Perhaps this is my desire to use JUnit output from other tools and the real problem is that a new plugin needs to be developed, but I'm a bit surprised by a behavior. I've broken the different unit test runs up into testsuites, each with a different name. I expected the "By Testsuite" view to then use those names to help partition the data, but it doesn't appear to do that. Instead, under the names I've given the suites, it shows that there are no tests under it. I guess the expectation is the the testsuite name is going to be the prefix in the classname? I have screen shots... hopefully, I can post them after the ticket is created.

FWIW, either developing a new plugin (perhaps called "xUnit") that is more lenient, or making the JUnit plugin itself more lenient would be really helpful. A number of tools from a variety of languages produce a JUnit-style report format for use with Jenkins, but I constantly run into issues when using those reports with QuickBuild. For example, in Python there is nose and py.test, Lua has busted, C/C++ has cppunit, and there are many other that will produce JUnit style reports but likely differ slightly in output from those produced by JUnit.

 All   Comments   Work Log   Change History      Sort Order:
Change by John Szakmeister [20/Feb/15 12:02 PM]
Field Original Value New Value
Attachment unittests-with-names-testsuites-view.png [ 10430 ]

Change by John Szakmeister [20/Feb/15 12:08 PM]
Attachment unittest-names.xml [ 10433 ]

Change by Robin Shen [21/Feb/15 01:37 AM]
Assignee Robin Shen [ robinshine ] Steve Luo [ steve ]

Change by PMEase JIRA Administrator [06/Mar/15 01:28 AM]
Status Open [ 1 ] Resolved [ 5 ]
Assignee Steve Luo [ steve ]
Resolution Fixed [ 1 ]

Change by PMEase JIRA Administrator [06/Mar/15 01:28 AM]
Fix Version/s 6.0.9 [ 11563 ]