--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
@AfterClass(dependsOnGroups = "xyz", alwaysRun = true)
void baseAfterClass()
{
log.info("** 8 **");
}
@AfterClass
void xyz()
{
log.info("** 7 **");
}
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
I see u r using dependsongroup=xyz, but method xyz is not in a group. Is that the problem?
On Nov 16, 2010 11:04 PM, "Cédric Beust ♔" <ced...@beust.com> wrote:> @AfterClass(dependsOnGroups = "xyz", alwaysRun = true)
log.info("** 8 **");
> void baseAfterClass()
> {
}
@AfterClass
void xyz()
{
log.info("** 7 **");
}If these two methods are on the same class, then their ordering is non deterministic unless you have one depend on the other.If this doesn't answer your question, please email me a small test case that I can compile to reproduce the problem.Thanks.--Cédric
On Tue, Nov 16, 2010 at 8:55 PM, kiri <kiran.es...@gmail.com> wrote:
>
> Is there any workaro...
--
Cédric
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
...
** 1 **
** 2 **
** 3 **
** 4 **
** 5 **
** 6 **
** 7 **
** 8 **
PASSED: childTest
Are you doing something else that you forgot to mention?
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.