|
From: | B. Fallenstein |
Subject: | Re: [Gzz] Jython tests |
Date: | Sat, 18 May 2002 16:10:27 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.9) Gecko/20020414 Debian/0.9.9-6 |
Tuomas Lukka wrote:
Benja: the idea of writing our unit tests in Python is just BRILLIANT. The tests, when written in Java, are far too clumsy and unclear.
:-)vegai likes PyUnit, which is modeled after JUnit. We could also think about subclassing JUnit's classes in Jython. However, I don't like having to use Python's 'self' in the tests-- i.e., for a variable 'c' initialized in setUp(), I'd have to write 'self.c' (due to Python 2.1's missing namespaces). This needs some playing around, I guess...
- Benja
[Prev in Thread] | Current Thread | [Next in Thread] |