使用TestNG,为什么@DataProvider
在@BeforeClass
之前运行?在testng中,为什么@DataProvider在@BeforeClass之前运行?
看起来有时候@DataProvider
在@BeforeClass
之前运行有时候不是吗?
有人知道原因吗?
使用TestNG,为什么@DataProvider
在@BeforeClass
之前运行?在testng中,为什么@DataProvider在@BeforeClass之前运行?
看起来有时候@DataProvider
在@BeforeClass
之前运行有时候不是吗?
有人知道原因吗?
你正在使用什么样的测试框架? – InSane 2010-09-23 06:43:46
很难说,但她确实在标签中说过:TestNG:http://testng.org/doc/documentation-main.html标签**看起来像“测试”,但实际上是“testng ”。我,为了清楚起见,我将这个问题放在了问题本身中。 (所以我做了。) – 2010-09-23 06:48:40
@ T.J - 该死的 - 那正是我犯的错误。标签确实看起来像“测试”给我!接得好!!我的错!! – InSane 2010-09-23 06:58:49