[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need for a Emacs regression test suite
From: |
Davis Herring |
Subject: |
Re: Need for a Emacs regression test suite |
Date: |
Mon, 10 Sep 2007 12:12:55 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.8-6.el3.2lanl |
> > 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.
See also java.awt.Robot:
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html. That page
says that it uses the XTEST extension on X, and I have seen it work on
Windows (so there is presumably a painless way to do it).
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
- Need for a Emacs regression test suite, dhruva, 2007/09/08
- Re: Need for a Emacs regression test suite, Lennart Borgman (gmail), 2007/09/08
- Need for a Emacs regression test suite, Stephen J. Turnbull, 2007/09/08
- Re: Need for a Emacs regression test suite, Richard Stallman, 2007/09/08
- Re: Need for a Emacs regression test suite, dhruva, 2007/09/09
- Re: Need for a Emacs regression test suite, David Kastrup, 2007/09/09
- Re: Need for a Emacs regression test suite, Lennart Borgman (gmail), 2007/09/09
- Re: Need for a Emacs regression test suite, David Kastrup, 2007/09/09
- Re: Need for a Emacs regression test suite, Richard Stallman, 2007/09/09
- Re: Need for a Emacs regression test suite, Stephen J. Turnbull, 2007/09/10
- Re: Need for a Emacs regression test suite,
Davis Herring <=
- Re: Need for a Emacs regression test suite, Mathias Dahl, 2007/09/11
- Re: Need for a Emacs regression test suite, Stephen J. Turnbull, 2007/09/11
- Re: Need for a Emacs regression test suite, Richard Stallman, 2007/09/11
- Re: Need for a Emacs regression test suite, Stephen J. Turnbull, 2007/09/12
- Re: Need for a Emacs regression test suite, Richard Stallman, 2007/09/13
- Re: Need for a Emacs regression test suite, Stephen J. Turnbull, 2007/09/10
- Re: Need for a Emacs regression test suite, dhruva, 2007/09/10
- Re: Need for a Emacs regression test suite, Stephen J. Turnbull, 2007/09/11
- Re: Need for a Emacs regression test suite, Eli Zaretskii, 2007/09/11