+1 for Byteman Anything which makes testing easier sounds good and I've heard before that Byteman makes it easier to test border/exception cases.
--Hardy On Thu, 09 Dec 2010 10:45:04 +0100, Sanne Grinovero <sanne.grinov...@gmail.com> wrote: > Hello, > In the quest to write a proper unit test for HSEARCH-625 this night > I've introduced Byteman > in the testsuite of Hibernate Search. > I must say I'm impressed and love the tool, the fix is ready and the > test rocks, it empowered me to > write code with confidence to catch the IOException errors in Lucene's > MergeThread which would > have been tricky to write, hard to test without it. > > Shall we keep it, and promote my experiment to a pull request (needing > some docs yet) ? > > 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