diff --git a/justfile b/justfile index f3c29b9..73b0649 100644 --- a/justfile +++ b/justfile @@ -12,5 +12,8 @@ compile: cask emacs -batch -L . -L test --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile $(cask files); (ret=$? ; cask clean-elc && exit $ret) # Run unit tests matching a pattern (matches all tests by default) -test pattern=".": compile - cask exec buttercup -L . --pattern {{pattern}} --no-skip +test pattern="." flags="": compile + cask exec buttercup -L . --pattern {{pattern}} --no-skip {{flags}} + +# Run unit tests matching a pattern with verbose debug info on failure +testv pattern=".": (test pattern "--traceback full")