Hi, I am writing some unit tests for an `object` c...
# test
r
Hi, I am writing some unit tests for an
object
class. Is there a way to “reset” the instance? It keeps its state between tests.
m
I guess you look for something like
@BeforeTest
or
@AfterTest
m
no, stateful objects aren't resettable unless expose methods to reset which in turn could be hooked into your test setup