NonGNU ELPA - buttercup


Behavior-Driven Emacs Lisp Testing
buttercup-1.24.tar, 2021-Dec-16, 290 KiB
Jorgen Schaefer <>
Home page
Browse ELPA's repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET buttercup RET

Full description

Buttercup is a behavior-driven development framework for testing
Emacs Lisp code. It is heavily inspired by the Jasmine test
framework for JavaScript.

A test suite begins with a call to the Buttercup macro `describe` with
the first parameter describing the suite and the rest being the body
of code that implements the suite.

(describe "A suite"
  (it "contains a spec with an expectation"
    (expect t :to-be t)))

The ideas for project were shamelessly taken from Jasmine

All the good ideas are theirs. All the problems are mine.