Skip to content

Commit

Permalink
chore(justfile): add more levels of test verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsavio committed Apr 5, 2024
1 parent 1575ce7 commit 1ace364
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 1ace364

Please sign in to comment.