buttercup 
- Description
- Behavior-Driven Emacs Lisp Testing
- Latest
- buttercup-1.40.0.20260411.203013.tar (.sig), 2026-Apr-12, 120 KiB
- Maintainer
- Ola Nilsson <ola.nilsson@gmail.com>
- Website
- https://github.com/jorgenschaefer/emacs-buttercup
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install or list-packages.
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.
;;; 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.
Old versions
| buttercup-1.39.0.20260409.235427.tar.lz | 2026-Apr-10 | 24.4 KiB |
| buttercup-1.38.0.20250801.138.tar.lz | 2025-Aug-01 | 24.1 KiB |
| buttercup-1.37.0.20250727.204724.tar.lz | 2025-Jul-28 | 23.9 KiB |
| buttercup-1.37.0.20250216.231504.tar.lz | 2025-Feb-17 | 23.9 KiB |
| buttercup-1.36.0.20240904.231112.tar.lz | 2024-Sep-05 | 23.8 KiB |
| buttercup-1.29.0.20230119.233713.tar.lz | 2023-Jan-20 | 22.3 KiB |
| buttercup-1.28.0.20221026.200632.tar.lz | 2022-Oct-26 | 21.7 KiB |
| buttercup-1.27.0.20221016.223901.tar.lz | 2022-Oct-17 | 21.8 KiB |
| buttercup-1.26.0.20220814.215057.tar.lz | 2022-Aug-18 | 21.8 KiB |
| buttercup-1.24.0.20220329.204328.tar.lz | 2022-Mar-29 | 62.2 KiB |