Saturday, February 19, 2011

Grails BeanBuilder to generate DB test data

It's such a pain to maintain XML to feed the Database with test data with Unitils.

I am looking into Groovy-based DSLs to do the same. Talk about Spock, EasyB and other techniques. In the meantime, the BeanBuilder seems a winner for the simplicity to generate XML expressing it as embedded beans. NO MORE XML. If you find yourself coding XML, it can only mean you are doing something very wrong.

No comments: