Are you sure unit tests still work? They worked fine for me in 2.1RC1 but
fail now.  I looked at ExcaliburTestCase and ran it through the debugger and
don't see how it could possibly work.  All the calls to getClass() were
replaced with ExcaliburTestCase.class.  Unless I am missing something this
means it cannot possibly find test cases in classes that extend
ExcaliburTestCase.

When I run my unit tests I get no tests found, which is what I would expect
with that code.

Ralph

-----Original Message-----
From: Ugo Cei
To: [EMAIL PROTECTED]
Sent: 11/25/2003 11:13 PM
Subject: Re: Unit testing

Ralph Goers wrote:
> I have upgraded to Cocoon 2.1.3 and none of my unit tests no longer
work.
> It appears that ExcaliburTestCase, upon which
AbstractCompositeTestCase and
> all other Cocoon testcases are based, has been deprecated and
effectively
> made non-functional.

Unit tests in 2.1.3 work correctly, AFAIK. But please see 
<http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106750239117652&w=2> 
for a possible explanation of why they are failing for you.

        Ugo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to