Ethereal-dev: RE: [Ethereal-dev] RFC: Test suite for (t)ethereal?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Jacques, Olivier (OCBU-Test Infra)" <olivier.jacques@xxxxxx>
Date: Wed, 7 Dec 2005 17:07:22 +0100
> > I would like to have an automated test suite to check several
> > functionalities:
> > 
> > - capturing (with various conditions, interface settings, ...)
> > - stop after a specific capture time
> > - stop after a specific amount of time
> > - stop after a number of files captured
> > - check expected output strings
> > - check output files (e.g. by using capinfos)
> > - ...

In this environment (multi-platforms but CLI based), you have few
options (if we limit to Open Source solutions):
- Perl with Test::Simple, Test::More and Test::Expect
   Some links:
	-> http://search.cpan.org/~szabgab/Bundle-Test-1.05/Test.pm
	->
http://search.cpan.org/~lbrocard/Test-Expect-0.29/lib/Test/Expect.pm
  The advantage is that we could possibly extend this to regression test
the GUI (http://sourceforge.net/projects/x11guitest/)
- Ruby with Test::Unit

Olivier.