I think that's a great idea On Mon, Oct 3, 2016, 4:18 PM Sanne Grinovero <sa...@hibernate.org> wrote:
> Hi all, > in Hibernate Search we have a test helper to setup Hibernate ORM with > multi-tenancy and export the schema's we need for testing. > > It looks like: > - > https://raw.githubusercontent.com/hibernate/hibernate-search/d29f560c89e60dd288fa142aa1a6b6a357354ef1/orm/src/test/java/org/hibernate/search/test/util/MultitenancyTestHelper.java > > The problem is I used Hibernate ORM's internals, and this little > helper keeps breaking. > > Could we have such an utility provided by ORM? > > Also wondering if "test helpers" such as this one could be useful to > end users; it would be nice to publish such helpers and maintain their > API as stable as any other API. > > For example now to have Hibernate Search switch from ORM 5.2.1 to > 5.2.2 it requires code changes - luckily just on tests! - but it still > bothers me as it means we can't automatically test a version X of > Search towards a full-range of micro releases of ORM 5.2.x. > > Thanks, > Sanne > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev