Key: |
QB-2335
|
Type: |
Bug
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Unassigned
|
Reporter: |
John Szakmeister
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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.
unittest-names.xml (186 kb)
|
Image Attachments:
|
|
Environment:
|
Running master on Linux under a VM, with several build slaves (Mac OS X, Linux, and FreeBSD)
|
|
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.
|
Description
|
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. |
Show » |
|