emacs-buttercup

Behavior-Driven Emacs Lisp Testing (by jorgenschaefer)

Emacs-buttercup Alternatives

Similar projects and alternatives to emacs-buttercup

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better emacs-buttercup alternative or higher similarity.

emacs-buttercup reviews and mentions

Posts with mentions or reviews of emacs-buttercup. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-01.
  • Emacs is big, emacs is god, emacs makes unit tests a major PITA
    2 projects | /r/emacs | 1 Apr 2023
    ERT doesn't have much to help with this, but Buttercup has a number of facilities to help with controlling the environment around each test: https://github.com/jorgenschaefer/emacs-buttercup/
  • Emacs’s Builtin Elisp Cheat Sheet
    8 projects | news.ycombinator.com | 6 Jul 2022
    > (For example, when trying to test things out I haven't really found a way much better than typing into scratch, selecting code and running it while staring at messages....)

    Are you talking about when you're noodling, trying to figure how things work, or actually trying to build something?

    For playing around, I found that scratch works ok, but I found a better workflow.

    I end up using a daily note in org-roam, with #begin_src elisp... I then tag the heading with :REFILE:ELISP: so I can always find it later. Basically evaluate everything inline within that org-babel block.

    When I'm building something, or driving towards a specific goal, I use buttercup [0] to write actual unit tests. If I squint, it kinda looks like TDD.

    Finally, for debugging of running elisp, take a look at edebug [1]. It's a pretty standard looking debugger (if you used something like gdb). By default emacs uses debug which is not as friendly.

    [0]: https://github.com/jorgenschaefer/emacs-buttercup

    [1]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Ed...

  • Writing my first tests in elisp
    1 project | /r/emacs | 9 Sep 2021
    Ok, before posting this I looked up a bit and found this and this. Buttercup seems great. Links or tips from experienced developers are welcome.
  • emacs-buttercup: Behavior-Driven Emacs Lisp Testing
    1 project | /r/planetemacs | 25 Feb 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic emacs-buttercup repo stats
4
353
8.0
about 1 month ago

jorgenschaefer/emacs-buttercup is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of emacs-buttercup is Emacs Lisp.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com