In the maven sample the junit-jupiter-api dependency is not needed
matyasf opened this issue · 1 comments
matyasf commented
Since its a dependency of "junit-jupiter-engine" which is already added as in the project.
See here:
sormuras commented
A future version of Surefire (3.0.0?) will auto-resolve junit-jupiter-engine
for when the junit-jupiter-api
artifact is present. For now, referring to junit-jupiter-engine
is neccessary. Also referring to junit-jupiter-api
doesn't hurt -- and is already more future-proof.