On 30 Apr 2014, at 16:31, Sanne Grinovero <sanne(a)infinispan.org> wrote:
Valid concerns, but I think we should split those in two very
different categories:
1- we provide testing utilities which are quite useful to other people too
2- we run unit tests on our own code to prevent regressions
If we split the utilities into a properly delivered package - built
with Java7, having a very own Maven identity and maybe even a user
guide - that would be even more useful to consumers. For example I use
some of the utilities in both Hibernate Search and Hibernate OGM,
dependending on the testing classifier of infinispan-core. I'd prefer
to depend on a "proper" module with a somehow stable API, and this
would be a great improvement for our users who start playing with
Infinispan.. I often refer to our testsuite to explain how to setup
things.
+1, a testkit module with stuff in TestCacheManagerFactory…etc would certainly help the
separation. Akka is also a very good example where they’ve separated the tests from the
tools used to help out testing.
Cheers,
--
Galder Zamarreño
galder(a)redhat.com
twitter.com/galderz