Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.
84 stars 39 forks source link

Set up test for Issue #56 #57

Closed russel closed 7 years ago

russel commented 7 years ago

Here are the beginnings of some indentation tests prompted by Issue #56. Sadly the tests fail, not because of indentation issues, but because executing (groovy-mode) in the test function does not appear to define indent-line-function which the mode function claims to set as a per-buffer variable. In the test function it's value is nil not groovy-indent-line.

Clearly this pull request cannot really be merged till this problem is sorted. Even then it probably needs the groovy-indent-line function amending to fix the problem of Issue #56.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+26.5%) to 36.765% when pulling ed253b95ffb42762ef0e0d26c6347580815a7a11 on russel:master into ee8ba955af9709e705664cb8847a2e91cca5bcb2 on Groovy-Emacs-Modes:master.

russel commented 7 years ago

I basically copied over the test runner Makefile from another project to compare with using cask exec ert-runner. I think I am happy with using this command rather than a Makefile, so I will delete the Makefile from this changeset.