Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (12 sloc) 905 Bytes

ERT Modeline

Run ERT tests and show the results in the modeline.

Example of modeline with ert-modeline-mode enabled


This is a minor mode that will run ERT tests in the background whenever you save an Elisp buffer or evaluate an expression. The results are displayed in the modeline, so you will know immediately if you have introduced a breaking change.

The mode will make a decent attempt to search for test files in your project. If you have a standard project layout it should work without any configuration, but you can customize ertml-setup-commands if you need to do something special.


Clone this repo, add it to your load path, then add the following to your init.el:

(autoload 'ert-modeline-mode "ert-modeline")
(add-hook 'emacs-lisp-mode-hook 'ert-modeline-mode)
Something went wrong with that request. Please try again.