David E Jones wrote:
> 
> A good file to see this in is servicetests.xml. While all tests in this
> file can be run together, there are really 3 different sets in the file
> that could be independent.
> 
> Anyway, here is one set of test-cases that are meant to be run together:
> 
>     <test-case case-name="load-service-test-data">
>         <entity-xml action="load"
> entity-xml-url="component://service/testdef/data/ServiceTestData.xml"/>
>     </test-case>
>     <test-case case-name="service-dead-lock-retry-test">
>         <service-test service-name="testServiceDeadLockRetry"/>
>     </test-case>
>     <test-case case-name="service-dead-lock-retry-assert-data">
>         <entity-xml action="assert"
> entity-xml-url="component://service/testdef/data/ServiceDeadLockRetryAssertData.xml"/>
> 
>     </test-case>

So that is either a group/suite, or a single test case.

>     <test-case
> case-name="service-own-tx-sub-service-after-set-rollback-only-in-parent">
>         <service-test
> service-name="testServiceOwnTxSubServiceAfterSetRollbackOnlyInParentErrorCatchWrapper"/>
> 
>     </test-case>
>     <test-case
> case-name="service-own-tx-sub-service-after-set-rollback-only-in-parent-assert-data">
> 
>         <entity-xml action="assert"
> entity-xml-url="component://service/testdef/data/ServiceSetRollbackOnlyAssertData.xml"/>
> 
>     </test-case>

As is this.

They should be moved to a separate suite.xml, or combined into a
single test case.

Reply via email to