I am starting to add some Groovy classes to an existing Java web application. (This is not a Grails app)
Is there an agreement in which I should follow where I define my metaClass extensions?
In addition, I wrote several extensions to support unit tests. They are currently sitting in a @Beforebase class for tests, but I suspect there is a more obvious place that I have to set.
Any advice was greatly appreciated.
source
share