When I had IDEA generate a test method for me, it inserted the annotation @org.junit.jupiter.api.Test, as expected. To resolve the dependency, I selected the suggestion to add JUnit to the test path (choosing JUnit 5). I then got this window:
I understand all of the checkbox annotations except for the last one. What does checking "Annotations" do? The JUnit annotations (such as @org.junit.jupiter.api.Test) seem to get downloaded even if I don't check that box.