Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (12 sloc) 0.905 kB

ERT Modeline

Run ERT tests and show the results in the modeline.

Example of modeline with ert-modeline-mode enabled

Description

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.

Installation

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)
Jump to Line
Something went wrong with that request. Please try again.