[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automated testing - design and interfaces

On Thu, Nov 17, 2005 at 02:36:06PM -0800, Steve Langasek wrote:
> FWIW, I don't see that there's a clear advantage to having the test harness
> *expect* non-zero exit values (or non-empty output as you also suggested).

As I understood it, the proposed approach is about standardizing and
easing the way we perform tests on debian packages. Since it often
happen that both positive and negative tests are a need, having a way to
describe externally (wrt the tests) their expected behaviour seem to me
a good way to factorize in the tester the "expectation" code. It may
also help in writing interfaces for showing tests results which will be
more informative than a simple success/failure message.

I agree though that my "very minimum" assertion was too strong.


Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature

Reply to: