Previous: , Up: SLIME Mode   [Contents][Index]


17.6.5 SLIME Colors for Testing using Prove

SLIME doesn’t support to color with ANSI colors in the REPL buffer officially.

You can add the feature by using slime-repl-ansi-color.el.

After installing it, set prove:*enable-colors* to ‘T’ before running tests.

;; A part of my ~/.sbclrc
(ql:quickload :prove)
(setf prove:*enable-colors* t)

If you would prefer not to load prove in every lisp session, set up this method instead of the former:

defmethod asdf:perform :after ((op asdf:load-op) (c (eql (asdf:find-system :prove))))
  (setf (symbol-value (intern (string :*enable-colors*) :prove)) t))