On 5/24/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>To be precise, you need both shale-core.jar and shale-test.jar in the
>classpath for your unit tests, but you need neither in the classpath for
>your runtime application (unless you are actually using Shale in the
>application itself, of course).

Am I reading this out of context or was the shale-core.jar dependency introduced recently?  I believe the myfaces poms have only shale-test.jar and they work just fine .

I really need to be a little more complete in my terse answers :-).

The test framework has a single class (org.apache.shale.test.base.AbstractViewControllerTestCase) that depends on Shale Core, so Core must be present to *compile* the test framework ... but if you're not testing ViewControllers (which is true for the MyFaces use of the test framework), then you can compile and run your own tests without shale-core.jar present.

Craig


>Craig

Dennis Byrne



Reply via email to