|
From: | Dmitry Gutov |
Subject: | Re: Small improvements to ruby-mode |
Date: | Sun, 11 Aug 2013 17:29:23 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 |
On 11.08.2013 17:08, Johan Andersson wrote:
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.
I don't think it would be that hard. For example, see `ruby-toggle-block-to-brace' and other tests, here:
http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/test/automated/ruby-mode-tests.el#L288Sure, they don't test keybindings, but I'd say it's not the most important part.
[Prev in Thread] | Current Thread | [Next in Thread] |