On 11.08.2013 17:08, Johan Andersson wrote:I don't think it would be that hard. For example, see `ruby-toggle-block-to-brace' and other tests, here:
It's a shame that packages included in Emacs cannot use the current test
suite. Specially in this case since the tests are very good.
I don't think there's any idea to write these in Ert since the mode is
interactive and it would require a lot of mocking and stuff.
http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/test/automated/ruby-mode-tests.el#L288
Sure, they don't test keybindings, but I'd say it's not the most important part.