dimanche 1 mars 2015

JGroup Testing Framework

Using JGroup for forming clusters I want to emulate more than a single node inside Memory and same JVM. The naive solution might be to abstract from JGroup at all and mock messages and status changes.


What I want and need at least for acceptance tests is the start of two or more processes that uses the real implementations. I dont want the automatic testsuite start to deploy multiple nodes on different VMs. Spawning two JVM should also not be necessary.


If this is not possible with build in tools, I need to abstract form the JGroup API and provide my own testing implementation based on assumptions that might not be correct. So I would love to avoid such a scenario.


Any information regarding testing JGroup applications would be appreciated.


Aucun commentaire:

Enregistrer un commentaire