From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel Subject: Re: Need for a Emacs regression test suite Date: Tue, 11 Sep 2007 07:00:35 +0200 Message-ID: <7dbe73ed0709102200y5824df5bqad69fb00007a88e5@mail.gmail.com> References: <87bqcapccs.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189486858 24603 80.91.229.12 (11 Sep 2007 05:00:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 05:00:58 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 15:00:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IV5M2-0003LD-AA for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 15:00:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUxrk-0007eP-48 for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 01:00:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUxrd-0007d5-7t for emacs-devel@gnu.org; Tue, 11 Sep 2007 01:00:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUxra-0007ak-OE for emacs-devel@gnu.org; Tue, 11 Sep 2007 01:00:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUxra-0007ab-D7 for emacs-devel@gnu.org; Tue, 11 Sep 2007 01:00:38 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUxrZ-00044u-Ts for emacs-devel@gnu.org; Tue, 11 Sep 2007 01:00:38 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so1148782rvf for ; Mon, 10 Sep 2007 22:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/auTJiTTL4/xGe86UK7e8PoH/ZDybJKOy+bYRePzjcg=; b=SMzYyaVNlxMMec8sOWt/ZxJlmtQrkJ+A+FfE9+QquT/QoR56ISV3e/YqtcZpHRUa3uVxmj9aKIk3TJTfN2WA0VKgn1KNGC/2v683OkA+tsLLYmXDLoW9o6C80qUMHwWFG1NivGN4KuKYNg2369juH7uhIuZnN8lpzYng6xQn+8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MQE9MjT0djeEwWM2fz8up75Hk5mj488i3rJ8of/BxJKAlNiIvs8Zdye0J5geRilJFnIgGDgnFvub0OVADu2uCMdrcvd+lc2RgJAo6uN3aDuhkb/mc5GwcswB7RefoM1VMWyhEC+WV+RsTC3bhVihlhGoJNyp53O0CaD6XKxLem0= Original-Received: by 10.141.161.6 with SMTP id n6mr2171662rvo.1189486835966; Mon, 10 Sep 2007 22:00:35 -0700 (PDT) Original-Received: by 10.141.172.10 with HTTP; Mon, 10 Sep 2007 22:00:35 -0700 (PDT) In-Reply-To: <87bqcapccs.fsf@uwakimon.sk.tsukuba.ac.jp> Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78565 Archived-At: > Not currently. I don't know about Windows and Carbon, but it would > not be impossible to develop a framework to generate X events to send > to X windows at known positions. (Ie, you would arrange for a frame > to be created at 0,0, then you can send mouse clicks to the menubar > and things like that, also keystroke events.) You mean like xnee (http://www.gnu.org/software/xnee/): Xnee is a suite of programs that can record, replay and distribute user actions under the X11 environment. Think of it as a robot that can imitate the job you just did. Xnee can be used to: Automate tests e.g nightly automatic regression tests Demonstrate programs e.g record and replay a user interaction with your system Distribute actions e.g teacher's actions can be sent to all student's desktops Record and replay 'macro' e.g Tie a key modifier combination (e.g using xkeymouse) to replay a recorded session. The macro is WM- and program independent. Retype a file e.g When testing an editor, Xnee can type in the content of a file. This can be compared with the original and thereby