1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-18 15:06:03 +00:00

migrate integration tests to testscript

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2025-10-14 22:18:53 -04:00
parent cd1d52840c
commit 24685b4331
16 changed files with 299 additions and 345 deletions

18
tests/testdata/verbose_logging.txt vendored Normal file
View file

@ -0,0 +1,18 @@
# Test verbose logging with --verbose flag
-- Cargo.toml --
[package]
name = "test-app"
version = "0.1.0"
edition = "2021"
[dependencies]
-- src/main.rs --
fn main() {
println!("Hello, world!");
}
# Build with --verbose should show DEBUG logs
[linux] exec ./krust --verbose build --no-push --platform linux/amd64 --image test.local/myapp:latest .
[darwin] exec ./krust --verbose build --no-push --platform linux/amd64 --image test.local/myapp:latest .
stderr 'DEBUG'