[15555] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: New Python test framework

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Mar 4 23:16:52 2010

From: Greg Hudson <ghudson@mit.edu>
To: Ezra Peisach <epeisach@mit.edu>
In-Reply-To: <4B9073F1.2000906@mit.edu>
Date: Thu, 04 Mar 2010 23:16:47 -0500
Message-ID: <1267762607.18898.131.camel@ray>
Mime-Version: 1.0
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On Thu, 2010-03-04 at 22:01 -0500, Ezra Peisach wrote:
> Initial testing reveals the following:
> 
> a) It would be nice if success() took an argument that could be 
> displayed to indicate what the tests were testing... fail() does - and 
> displays the message... t_general.py might mean something to you now - 
> but five years from now?

Hm, perhaps.  I was mostly trying to cut down on output clutter by
making successful tests silent, but a little bit of output wouldn't be a
terrible thing.

> b) Failure of a test does not stop the test suite

That's a mistake.  I wanted it to be like the t_whatever C programs
where the test suite would just stop when one of them failed.  I'll fix
it.


_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post