buttercup 
- Description
- Behavior-Driven Emacs Lisp Testing
- Latest
- buttercup-1.38.tar (.sig), 2025-Aug-01, 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.37.tar.lz | 2025-Feb-17 | 23.9 KiB |
| buttercup-1.36.tar.lz | 2024-Sep-05 | 23.8 KiB |
| buttercup-1.35.tar.lz | 2024-Mar-31 | 23.4 KiB |
| buttercup-1.34.tar.lz | 2024-Feb-27 | 22.9 KiB |
| buttercup-1.33.tar.lz | 2023-Dec-07 | 22.7 KiB |
| buttercup-1.32.tar.lz | 2023-Oct-06 | 22.7 KiB |
| buttercup-1.31.tar.lz | 2023-Apr-18 | 22.6 KiB |
| buttercup-1.30.tar.lz | 2023-Mar-10 | 22.4 KiB |
| buttercup-1.29.tar.lz | 2022-Dec-05 | 21.8 KiB |
| buttercup-1.28.tar.lz | 2022-Oct-26 | 21.7 KiB |
| buttercup-1.27.tar.lz | 2022-Oct-17 | 21.8 KiB |
| buttercup-1.26.tar.lz | 2022-Aug-11 | 21.7 KiB |
| buttercup-1.25.tar.lz | 2022-Apr-10 | 62.7 KiB |
| buttercup-1.24.tar.lz | 2021-Dec-16 | 72.1 KiB |