You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9cb926c
Browse filesBrowse the repository at this point in the historyBrowse files
white
authored and
white
committed
Fail-fast Parameter Validation
- PythonEmbed.Options.Builder: null checks for warmupScript(), warmupScripts(), onBeforeClose(), onAfterClose()
- PythonEmbed.Options.Builder.build(): validate blank pythonExecutable, non-existent/not-directory venvPath, null env
- PythonEmbedPool.Builder: null check for options parameter
- Add 8 validation tests in PythonEmbedOptionsTest, 1 in PythonEmbedPoolTest
- Update existing tests to reflect fail-fast behavior (IllegalArgumentException at builder level)
- CI: add --refresh-dependencies to gradle test step
Copy file name to clipboardExpand all lines: python-embed-spring-boot-starter/src/test/java/io/github/howtis/pythonembed/spring/PythonEmbedOptionsBuildTest.java
0 commit comments