Skip to content

test: add coverage for manifest Validate - #17

Merged
jim-junior merged 1 commit into
urunc-dev:mainfrom
magic-peach:test/manifest-validate-coverage
Sep 22, 2026
Merged

jim-junior merged 1 commit into
urunc-dev:mainfrom
magic-peach:test/manifest-validate-coverage

Conversation

@magic-peach

Copy link
Copy Markdown
Contributor

What changed: adds unit tests for internal/manifest.Validate.

Why: Validate is the entry point that catches malformed manifests before a run starts, but had no tests. Added coverage for runtime and experiment presence checks, duplicate runtime names, port range validation, volume field validation, and the cpu and http-readiness experiment specific checks.

How it was tested: go build, go vet, and go test all pass locally.

Validate had no tests despite being the entry point that catches
malformed manifests before a run starts, covering runtime/experiment
presence, duplicate runtime names, port ranges, volume fields, and the
cpu and http-readiness experiment specific checks.

Signed-off-by: Akanksha Trehun <akankshatrehun@gmail.com>
@jim-junior
jim-junior merged commit 88b3b5b into urunc-dev:main Sep 22, 2026
2 checks passed
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.

2 participants