JUnit4 has an annotation @FixMethodOrderthat allows you to use the alphabetical order of execution of test methods. Is there a similar JUnit5 mechanism?
@FixMethodOrder
No, not yet. For unit tests, the execution order should be irrelevant. For more complex tests, JUnit aims to provide explicit support - a test order will be part of this.
Source: https://habr.com/ru/post/1661112/More articles:Dictionary Data Line Swift Flat Map - swiftRound numbers with flask.jsonify - jsonСортировка суммированной коллекции по метке - phpRails HABTM after after_add callback before saving primary object - ruby-on-railsElm Language What does the multiple types in a string (without an arrow) mean in a signature? - elmSum all digits of a number and show the digits separately in Java - javaCreating a button type = send appearance and wrap it like an anchor - htmlInline CSS display button - htmlC ++ source code - c ++Scala self type with dependent typing - scalaAll Articles