emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small improvements to ruby-mode


From: Johan Andersson
Subject: Re: Small improvements to ruby-mode
Date: Sun, 11 Aug 2013 17:18:41 +0200

Allright, that looks fine. I think some basic tests like that would be great to have. I try to catch everything in my tests, but that might not be necessary. Take a look at the tests I have written and migrate the ones you seem useful.


On Sun, Aug 11, 2013 at 4:29 PM, Dmitry Gutov <address@hidden> wrote:
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#L288

Sure, they don't test keybindings, but I'd say it's not the most important part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]