Working with Petclinic in your IDE Prerequisites There is no build profile for Gradle to compile the CSS. If you make changes to the scss, or upgrade Bootstrap, you will need to re-compile the CSS resources using the Maven profile "css", i.e./mvnw package -P css. It was generated from the petclinic.scss source, combined with the Bootstrap library. There is a petclinic.css in src/main/resources/static/resources/css. The MySql integration tests use Testcontainers to start the database in a Docker container, and the Postgres tests use Docker Compose to do the same thing. These are set up so that you can run the apps in your IDE to get fast feedback and also run the same classes as integration tests against the respective database. Docker-compose -profile postgres up Test ApplicationsĪt development time we recommend you use the test applications set up as main() methods in PetClinicIntegrationTests (using the default H2 database and also adding Spring Boot Devtools), MySqlTestApplication and PostgresIntegrationTests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |