From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Testing the new VC code Date: Tue, 25 Nov 2014 15:55:04 +0100 Message-ID: <87oarv1gaf.fsf@gmx.de> References: <20141124083310.GA29913@thyrsus.com> <87zjbh3r98.fsf@fencepost.gnu.org> <20141124094929.GA32148@thyrsus.com> <87k32k51ka.fsf@fencepost.gnu.org> <20141124104616.GA1744@thyrsus.com> <87fvd8steg.fsf@gmx.de> <20141124130355.GA5432@thyrsus.com> <87bnnwqtfi.fsf@gmx.de> <20141125025054.GA20793@thyrsus.com> <87wq6j1ntp.fsf@gmx.de> <20141125134227.GB10466@thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416927828 15521 80.91.229.3 (25 Nov 2014 15:03:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 15:03:48 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: "Eric S. Raymond" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 25 16:03:41 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtHeU-0007o5-0Y for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2014 16:03:38 +0100 Original-Received: from localhost ([::1]:57945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtHeT-0002Ry-KM for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2014 10:03:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtHWM-0007ZU-MB for emacs-devel@gnu.org; Tue, 25 Nov 2014 09:55:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtHWG-0000ps-7j for emacs-devel@gnu.org; Tue, 25 Nov 2014 09:55:14 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:54823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtHWF-0000pD-UN; Tue, 25 Nov 2014 09:55:08 -0500 Original-Received: from detlef.gmx.de ([87.146.33.181]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M7CRe-1Y5qrX17yw-00wz7U; Tue, 25 Nov 2014 15:55:05 +0100 In-Reply-To: <20141125134227.GB10466@thyrsus.com> (Eric S. Raymond's message of "Tue, 25 Nov 2014 08:42:28 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:f99waeD+YdCcNCgEUskHasYpmNcMdhrw1jlChZcRY+n80OxCjBd 1UD+hMblT4JWPJPNVi+P6vChlz/5nBGAWon9tfZ+1NpU/ChlDu5JTV/UquTxZ7qE8rGsMSK 3SzTGG975YrMFgIyZgAqJDvXiOBEbTvRj5VU04E6SehE4zCrdKNVqOexSST3fg9eA5d9dTn /cFcGPkTB4idN2ZHQ6YrA== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178244 Archived-At: "Eric S. Raymond" writes: > Instead of doing one-off tests, please take the amount of time you > would have allocated for those and write a Lisp exerciser for the > whole edit cycle - registration, checkout, modification, checkin, > diff, etc. The more cases in vc-action you can visit, the better. > > We could then add this to Emacs's self-tests, and I would have a regression > check to run periodically while I modify the mode. I could do this, using ert. The question is which repositories to use for tests. Something to be created on the fly, via `vc-create-repo' and friends? That might work pretty well for the backends with a local repository (git, bzr, hg and alike), but what to do with the other ones? And, btw, I did it already for `vc-registered' and Tramp. You can see it in test/automated/tramp-tests.el, testcase `tramp-test29-vc-registered '. Maybe I could extend this kind of test. Best regards, Michael.