adon...@google.com
unread,Mar 18, 2013, 3:28:35 PM3/18/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dominik...@gmail.com, c...@f00f.org, patrick.al...@gmail.com, sam...@golang.org, golan...@googlegroups.com, re...@codereview-hr.appspotmail.com
On 2013/03/18 19:24:07, adonovan wrote:
> On 2013/03/18 19:20:26, Dominik Honnef wrote:
> > Any other comments or can we get this committed?
> LGTM
> I'll submit it.
> cheers
> alan
A thought: consider writing some tests (in elisp) for the code in this
file, since it is certainly above the kind of complexity for which
testing is appropriate in 'production' programs, and it's impossible to
remember all the odd corner cases you tested interactively each time you
fix another bug. It needn't be an automated test (you don't want to
depend upon emacs, godef, etc, from the main repo), just something you
can run as 'emacs --batch go-mode-test.el'. I don't know what exists
out there to facilitate writing tests in elisp, but surely something.
As always with testing, the first one is the hardest but quickly pays
for itself.
https://codereview.appspot.com/7781043/