[jboss-as7-dev] Testsuite classes are not compiled by default?

Jaikiran Pai jpai at redhat.com
Tue Jan 17 07:37:00 EST 2012


Sorry about the late reply.

Jason's suggestion of using tests-compile is fine for me. It's simple 
enough.

-Jaikiran
On Tuesday 10 January 2012 12:51 AM, Ondřej Žižka wrote:
> Well that's because how it works:
>
> -DallTests activates the submodules. Without that, they are not run, 
> as you can see in the final Maven's report.
>
> Technically, it could be done so that it would skip the tests, but it 
> would complicate things a bit.
> It that necessary or can you live with -DallTests?
>
> You might also consider using -DallTests -DskipTests.
>
> Ondra
>
>
>
> Jaikiran Pai píše v Ne 08. 01. 2012 v 20:52 +0530:
>> Just noticed that the classes in the testsuite module (for example:
>> testsuite/integration/basic) are not compiled by default unless you use
>> the -DallTests switch. I thought we had decided that all classes
>> including test classes will be compiled by default (but not all tests
>> will be run). Is this intentional to leave out compilation of these
>> classes? I had a API change (since last week) and only today after
>> finishing off majority of the work I decided to run a full testsuite and
>> realized that there are some API compatibility compilation issues in the
>> testsuite.
>>
>>
>> -Jaikiran
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org  <mailto:jboss-as7-dev at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>



More information about the jboss-as7-dev mailing list