Before method getting executed even when Depends of methods failed for that method.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Before method getting executed even when Depends of methods failed for that method.

akash kansal
Hi,


After running my suite the test method gets failed and even after that the dependent methods before method gets executed.

Ex--method name(two) is dependent on method name(three) but three gets failed even after that @before method gets executed for the method name two.

https://github.com/Akashkansal065/FirstFrameWork

Just pull and run.

mvn clean test.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.