Minor mode for Midje tests
Emacs Lisp
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with dnaumov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.pre-commit-config.yaml
LICENSE.txt
README.md
clojure-jump-to-file.el
midje-mode-pkg.el
midje-mode-praise.el
midje-mode.el

README.md

Overview

Midje-mode is an Emacs minor mode for Midje - test framework for Clojure, which provides a migration path from clojure.test to a more flexible, readable, abstract, and gracious style of testing.

See also wiki pages about midje-mode and clojure-jump-to-file.

Install

Midje-mode can be installed through el-get: just add midje-mode to your el-get-sources.

In addition, Midje-mode is on marmalade-repo.org. Follow the instructions on marmalade-repo.org to use the maramalde repo, then install the midje-mode package.

Finally, you can download files manually and place it somewhere on load-path, then add following lines to your .emacs file:

(require 'midje-mode)
(require 'clojure-jump-to-file)

Configure

When a command that only checks a single fact succeeds, midje-mode's default behavior is to insert random praise in a comment before the fact. You can customize the collection of praise by changing the variable midje-praise-quotes. If you set it to nil, no praise will be inserted as a comment; instead, you will see a slightly less inspiring message in the minibuffer when your checks pass.

Contributors

  • Chris Bilson
  • Ye He
  • Andreas Liljeqvist
  • Dave Kincaid
  • Brian Marick
  • Dmitri Naumov
  • Steve Purcell
  • Jani Rahkola
  • "fmezas"