From 1ace36459ff417a5c8bdeeb5269f89abc459a54e Mon Sep 17 00:00:00 2001 From: alexsavio Date: Fri, 5 Apr 2024 10:05:13 +0200 Subject: [PATCH] chore(justfile): add more levels of test verbosity --- justfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 92f3069..03e48c7 100644 --- a/justfile +++ b/justfile @@ -39,12 +39,16 @@ docker-reboot: docker-stop docker-run run: cargo run -## Run the tests +## Run the tests quietly test testset="": + cargo test {{testset}} + +## Run the tests showing stacktraces +testv testset="": RUST_BACKTRACE=1 cargo test {{testset}} ## Run the tests with verbose and colored output -testv testset="": +testvv testset="": RUST_LOG="sqlx=error,info" \ TEST_LOG=true \ RUST_BACKTRACE=1 \