Skip to content

🧪 Add unit tests for ForkedGroovyCompiler#375

Open
keeganwitt wants to merge 2 commits intogroovy:masterfrom
keeganwitt:testing-improvement-forked-compiler-1403031551901100314
Open

🧪 Add unit tests for ForkedGroovyCompiler#375
keeganwitt wants to merge 2 commits intogroovy:masterfrom
keeganwitt:testing-improvement-forked-compiler-1403031551901100314

Conversation

@keeganwitt
Copy link
Copy Markdown
Member

  • Create ForkedGroovyCompilerTest covering invalid arguments, missing files, invalid content, and happy paths for compile, stub, and doc configurations.
  • Update ForkedGroovyCompiler to catch all Exceptions and exit with status 1 on error to ensure consistent behavior in forked processes.
  • Update pom.xml to allow SecurityManager manipulation during tests, necessary for testing System.exit on modern JDKs.

google-labs-jules Bot and others added 2 commits March 24, 2026 05:33
- Create ForkedGroovyCompilerTest covering invalid arguments, missing files, invalid content, and happy paths for compile, stub, and doc configurations.
- Update ForkedGroovyCompiler to catch all Exceptions and exit with status 1 on error to ensure consistent behavior in forked processes.
- Update pom.xml to allow SecurityManager manipulation during tests, necessary for testing System.exit on modern JDKs.

Co-authored-by: keeganwitt <64612+keeganwitt@users.noreply.github.com>
@keeganwitt keeganwitt marked this pull request as ready for review March 26, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant