Create 3 simple cross-platform run configurations
1. Pet Shop Application - Run Spring Boot (main run config) 2. Database - Start database containers 3. Reset Database - Clean volumes and restart (Maven-based, auto-stops) All use IntelliJ Docker/Spring Boot/Maven integration (Windows/Mac/Linux). Reset Database uses exec-maven-plugin to run docker compose down -v. Stops automatically when complete.
This commit is contained in:
@@ -53,14 +53,14 @@ class RunConfigValidationTest {
|
||||
|
||||
// Expected module name in run configs should match artifactId
|
||||
assertEquals("backend", artifactId,
|
||||
"pom.xml artifactId has changed. Update .idea/runConfigurations/PetshopBackendApplication.xml module name to match.");
|
||||
"pom.xml artifactId has changed. Update run configuration files if needed.");
|
||||
}
|
||||
|
||||
@Test
|
||||
void runConfigurationFileExists() {
|
||||
File runConfigFile = new File(".idea/runConfigurations/PetshopBackendApplication.xml");
|
||||
File runConfigFile = new File(".idea/runConfigurations/Pet_Shop_Application.xml");
|
||||
assertTrue(runConfigFile.exists(),
|
||||
"Run configuration file missing. Ensure .idea/runConfigurations/ directory is committed to Git.");
|
||||
"Main run configuration file missing. Ensure .idea/runConfigurations/ directory is committed to Git.");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user