parseclj
parseclj copied to clipboard
Replace ert with buttercup
This allows you to have much more expressive tests (similar to what you get from jasmine/rspec) and simplifies the travis integration a lot.
https://github.com/jorgenschaefer/emacs-buttercup
The project doesn't have many tests yet, so it's better to do something like this sooner rather than later IMO.
Interesting. I just introduced Cask + ert-runner for a.el and quite liked the experience. While I quite like rspec, I always found that doing rspec-like things outside of Ruby never really felt right. I'm not a fan of Clojure's expectations for instance.
Could you point to a project that uses buttercup and has CI set up?
Interesting. I just introduced Cask + ert-runner for a.el and quite liked the experience. While I quite like rspec, I always found that doing rspec-like things outside of Ruby never really felt right. I'm not a fan of Clojure's expectations for instance.
My point is mostly that ert's API is so basic that you end up with some pretty hard to read to tests, especially if they are non-trivial. And things like mocking are not even supported - you have to resort to things like no-flet quite often with it.
Could you point to a project that uses buttercup and has CI set up?
CIDER uses it. The switch simplified both the CI setup and the tests themselves.
autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it