This content has been marked as final.
Show 2 replies
-
1. Re: TestNG: BeforeClass, AfterClass, BeforeMethod, AfterMethod are called outside the container
mjobanek Nov 25, 2015 4:06 AM (in response to luis_1980)Hi Luis,
in the case of TestNG the events should be fired on both places - on the client and inside the container.
Just for verification try to add some output (eg: System.err.println) into the BeforeClass method and then see the server log if the the output is printed there.
Thanks
Matous
-
2. Re: TestNG: BeforeClass, AfterClass, BeforeMethod, AfterMethod are called outside the container
luis_1980 Nov 25, 2015 6:04 AM (in response to mjobanek)Hi Matous.
But how I know if the event was trigger inside the container or not?
Other thing, is that the BeforeClass and AfterClass are invoked for each test call.
thanks