[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nuxeo-widgets] Links in Event Title
From: |
Mark Bucciarelli |
Subject: |
Re: [Nuxeo-widgets] Links in Event Title |
Date: |
Sat, 15 Jun 2002 11:40:22 -0400 |
User-agent: |
KMail/1.4.1 |
On Friday 14 June 2002 12:13 pm, Juan David Ibáñez Palomar wrote:
> Hi Mark,
>
> Thanks for the info, I didn't knew it.
>
> My policy for unit tests (I don't do too many unfortunately), is
> to test only Zope independent code, so I avoid these problems.
Right, I picked up on this from reading your code. Seems like a great way to
handle things.
> It also helps to separate the code that don't really needs to depend
> on Zope from the rest, something I find nice.
Well, it probably could be broken out more. In order to
from __init__ import get_data
you need to have an
import ZODB
or else you can't run the test. But I don't need that to work out my tests
now--the work around is OK for me ...
> There's a chapter in the Zope developers guide about this topic,
> I guess you already knew it:
I'm familiar with Unit Testing from JUnit and Ant and I hope to use it more.
:) I like the idea of testing logic outside of Zope. Seems simpler than
ZUnit (or whatever it's called).
> http://www.zope.org/Documentation/ZDG/TestingAndDebugging.stx
>
> (I'm not sure to have helped or if you've already solved the problem..)
Yep, I'm good to go.
Mark