You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sagara Gunathunga <sa...@gmail.com> on 2009/05/14 19:22:50 UTC

Filtering different test cases according to the profile

Hi all,
In my project I want to run some Test cases only with Java 1.4 , in
Java 5 I don't want  to run these specific set of test cases , AFAIK I
can create two Maven profile for java 1.4 and Java 5 along with
maven-compiler-plugin , but I'm not sure how can filter different test
cases according  to each profile , generally  it will run all the test
cases available on project test directory  . Can any one provide any
clue .?


Thanks ,



Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Filtering different test cases according to the profile

Posted by Sagara Gunathunga <sa...@gmail.com>.
any pointer for this ....?

On Thu, May 14, 2009 at 10:52 PM, Sagara Gunathunga <sa...@gmail.com> wrote:
> Hi all,
> In my project I want to run some Test cases only with Java 1.4 , in
> Java 5 I don't want  to run these specific set of test cases , AFAIK I
> can create two Maven profile for java 1.4 and Java 5 along with
> maven-compiler-plugin , but I'm not sure how can filter different test
> cases according  to each profile , generally  it will run all the test
> cases available on project test directory  . Can any one provide any
> clue .?
>
>
> Thanks ,
>
>
>
> Sagara Gunathunga
>
> Blog - ssagara.blogspot.com
> Web - http://sagaras.awardspace.com/
>



-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org