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.
目前我有一个测试类,它有多个方法都使用同一个数据提供者。每次 testng 循环不同的方法时,它都会重新计算数据提供者方法。有什么办法可以让数据提供者运行一次?
谢谢!
杰森
工厂正是您正在寻找的。