Rule Support in JUnit 5

Understand how the Rules are supported in JUnit 5.

JUnit 4 supports the extension model using a concept called Rules. They’re equivalent to extensions in JUnit 5.

To run these rules, JUnit 4 provides @RunWith annotation, whereas JUnit 5 uses the ...