Lab: Fixing tests and housekeeping ‐ 6: Compile and Assess - shinyay/spring-boot-2-7-to-3-1-upgrade GitHub Wiki
6: Compile and Assess Now that we've completely removed assertj in our pom.xml, will our app still work?
Compile the code, take 2.
Go ahead and compile the code, once again.
[~/exercises] $ ./mvnw clean compile Great, everything still compiles!
[INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /course-spring-boot-2-7-to-3-1-upgrade-code/target/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ Assess the results, take 2.
Now you can run the tests again to see if all the tests are still passing.
[~/exercises] $ ./mvnw test ... [INFO] [INFO] Results: [INFO] [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ Another success! All our tests are still passing, hooray!