ContainerDeck 0.4.1 — Test suite
A robustness release: ContainerDeck now ships a test suite.
Dependency-free tests
XCTest and Swift Testing both require Xcode — which this project deliberately doesn't need. So the suite is a self-contained harness run through the executable's --run-tests flag, working with the Command Line Tools alone and exiting non-zero on failure (CI-ready):
make test # or: swift run ContainerDeck --run-tests56 assertions cover the pure logic where regressions hurt most:
- Tolerant JSON access (dotted paths, array/single-object records, invalid input)
- Model mappings against the real CLI 1.0.0 schema — container (status object, CIDR-stripped IP, resources, env), image (arm64 variant size), volume, network (built-in detection), stats
runargument generation from the create form- Compose parser —
${VAR:-default}interpolation,depends_ontopological order, bare service names, build-context resolution, and skipped-mount/restartwarnings
No app behavior changes; same features as 0.4.0.
Installation
macOS 15+ on Apple Silicon. The DMG is not notarized: after dragging the app to Applications, allow it once via System Settings → Privacy & Security → "Open Anyway".