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

Key: QB-2439
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Minor Minor
Assignee: Steve Luo
Reporter: Georg Laschet
Votes: 0
Watchers: 1
Operations

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

QuickBuild seems to ignore the fact, that the two test cases, though named identically, are in different test classes.

Created: 13/May/15 12:47 PM   Updated: 03/Apr/16 07:17 AM
Component/s: None
Affects Version/s: 6.0.16
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows 2008R2 Server


 Description  « Hide
In the supplied example project "com.rola.maven.test", there are two test classes "TestOne" and "TestTwo", each with a test case named "testHelloWorld". Both test classes are referenced in the test suite "AllTests".

Structure:
- AllTests
  - TestOne
    - testHelloWorld
  - TestTwo
    - testHelloWorld

When built with maven, only the test suite "AllTests.java" in run by the maven-surefire-plugin, resulting in a single XML file "target/surefire-reports/TEST-com.rola.maven.test.AllTests.xml".

In the surefire report created by maven or the JUnit Report created by ANT , the structure is recognized correctly, i.e. one test suite with two test cases, both named "testHelloWorld" from two different test classes, one succeeds, one fails.
In the QuickBuild JUnit Report, there is only one test case "testHelloWorld" displayed in the test suite. QuickBuild seems to ignore the fact, that the two test cases, though named identically, are in different test classes.

I am sending you an e-mail with the sample project and the associated backup QB


 All   Comments   Work Log   Change History      Sort Order:
Change by Robin Shen [13/May/15 11:07 PM]
Field Original Value New Value
Assignee Robin Shen [ robinshine ] Steve Luo [ steve ]

Change by Steve Luo [03/Apr/16 07:17 AM]
Status Open [ 1 ] Closed [ 6 ]
Resolution Incomplete [ 4 ]