testng-team / testng

TestNG testing framework
https://testng.org
Apache License 2.0
1.98k stars 1.02k forks source link

Eclipse plugin | All tests tab | All test methods are displayed under the first Test node #49

Closed Dikla closed 13 years ago

Dikla commented 13 years ago

I defined a testNG xml, as follows:

After the tests finish, I look at the "All tests" tab, and see that all the test methods that ran, are displayed in the tree under the first Test node.

When I search for "treeLoad", I see the relevant tests under "TreeLoadTest". But without searching it appears under the "ValidateEntityIdTest".

In the other tabs as well as in the report, the tests appear in the correct hierarchy.

If I'll find how to attach a screenshot here, I'll do that.

Dikla commented 13 years ago

Forgot to mention that I'm using TestNG with Jmockit.

cbeust commented 13 years ago

Your XML is not showing either, can you email me directly with your XML and screen shot? Thanks.

Dikla commented 13 years ago

Attached. Thanks.

On Thu, Jun 2, 2011 at 8:00 PM, cbeust < reply@reply.github.com>wrote:

Your XML is not showing either, can you email me directly with your XML and screen shot? Thanks.

Reply to this email directly or view it on GitHub: https://github.com/cbeust/testng/issues/49#comment_1281835

cbeust commented 13 years ago

Not seeing any attachment. Please email me directly.

Cdric

On Thu, Jun 2, 2011 at 10:32 AM, Dikla < reply@reply.github.com>wrote:

Attached. Thanks.

On Thu, Jun 2, 2011 at 8:00 PM, cbeust < reply@reply.github.com>wrote:

Your XML is not showing either, can you email me directly with your XML and screen shot? Thanks.

Reply to this email directly or view it on GitHub: https://github.com/cbeust/testng/issues/49#comment_1281835

Reply to this email directly or view it on GitHub: https://github.com/cbeust/testng/issues/49#comment_1282063

Dikla commented 13 years ago

Attached is another screenshot, showing that when using the search option the test methods are displayed under the correct test.

cbeust commented 13 years ago

Still not seeing any attachment, but I recently fixed a bug in the Eclipse plug-in that caused all the methods with the same name to be created under the same node, even if they belong to different test tags. Please update your plug-in and let m know.

Dikla commented 13 years ago

Hi Cedric,

You already fixed this, after I sent you a zipped Eclipse project that demonstrate the problem (that was on June 2).

Thanks.

On Tue, Jun 14, 2011 at 11:56 PM, cbeust < reply@reply.github.com>wrote:

Still not seeing any attachment, but I recently fixed a bug in the Eclipse plug-in that caused all the methods with the same name to be created under the same node, even if they belong to different test tags. Please update your plug-in and let m know.

Reply to this email directly or view it on GitHub: https://github.com/cbeust/testng/issues/49#issuecomment-1369165