[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1146) Parameterise tests for various permutations
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu Jul 19 07:27:47 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1146?page=comments#action_12369419 ]
Manik Surtani commented on JBCACHE-1146:
----------------------------------------
Currently a hack in the Ant script runs the test suite twice, once using UDP and once using TCP. Even for non-replicated tests!!
Using TestNG, we should be able to write a singe set of tests, and parameterise for use with different network stacks, transaction managers, cache loaders. E.g.:
Network stacks:
UDP
TCP
MUX
Transaction Managers:
DummyTM
JBossTM
CacheLoaders:
FCL
BDBJECL
JDBMCL
JDBCCL
Tests should be annotated as such:
@Clustered
@CacheLoader
public class MyTest
{
}
Would mean that the test is run with all combinations of cache loaders and network stacks.
> Parameterise tests for various permutations
> -------------------------------------------
>
> Key: JBCACHE-1146
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1146
> Project: JBoss Cache
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Reporter: Manik Surtani
> Assigned To: Manik Surtani
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list