Run ERT tests and show the results in the modeline.
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)