What is the convention for Java unit tests in a Grails project? -
i creating new grails project uses java code of "core" processing. java code go in [project-home]/src/java. should unit tests java classes go? [project-home]/test/unit, intermingled groovy unit tests? convention scenario?
thanks in advance,
yvon
i not believe gain segregating tests on java code tests on groovy code. likely, testing pure-java classes in grails application imply mocking domain , other services (sometimes grails services). more convenient test them in grailsunittestcase, under unit/test
regards,
vincent giguère
Comments
Post a Comment