You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've encountered a problem running the test in the template.
After following the README.md for initialization once you get to mvn test, the cli doesn't find any test to run, although there are preset ones, returning this message:
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
I've found online some blog about this problem, and it seems a problem about the springboot and junit dependences version.
I solved it temporarily by adding the org.junit.vintage dependency to the maven pom.xml and excluding the org.junit.jupiter in the org.springframework.boot dependency, as stated in the blog linked above.
However, I was thinking whether it was better to upgrade the template to support junit 5, or whether there was a more suitable way to solve the problem.
Thanks
The text was updated successfully, but these errors were encountered:
Hi, I've encountered a problem running the test in the template.
After following the README.md for initialization once you get to
mvn test
, the cli doesn't find any test to run, although there are preset ones, returning this message:I've found online some blog about this problem, and it seems a problem about the springboot and junit dependences version.
I solved it temporarily by adding the
org.junit.vintage
dependency to the mavenpom.xml
and excluding theorg.junit.jupiter
in theorg.springframework.boot
dependency, as stated in the blog linked above.However, I was thinking whether it was better to upgrade the template to support junit 5, or whether there was a more suitable way to solve the problem.
Thanks
The text was updated successfully, but these errors were encountered: