Ert-runner Integration Into Emacs
The ert-runner is a great way to run your ert tests. Overseer integrates this tool into emacs and let's you using it inside your lovely editor.
Installation via package.el
package.el is the built-in package manager in Emacs.
You can install
Overseer with the following commnad:
M-x package-install [RET] overseer [RET]
or by adding this bit of Emacs Lisp code to your Emacs initialization file
(unless (package-installed-p 'overseer) (package-install 'overseer))
If the installation doesn't work try refreshing the package list:
M-x package-refresh-contents [RET]
Keep in mind that MELPA packages are built automatically from
master branch, meaning bugs might creep in there from time to
time. Never-the-less, installing from MELPA is the recommended way of
obtaining Overseer, as the
master branch is normally quite stable and
"stable" (tagged) builds are released somewhat infrequently.
With the most recent builds of Emacs, you can pin Overseer to always use MELPA Stable by adding this to your Emacs initialization:
(add-to-list 'package-pinned-packages '(overseer . "melpa-stable") t)
el-get is another popular package manager for Emacs. If you're an el-get user just do M-x el-get-install [RET] overseer [RET].
You can install Overseer manually by placing it on your
require ing it. Many people favour the folder
(add-to-list 'load-path "~/.emacs.d/vendor/") (require 'overseer)
ert-runner will always run in the context of the current
emacs lisp project.
overseer-mode is enabled via
emacs-lisp-mode-hook by default for emacs lisp test files. (
overseer-mode minor mode will be automaticly enable the following keybindings:
|C-c , a||Runs
|C-c , t||Runs
|C-c , b||Runs
|C-c , f||Open a prompt to run
|C-c , g||Runs
|C-c , p||Open a prompt to run
|C-c , h||Runs
|C-c , d||Runs
|C-c , v||Runs
|C-c , q||Runs
Contributions are very welcome!
- Fork overseer.el
- Create a topic branch -
git checkout -b my_branch
- Push to your branch -
git push origin my_branch
- Send me a pull-request for your topic branch
- That's it!
Copyright © 2014-2015 Samuel Tonini and contributors.
Distributed under the GNU General Public License, version 3