Lab: Fixing tests and housekeeping ‐ 2: Run the tests - shinyay/spring-boot-2-7-to-3-1-upgrade GitHub Wiki
2: Run the tests Now is a good time to run all the tests!
Run the tests.
[~/exercises] $ ./mvnw clean test At this point, all of the code should compile, and the tests should pass.
[INFO] Results: [INFO] [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ They pass!
For the first time since upgrading to Spring Boot 3.1, we have 0 failures, 0 errors, and 0 skipped tests.
Update our upgrade notes.
Add a new section in the upgrade notes titled Test - Initial Test Execution:
Test - Initial Test Execution
Result: code compiles without errors or warnings and all tests pass