[NonGNU ELPA] Buttercup version 1.40
ELPA update <[email protected]> Sun, 12 Apr 2026 05:04:34 -0400
| Newsgroups | gmane.emacs.sources |
|---|---|
| Message-ID | <[email protected]> |
Version 1.40 of package Buttercup has just been released in NonGNU ELPA.
You can now find it in M-x list-packages RET.
Buttercup describes itself as:
==================================
Behavior-Driven Emacs Lisp Testing
==================================
More at https://elpa.nongnu.org/nongnu/buttercup.html
## Summary:
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.
;;; lexical binding is required -*- lexical-binding: t; -*-
(describe "A suite"
(it "contains a spec with an expectation"
(expect t :to-be t)))
The ideas for project were shamelessly taken from Jasmine
<https://jasmine.github.io>.
All the good ideas are theirs. All the problems are mine.
## Recent NEWS:
[Not provided 🙁]