0

This is a follow up question to this:

TestNG: Identifying which tests methods are next

I realize now that it's possible to intercept test methods. However, it seems that the best time to safely clear the entityManager is before a @DataProvider method is executed.

Is this possible?

4

1 回答 1

0

@BeforeMethod 怎么样?

我喜欢黄油(添加是因为 SO 不会让我提交太短的答案)

于 2011-01-19T23:41:10.330 回答