unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Need for a Emacs regression test suite
Date: Tue, 11 Sep 2007 04:08:35 +0900	[thread overview]
Message-ID: <87bqcapccs.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1IUT2s-0005Tr-CK@fencepost.gnu.org>

Richard Stallman writes:

 > But the suggestion was "to test the GUI invocation".  I don't see how
 > regression tests for that could possibly work.  Does XEmacs' testing
 > framework apply to user input operations?

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.)  Since Windows and
Carbon are designed for operation only the local console an entirely
different approach would have to be taken, I suppose.

These tests can easily be done in LISP, since there is an xlib package
and an X window manager, both written entirely in LISP.

  reply	other threads:[~2007-09-10 19:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 17:51 Need for a Emacs regression test suite dhruva
2007-09-08 18:19 ` Lennart Borgman (gmail)
2007-09-08 20:22 ` Stephen J. Turnbull
     [not found] ` <E1IUCJD-0000Zk-BP@fencepost.gnu.org>
     [not found]   ` <e3f230850709082119s92e13abi65f674b3b0c9b171@mail.gmail.com>
2007-09-09  8:05     ` David Kastrup
2007-09-09  9:45       ` Lennart Borgman (gmail)
2007-09-09 10:13         ` David Kastrup
2007-09-09 20:06     ` Richard Stallman
2007-09-10 19:08       ` Stephen J. Turnbull [this message]
2007-09-10 19:12         ` Davis Herring
2007-09-11  5:00         ` Mathias Dahl
2007-09-11  6:08           ` Stephen J. Turnbull
2007-09-11 20:30         ` Richard Stallman
2007-09-12  4:44           ` Stephen J. Turnbull
2007-09-13 16:29             ` Richard Stallman
2007-09-10 20:12     ` Stephen J. Turnbull
2007-09-11  3:50       ` dhruva
2007-09-11 14:43         ` Stephen J. Turnbull
2007-09-11 19:33         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bqcapccs.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).