cog
52056968 - Port 27 additional integration tests to Go testscript framework

Commit
3 days ago
Port 27 additional integration tests to Go testscript framework New tests cover: - Config discovery from subdirectories - cog run command (basic, fast build, stdin handling) - Build labels (OpenAPI schema, pip freeze, model dependencies, GPU) - Build options (image naming, base image SHA, cog init, localimage) - Predict flags (-o output, --json, --x-pipeline, --x-localimage) - Predict with pre-built images and many input types - cog debug with secrets 4 tests marked [slow] for GPU/monobase builds that require specific architecture or long build times. Tests ported from Python: - test_config.py: 1 test - test_run.py: 5 tests - test_build.py: 12 tests - test_predict.py: 9 tests Total Go integration tests: 87 (60 existing + 27 new)
Author
Mark Phelps
Committer
Parents
Loading