All,

Geode's dunit framework can provide an easier way to write integration
tests for any server-side extensions or server-side application code.
Currently the dunit framework is not a published artifact, so developers
cannot write distributed tests. So the proposal is to move all dunit
framework to 'geode-dunit' sub-module while leaving distributed tests
themselves in geode-core. Also by limiting the scope to 'testCompile' there
is no cyclic dependency between core and this new module.

AFAIK, there are couple of ways users can write integration tests:

- Use gradle to setup test infrastructure,  geode-examples demonstrates
this effort.
- Use 'GeodeIntegrationTestPlugin` gradle plugin[1].

While both these approaches would be sufficient for most of the application
developers, it limits geode extension developers as the assertions can
solely on the APIs. Having dunit framework published to maven can help
these developers to write distributed unit tests just like the core product.

[1] https://cwiki.apache.org/confluence/display/GEODE/Test+your+application

Please let me know your thoughts.

Sai

Reply via email to