[infinispan-dev] usage of alwaysRun=true on @BeforeMethod and alike
Mircea Markus
mmarkus at redhat.com
Thu May 9 07:23:24 EDT 2013
On 9 May 2013, at 08:02, Dan Berindei wrote:
> Why would TestNG run an @AfterMethod method if the test didn't run?
if you set alwaysRun=true on that method it will run it disregarding if the test was run or not.
> What method would it run after?
not sure i get the question.
Cheers,
--
Mircea Markus
Infinispan lead (www.infinispan.org)
More information about the infinispan-dev
mailing list