git clone 'git://github.com/tonini/overseer.el.git'
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.
package.el is the built-in package manager in Emacs.
Overseer is available on the three major community maintained repositories - MELPA STABLE, MELPA and Marmalade.
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:
Keybinding | Description
C-c , t | Runs
cask exec ert-runner.
C-c , b | Runs
cask exec ert-runner with the current buffer file as argument.
C-c , f | Open a prompt to run
cask exec ert-runner with a custom file as arguments.
C-c , g | Runs
cask exec ert-runner -t with given tags (example:
C-c , p | Open a prompt to run
cask exec ert-runner with custom arguments.
C-c , h | Runs
cask exec ert-runner --help.
C-c , d | Runs
cask exec ert-runner --debug.
C-c , v | Runs
cask exec ert-runner --verbose.
C-c , q | Runs
cask exec ert-runner --quiet.
Contributions are very welcome!
git checkout -b my_branch
git push origin my_branch
Copyright © 2014-2015 Samuel Tonini and contributors.
Distributed under the GNU General Public License, version 3