-Anoop
--
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 had seen the documentation. But I guess I interpreted it wrong.
I have defined two groups - "A" and "B" within a test class and also a
@BeforeClass method that I had marked as alwaysRun=true. If I invoke
the test with a non-existent group name "XYZ" I see that the
@BeforeClass is not getting invoked. Is this the expected behavior?
-Anoop
On Feb 15, 7:33 pm, Cédric Beust ♔ <cbe...@google.com> wrote:
> Hi Anoop,
>
> Here is the documentation:
>
> For before methods (beforeSuite, beforeTest, beforeTestClass and
> beforeTestMethod, but not beforeGroups): If set to true, this configuration
> method will be run regardless of what groups it belongs to.
> For after methods (afterSuite, afterClass, ...): If set to true, this
> configuration method will be run even if one or more methods invoked
> previously failed or was skipped.
>
> Is this clear enough?
>
> --
> Cedric
>
>
>
> On Mon, Feb 15, 2010 at 1:57 AM, Anoop <anoopengin...@gmail.com> wrote:
> > Can someone please explain what is the significance of marking a
> > @Before* and @After* method as alwaysRun=true?
>
> > -Anoop
>
> > --
> > 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<testng-users%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/testng-users?hl=en.
>
> --
> ***Cédric
> *
To unsubscribe from this group, send email to testng-users...@googlegroups.com.