Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Junit 中,只能重用静态对象 b/w 测试,但在 Testng 中,可以重用对象而无需声明它们是静态的。有什么方法可以关闭Testng的这个功能吗?