\n\n\nimport org.junit.Test;\nimport org.junit.jupiter.api.BeforeEach;\nimport org.junit.jupiter.api.extension.ExtendWith;\n
There's your problem: You're mixing the JUnit 4.x (org.junit.*) and JUnit Jupiter/JUnit 5.x (org.junit.jupiter.*) annotations.
Your build will only pick up test methods annotated with org.junit.jupiter.api.Test.
-
Beta Was this translation helpful? Give feedback.
-
|
Which version of Dropwizard are you using? |
Beta Was this translation helpful? Give feedback.
There's your problem: You're mixing the JUnit 4.x (
org.junit.*) and JUnit Jupiter/JUnit 5.x (org.junit.jupiter.*) annotations.Your build will only pick up test methods annotated with
org.junit.jupiter.api.Test.