@BeforeTest failure should prevent @BeforeMethod?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

@BeforeTest failure should prevent @BeforeMethod?

cytoe
Should a failure in @BeforeTest prevent the @BeforeMethod from running? This is what I expected...but for me, the beforeMethod is still running if beforeTest fails.

thanks,
Ron
Reply | Threaded
Open this post in threaded view
|

Re: @BeforeTest failure should prevent @BeforeMethod?

Alexandru Popescu ☀

Can you send me a small test reproducing the problem, so that I can
further investigate it?

TIA,

./alex
--
.w( the_mindstorm )p.
  TestNG co-founder
EclipseTestNG Creator


On 4/10/07, cytoe <[hidden email]> wrote:

>
>
> Should a failure in @BeforeTest prevent the @BeforeMethod from running? This
> is what I expected...but for me, the beforeMethod is still running if
> beforeTest fails.
>
> thanks,
> Ron
> --
> View this message in context: http://www.nabble.com/%40BeforeTest-failure-should-prevent-%40BeforeMethod--tf3549865.html#a9910315
> Sent from the testng-users mailing list archive at Nabble.com.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: @BeforeTest failure should prevent @BeforeMethod?

cytoe
Hmm.  I don't seem to be able to reproduce with a simple test case.  I must be doing something else wrong...or perhaps I need a more complicated test.

thanks,
-ron
Alexandru Popescu ☀ wrote
Can you send me a small test reproducing the problem, so that I can
further investigate it?

TIA,

./alex
--
.w( the_mindstorm )p.
  TestNG co-founder
EclipseTestNG Creator


On 4/10/07, cytoe <cytoe@msn.com> wrote:
>
>
> Should a failure in @BeforeTest prevent the @BeforeMethod from running? This
> is what I expected...but for me, the beforeMethod is still running if
> beforeTest fails.
>
> thanks,
> Ron
> --
> View this message in context: http://www.nabble.com/%40BeforeTest-failure-should-prevent-%40BeforeMethod--tf3549865.html#a9910315
> Sent from the testng-users mailing list archive at Nabble.com.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@googlegroups.com
To unsubscribe from this group, send email to testng-users-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---