Skip to content

nlamirault/cerbere

Repository files navigation

Cerbere

Build Status

Cerbere is a a global mode for TDD in Emacs. Some backends are available:

Installation

The recommended way to install cerbere is via MELPA:

M-x package-install cerbere

or Cask:

(depends-on "cerbere")

In your .emacs file, add this :

(add-hook 'python-mode-hook 'cerbere-mode)
(add-hook 'go-mode-hook 'cerbere-mode)
(add-hook 'web-mode-hook 'cerbere-mode)

Keymap

Keybinding Description
C-c c t launch the current unit test
C-c c f launch unit tests of the current file
C-c c p launch all unit tests for current project
C-c c l relaunch the last executed test
C-c c d relaunch the current test or the last executed test

Backends

To add a new backend, see the documentation for cerbere-define-backend.

Development

Cask

cerbere use Cask (>=0.6) for dependencies management. Install it and retrieve dependencies :

$ curl -fsSkL https://raw.github.com/cask/cask/master/go | python
$ export PATH="$HOME/.cask/bin:$PATH"
$ cask

Tests

Launch unit tests :

$ cask exec ert-runner

Support / Contribute

See here

License

Scame is released under the MIT License

Changelog

A changelog is available here.

Contact

Nicolas Lamirault nicolas.lamirault@gmail.com