What is the equivalent of ExternalResource and TemporaryFolder in JUnit 5? : <p>According to the <a href="http://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4-rulesupport" rel="noreferrer">JUnit 5 User Guide</a>, JUnit Jupiter provides backwards compatibility for some JUnit 4 Rules in order to assist with migration.</p>

<blockquote>
  <p>As stated above, JUnit Jupiter does not and will not support JUnit 4 rules natively. The JUnit team realizes, however, that many organizations, especially large ones, are likely to have large JUnit 4 codebases including custom rules. To serve these organizations and enable a gradual migration path the JUnit team has decided to support a selection of JUnit 4 rules verbatim within JUnit Jupiter. </p>
</blockquote>

<p>The guide goes on to say that one of the rules is <a href="http://junit.org/junit4/javadoc/4.12/org/junit/rules/ExternalResource.html" rel="noreferrer">ExternalResource</a>, which is a parent for <a href="http://junit.org/junit4/javadoc/4.12/org/junit/rules/TemporaryFolder.html" rel="noreferrer">TemporaryFolder</a>.</p>

<p>However, the guide unfortunately doesn't go on to say what the migration path is, or what the equivalent is for those writing new JUnit 5 tests. So what should we use?</p>
