Why: the server maps verifier output to diagnostics and decides which folder to verify. PathUtils.extractBasePath cuts the path at the first src folder plus one more, so the folder layout decides what gets verified. This logic is deterministic and cheap to test.
What:
- Add
server/src/test/java, with tests for PathUtils (including a src folder at different depths, and Windows-style URIs) and the DTO/diagnostic converters.
- Add
mvn -B test to test.yml.
References:
Why: the server maps verifier output to diagnostics and decides which folder to verify.
PathUtils.extractBasePathcuts the path at the firstsrcfolder plus one more, so the folder layout decides what gets verified. This logic is deterministic and cheap to test.What:
server/src/test/java, with tests forPathUtils(including asrcfolder at different depths, and Windows-style URIs) and the DTO/diagnostic converters.mvn -B testtotest.yml.References: