Home > database >  Spring Boot Test Order in a Folder
Spring Boot Test Order in a Folder

Time:10-10

I am running tests in a Spring boot application. This is The architecture of my test folder

I run tests by right-clicking in the folder that contains the test files and click on run test.

I want the AuthenticationTest run as the first test, then the UserTest and finally the AddressTest but it always runs the AddressTest then AuthenticationTest then UserTest. I tried to create a OrderedRunner as in this topic but it doesn't work. Can anybody help me ?

Thank you in advance

CodePudding user response:

Hope it will help you to explore -

  • Related