[hibernate-dev] Byteman and errorhandling

Hardy Ferentschik hibernate at ferentschik.de
Thu Dec 9 05:18:01 EST 2010


+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.grinovero at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev




More information about the hibernate-dev mailing list