Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Automatically run and display the status of ert tests in the modeline.
Emacs Lisp
branch: master

This branch is 2 commits behind chrisbarrett:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

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.