On Tuesday 06 January 2009 2:16:44 pm Benson Margulies wrote: > How do we construct unit tests that test that the code works both with > and without an optional dependency?
Oi... No idea. :-( Only think I can think of is to provide some sort of flag (sys property or something) in the code that detects the dependency and specifically tell it not to do the detect. A context classloader that blocks the dependency MIGHT work. Not really sure though. -- Daniel Kulp [email protected] http://dankulp.com/blog
