buttercup(1) behaviour-driven testing for Emacs Lisp packages


buttercup [-L DIR] [--p|--pattern PATTERN] dir...


buttercup invokes the Buttercup testing framework for Emacs Lisp addons for tests found in the directories passed on the command line.


-p PATTERN, --pattern PATTERN
Only run tests in files matching the Emacs regular expression PATTERN. May be passed multiple times.

Add DIR to the Emacs load path when invoking Emacs in batch mode to run the test suite. For example, most invocations will pass -L . to include the current project. May be passed multiple times.