Add validation tests to detect run configuration drift

- Add spring-boot-starter-test dependency for JUnit Jupiter
- Validate main class exists and matches run config reference
- Validate module name matches pom.xml artifactId
- Validate schema.sql contains active column
- Prevents configuration breakage from refactoring
- Fails with clear messages pointing to which configs need updates

All 5 tests passing.
This commit is contained in:
2026-03-09 21:47:45 -06:00
parent a1be1a5688
commit 015bb574b8
2 changed files with 87 additions and 0 deletions

View File

@@ -80,6 +80,12 @@
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>