off topic:
If the testSourceDirectory param isn't set correctly, unit test source files
wouldn't be found and thus not run (as they cannot be compiled).

/Anders

On Tue, Jan 5, 2010 at 12:41, Marcin Kwapisz <[email protected]> wrote:

> > Well, the purpose is what the docs says:
> > "The test source directory containing test class sources."
> > And it does work, otherwise no unit tests would work/run for any Maven
> > project. As a convention, this param is defined in the Maven super pom.
>
> [Marcin Kwapisz]
> Source files are not run. You mean <testClassesDirectory>. This property
> must be set to directory where compiled test classes are placed.
> <testSourceDirectory> can be set in surefire configuration to whatever
> directory, and tests work properly.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to