How much of Grails GORM to test?

Posted by Lloyd Meinholz on Stack Overflow See other posts from Stack Overflow or by Lloyd Meinholz
Published on 2010-05-05T04:25:28Z Indexed on 2010/05/05 4:28 UTC
Read the original article Hit count: 361

Filed under:
|
|
|

Is there a "best practice" or defacto standard with how much of the GORM functionality one should test in the unit/functional tests?

My take is that one should probably do most of the domain testing as functional tests so that you get the full grails environment. But what do you test? Inserts, updates, deletes? Do you test constraints even though they were probably more thoroughly tested by the grails release?

Or do you just assume that GORM does what it is supposed to do and move to other parts of the application?

© Stack Overflow or respective owner

Related posts about grails

Related posts about gorm