Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
391 views
in Technique[技术] by (71.8m points)

testing - TestNG - running tests from multiple classes in various order

Lets say I have test classes with methods:

Class 1:
 - method 1
 - method 2

Class 2:
 - method 3
 - method 4

What I'd like to accomplish is running tests from different class in such order

 - method 1
 - method 3
 - method 2
 - method 4

Is there easy way to setup testng xml to run tests this way?

question from:https://stackoverflow.com/questions/65848333/testng-running-tests-from-multiple-classes-in-various-order

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...