[
https://issues.jboss.org/browse/JBTM-1355?page=com.atlassian.jira.plugin....
]
Amos Feng logged work on JBTM-1355:
-----------------------------------
Author: Amos Feng
Created on: 17/Jan/13 10:23 PM
Start Date: 17/Jan/13 8:23 PM
Worklog Time Spent: 2 hours
Work Description: work on 4.17 branch
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 2 hours)
Time Spent: 6 hours (was: 4 hours)
Worklog Id: (was: 12428414)
Merge XTS JUnit and Arquillian tests
------------------------------------
Key: JBTM-1355
URL:
https://issues.jboss.org/browse/JBTM-1355
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Testing, XTS
Reporter: Paul Robinson
Assignee: Amos Feng
Priority: Minor
Labels: assign
Fix For: 4.17.4, 5.0.0.M2
Original Estimate: 4 hours
Time Spent: 6 hours
Remaining Estimate: 0 minutes
When migrating the XTS tests to Arquillian, we wanted to make sure that the old tests
where still functional whilst the Arquillian counterparts stabilized. As a result we now
have two classes for each test. The Arquillian test delegates each @Test method to the
corresponding @Test in the old suite.
For example:
We have the actual test in:
./XTS/localjunit/WSTX/src/main/java/com/arjuna/wst11/tests/arq/ba/MultiClose.java
And then a Arquillian JUnit test which just calls the test methods above is here:
./XTS/localjunit/WSTX/src/test/java/com/arjuna/wst11/tests/arq/ba/MultiCloseTest.java
To resolve this issue, we should remove the tests under
'./XTS/localjunit/WSTX/src/main/java' and merge the test methods into Arquillian
test. At the end of this process "./XTS/localjunit/WSTX/src/main" should be
empty (and thus removed).
This applies to most, if not all suites under "./XTS/localjunit/".
--
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