[jboss-jira] [JBoss JIRA] (AS7-2086) TS: Tests grouping

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Fri Oct 26 17:23:01 EDT 2012


    [ https://issues.jboss.org/browse/AS7-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729575#comment-12729575 ] 

Ondrej Zizka edited comment on AS7-2086 at 10/26/12 5:22 PM:
-------------------------------------------------------------

[~janinko], could you pls also check whether it also works with FailSafe?
FWIK, FailSafe re-uses SureFire somehow, but not sure to which extent and whether your changes are picked up.
As we are going to switch to FailSafe, we need this functionality there too.

I found this http://stackoverflow.com/questions/11542530/using-junit-categories-with-maven-failsafe-plugin
But the update is older than your SureFire patch.


And it it somehow possible to run "all but these", i.e. negate the selection?
I mean, if we don't want to annotate every single test, just some, and exclude those.

And which version of SureFire / FailSafe did this get into?
                
      was (Author: ozizka):
    [~janinko], could you pls also check whether it also works with FailSafe?
FWIK, FailSafe re-uses SureFire somehow, but not sure to which extent and whether your changes are picked up.
As we are going to switch to FailSafe, we need this functionality there too.

I found this http://stackoverflow.com/questions/11542530/using-junit-categories-with-maven-failsafe-plugin
But the update is older than your SureFire patch.


And it it somehow possible to run "all but these", i.e. negate the selection?
I mean, if we don't want to annotate every single test, just some, and exclude those.

                  
> TS: Tests grouping
> ------------------
>
>                 Key: AS7-2086
>                 URL: https://issues.jboss.org/browse/AS7-2086
>             Project: Application Server 7
>          Issue Type: Sub-task
>          Components: Test Suite
>            Reporter: Ondrej Zizka
>            Assignee: Honza Brázdil
>             Fix For: 7.2.0.Alpha1
>
>         Attachments: BooleanExpression.g
>
>
> Decide which mechanism to use to assign the tests into one or multiple groups.
> Posibilities:
> 1)
> {code}
> @Test
> @Category(IntegrationTests.class)
> {code}
> http://weblogs.java.net/blog/johnsmart/archive/2010/04/25/grouping-tests-using-junit-categories-0
> Also, Arquillian itself supports grouping: https://github.com/weld/core/blob/master/tests-arquillian/src/test/java/org/jboss/weld/tests/Categories.java
> 2)
> {code}
> @Ignore
> {code}
> 3) Maven Surefire <includes> and <excludes>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list