[arquillian-issues] [JBoss JIRA] Commented: (ARQ-474) provide a mechanism to order the test runs

Martin Gencur (JIRA) jira-events at lists.jboss.org
Fri Jul 1 06:25:23 EDT 2011


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

Martin Gencur commented on ARQ-474:
-----------------------------------

How about providing an annotation, lets say, @Ordered with which a whole test class could be annotated and then the test methods would be ordered according to the order in which they are written in the test class (from top->down). Do you think it would be possible?

> provide a mechanism to order the test runs
> ------------------------------------------
>
>                 Key: ARQ-474
>                 URL: https://issues.jboss.org/browse/ARQ-474
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Test Harness Integration
>    Affects Versions: 1.0.0.Beta1
>            Reporter: Prabhat Jha
>
> Currently there exists annotation for deployment ordering but there does not exist a way to control the order in which one wants to run the test. TestNG does have ordering via depends method but JUnit does not. Usually, it's recommended to not have a dependency of test order but in case of clustering and data grid testing where you want to verify replication, it makes sense to have that.
> Please add a fix version which makes a sense based on the roadmap you have.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list