JUnit added the ability to specify order of execution directly in the @Rule annotation with the order attribute. The documentation here still refers to the deprecated RuleChain, though. Update the documentation to reflect current practice, but include notes on how to update legacy code.
Also revise reference to RuleChainWalker, which is still available but should no longer be necessary.
JUnit added the ability to specify order of execution directly in the
@Rule
annotation with theorder
attribute. The documentation here still refers to the deprecatedRuleChain
, though. Update the documentation to reflect current practice, but include notes on how to update legacy code. Also revise reference toRuleChainWalker
, which is still available but should no longer be necessary.