I have to fix a legacy code where 2 JUNITS classes are running in parallel and thats why interfering with each others results.
Now, looking at the legacy code, I want to keep the changes to the minimum.
The best I could think of is to let these 2 classes execute sequentially and one after the another. I dont want to make all JUNITS to execute sequentially just because of these 2.
Is there any way to achieve this in JUNIT.
All annotations I could find are dealing with sequence of JUNIT method and not the classes. Not able to find annotations for class sequence.