From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Regression testing for org-mode Date: Thu, 23 Oct 2008 16:57:22 -0700 Message-ID: <87wsfyx3tp.fsf@gmail.com> References: <4900A06B.8020605@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtA2y-0002Zz-JC for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 19:56:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtA2w-0002Zn-5u for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 19:56:55 -0400 Received: from [199.232.76.173] (port=59290 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtA2w-0002Zk-08 for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 19:56:54 -0400 Received: from rv-out-0708.google.com ([209.85.198.251]:37486) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtA2v-0005sT-Ft for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 19:56:53 -0400 Received: by rv-out-0708.google.com with SMTP id k29so686861rvb.6 for ; Thu, 23 Oct 2008 16:56:52 -0700 (PDT) In-Reply-To: <4900A06B.8020605@sift.info> (Robert Goldman's message of "Thu, 23 Oct 2008 11:03:55 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Robert Goldman Cc: emacs-orgmode@gnu.org I've added a "testing tools" section and a simple example of an org-mode test using ert to Sebastian's org testing page in worg. I don't mean to advocate for ert, it is simply the only elisp testing framework that I have any experience with. I'm pessimistic that the colossal amount of work involved in wrapping all of org-modes extensive and varied functionality into a test framework can/should actually be completed. Would it be sufficient to simply begin dealing with bug reports in a test-first manner? Also, should we start tracking bug reports somewhere (worg), so that they can be claimed, tested against, and repaired? Thanks -- Eric Robert Goldman writes: > There's a page on the EmacsWiki describing schemes for unit/regression > testing in emacs lisp: > > http://www.emacswiki.org/cgi-bin/wiki/UnitTesting > > Perhaps we could pick up one of these? I haven't evaluated any of them. > > In response to Ben Alexander's question, yes, sometimes the screen > output is what you care about, but a big advantage of emacs is that the > screen output is a big array of text, so we could check it (it's a lot > worse, if it's just a bit map...). Sure, we can't always do that, but I > think in many cases we could just grab up a buffer's contents and > compare it against a "right answer." > > best, > r > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode