[英]TestNG run method as last
is there a way how to run specific test method as last one in TestNG? 有没有一种方法可以运行特定的测试方法作为TestNG中的最后一个 ? I do not want to use
dependsOn
if I do not need to do so. 如果不需要,我不想使用
dependsOn
。
Thank you 谢谢
Add priority to the method you want to run last..do not add priorities to any other methods. 为要最后运行的方法添加优先级。.请勿为任何其他方法添加优先级。 The one with priority added would run last.
添加了优先级的那个将最后运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.