nuxeo-widgets
[Top][All Lists]
Advanced

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

Re: [Nuxeo-widgets] Links in Event Title


From: Juan David Ibáñez Palomar
Subject: Re: [Nuxeo-widgets] Links in Event Title
Date: Mon, 17 Jun 2002 02:58:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020610 Debian/1.0.0-1

Mark Bucciarelli wrote:

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 ...


I've added the "import ZODB" line, but haven't tested anything,
just trust you :-)

I've also created a TODO file and added your suggestion to separate
better the code that don't requires Zope.



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).


I don't know too much about unit testing, but like the things
that are simple.



 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


_______________________________________________
Nuxeo-widgets mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/nuxeo-widgets



--
J. David Ibáñez, Nuxeo.com
Debian user (http://www.debian.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]