directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Motluck" <randy.motl...@gmail.com>
Subject Re: Testing with a specific server.xml
Date Thu, 18 Oct 2007 20:57:23 GMT
Thanks for the reply.

I think I may look into subclassing those tests and overriding the
dependency setting...to ensure proper functionality on my stuff.

I have not looked yet at the tests while at work, but this evening, while at
home,  I will check to see how feasible that is.

Again, thank you.

-Randy Motluck

On 10/18/07, Stefan Zoerner <stefan@labeo.de> wrote:
>
> Randy Motluck wrote:
>
> > How can make the unit tests and integration tests use my changed
> > server.xml.  I have some alternate backend components that I am trying
> > to write/test.
> >
> > It does not seem clear to me how the integration tests work.  I know how
> > to run them, just not get them to work with my specifc backend
> components.
>
> The integration tests do not use the server.xml configuration (Spring
> Framework). The server runs embedded and is configured programatically.
>
> One option would be to add your custom components programatically to the
> configuration as well.
>
> Greetings,
>     Stefan
>
>

Mime
View raw message