[hibernate-dev] Byteman and errorhandling

Sanne Grinovero sanne.grinovero at gmail.com
Thu Dec 9 04:45:04 EST 2010


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



More information about the hibernate-dev mailing list