Tags: jasoet/go-wf
Tags
test: significantly improve test coverage across docker packages Coverage improvements: - template: 76.3% → 92.6% (+16.3%) - builder: 84.8% → 91.2% (+6.4%) - patterns: 52.1% → 92.6% (+40.5%) - docker main: 67.0% → 80.1% (+13.1%) Key changes: - Added comprehensive validation tests for Container, Script, and HTTP templates - Added tests for HTTP options (headers, auto-remove, follow-redirect, insecure, env) - Added builder option tests (WithCleanup, WithGlobalTimeout, WithGlobalAutoRemove) - Added test for AddExitHandlerInput method - Removed `//go:build !integration` tag from output_extraction_test.go to enable combined unit+integration coverage (output extraction functions now 56-86% covered) Three packages now exceed the 85% coverage target. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
feat(docker): add WorkflowBuilder with CI/CD patterns and extensive t… …ests - Introduced `WorkflowBuilder` for creating Docker workflows (single, pipeline, and parallel). - Added comprehensive CI/CD workflow patterns in `docker/patterns` (build-test-deploy, health check, multi-environment deploy). - Implemented `docker/template` for reusable container configurations with fluent options. - Included extensive unit tests (`builder_test.go`) for `WorkflowBuilder` (pipeline, parallel, exit handlers, etc.). - Coverage includes all major builder operations, chaining, and error scenarios.
chore(test): add integration tests for Docker with Temporal workflows… … and update dependencies - Introduce new integration tests (`TestIntegration_ContainerWithEnvironment`, `TestIntegration_ContainerWithWorkDir`, etc.) for enhanced Docker + Temporal workflow validation. - Update dependencies in `go.mod` and `go.sum` for improved compatibility and functionality. - Remove unused `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` dependency.
chore(docker): remove unused worker integration test and update depen… …dencies - Remove `worker_integration_test.go` as worker registration is already validated in other integration tests. - Update dependencies in `go.mod` and `go.sum`, including adding `testcontainers` for improved test support. - Adjust Temporal container setup in `integration_test.go` to use `temporalio/temporal:latest` with updated configurations for better compatibility and testing.