emacs-eldev / eldev

Elisp development tool
https://emacs-eldev.github.io/eldev/
GNU General Public License v3.0
227 stars 17 forks source link

Support for ecuks #33

Closed twlz0ne closed 2 years ago

twlz0ne commented 3 years ago

Ecukes is Cucumber for Emacs.

Seems it can be easily intergrated with cask: ecukes#installation

Installation

Add ecukes to your Cask file:

(source melpa)

(package "super-duper" "0.0.1" "Super Duper.")

(development
 (depends-on "ecukes"))

Then run cask to install.

Create an Elisp file in the root directory called super-duper.el and (provide 'super-duper). To setup Ecukes for the project, run:

$ cask exec ecukes new

create features
create   step-definition
create     super-duper-steps.el
create   support
create     env.el
create   super-duper.feature

Packages are using ecukes:

doublep commented 3 years ago

The largest problem appears to be that it doesn't like batch mode, so has to be run in a separate Emacs subprocess. Also, it is overall very unlike the currently supported frameworks and doesn't use .el files to declare tests.

doublep commented 2 years ago

Since 0.10 Eldev supports default (script/batch) mode of Ecukes. Support for win/no-win mode might be added later, but it's not easy.