rejeep / commander.el

Emacs command line parser
GNU General Public License v3.0
56 stars 8 forks source link

How should ert tests be run without Cask? #11

Open sten0 opened 6 years ago

sten0 commented 6 years ago

Hi,

I'm packaging elpy (and probably ert-runner and commander) for Debian and am currently working on getting self-tests to pass. Packaging Cask has been NACKed, because Debian uses it's own ert tests framework as part of dh_elpa (debhelper for elpa/Packages.el compatible packages). I have a couple of questions about commander.el, because my investigation into how these selftests should be run without Cask has been extremely slow and I haven't made much progress in the last two or three weeks.

Do commander.el's self-tests require ert-runner? commander.el/Cask seems to indicate this is the case. Likewise, I believe ert-runner's selftests require commander.el, but please correct me if I'm wrong.

Would you please share an example like: emacs -batch -Q -l specific_file -l in_specific -l order -L load-everything-in-this-dir ? I can adapt such an example to dh_elpa's ert framework.

Thanks! Nicholas