[lsb-discuss] regarding ncurses test cases

Alexey V. Khoroshilov khoroshilov at ispras.ru
Thu Jun 29 08:51:44 PDT 2006

The ISPRAS (linuxtesting.org) indeed are working on tests for libncurses.
The first useful version is expected in the OLVER 0.5 release (at the
beginning of July).

Our tests use a vt100 terminal emulator, which provides possibility to dump
the current state of the virtual screen to a file.
It allows to perform checks of requirements of the standard in terms of the
state of the virtual screen instead of check in terms of escape sequences.

Advantages of the approach are as follows:
- This level of checks is the most close to the standard.
- Smaller problems with nondeterministic behaviour, because there are a lot
of escape sequences achieving the same state of the screen by different

Drawback of the approach is a restricted set of terminal types, which could
be tested.
Because for each terminal type we have to have an emulator supporting dump
of the current state of the virtual screen to a file.

2 Nayyar Azam:
If you would like to create tests for ncurses on base of our framework, we
will be glad to provide you with all needed information.
Don't hesitate to contact me with any questions.

Alexey Khoroshilov
khoroshilov at linuxtesting.org

----- Original Message ----- 
From: "Andrew Josey" <ajosey at rdg.opengroup.org>
To: "Nayyar Azam" <nayyar.ce at gmail.com>
Cc: <lsb-discuss at lists.freestandards.org>
Sent: Tuesday, June 27, 2006 5:32 PM
Subject: Re: [lsb-discuss] regarding ncurses test cases

> You want also check what the ISPRAS team are doing (linuxtesting.org) .
> I think they have some tests in this area already...
> On Tue, 2006-06-27 at 18:38 +0530, Nayyar Azam wrote:
> > Is xterm a better option for use as an emulator (for implemmenting
> > test cases for libncurses)or vt100, is a good one. Moreover how these
> > test cases should proceed? Is there any good logic to proceed as here
> > I need to draw the whole textual graphics in one window.. and then to
> > verify the drawn one..!!! . I have chosen one approach but I need more
> > options.
> regards
> Andrew
> _______________________________________________
> lsb-discuss mailing list
> lsb-discuss at lists.freestandards.org
> http://lists.freestandards.org/mailman/listinfo/lsb-discuss

More information about the lsb-discuss mailing list