Lab: Compile the Application ‐ 2: Assess current state - shinyay/spring-boot-2-7-to-3-1-upgrade GitHub Wiki
2: Assess current state As we explained in the previous lesson, the first thing we need to do is compile our code and run the tests.
Run the tests
Open the Terminal and run the tests using Maven:
[~/exercises] $ ./mvnw clean test Look at your results.
Let's evaluate the results and fix any issue in the following order:
Did your code compile? Did your tests all pass? Are there any skipped tests? Our output should end with a [WARNING] like this:
[WARNING] Tests run: 19, Failures: 0, Errors: 0, Skipped: 1 So, our code compiles and 19 tests were executed, 0 failed, 0 errors, but 1 was skipped.
Let's look at the skipped test and assess if it should be deleted or fixed.