[arquillian-issues] [JBoss JIRA] (ARQGRA-260) @InSequence with one or more test numbers i.e. @InSequence(1, 5, 9)

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Jan 18 03:20:21 EST 2013


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

Lukáš Fryč commented on ARQGRA-260:
-----------------------------------

Hey Emmanouil, I believe this is better to do with Java methods - the result will be actually more readable.
                
> @InSequence with one or more test numbers i.e. @InSequence(1,5,9)
> -----------------------------------------------------------------
>
>                 Key: ARQGRA-260
>                 URL: https://issues.jboss.org/browse/ARQGRA-260
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>          Components: junit, unit-test
>    Affects Versions: 2.0.0.Beta1
>            Reporter: Emmanouil Vlastos
>            Priority: Minor
>             Fix For: 2.0.0.Beta1
>
>
> The idea was to be able to execute the same test in different positions in the JUnit file.
> For example
> @Test
> @InSequence(1,5,9)
> public void resetUI(){
> //do something to reset some values
> }
> @Test
> @InSequence(2,6){
> public void initializeUI(){
> //do something to initialize some values
> }
> @Test
> @InSequence(3)
> public void test3(){}
> @Test
> @InSequence(4)
> public void test4(){}
> @Test
> @InSequence(7)
> public void test7(){}
> @Test
> @InSequence(8)
> public void test8(){}

--
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 arquillian-issues mailing list