[
https://issues.jboss.org/browse/ARQ-474?page=com.atlassian.jira.plugin.sy...
]
Ondrej Zizka commented on ARQ-474:
----------------------------------
+1 on @InOrder, only I'd call it @TestOrder.
Reasoning:
1) I'd prefer to cope with numbers than copying method names, which, as you noted, may
change.
2) Also, adding @TestOrder(1) might be easier to support in IDEs - you just add annotate
all test methods with increasing number, instead of adding depends on
3) Using @DependsOn for ordering would be a bit misusing of it...
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