fingo / grails-hibernate-filter

http://grails.org/plugin/hibernate-filter
Apache License 2.0
0 stars 3 forks source link

Move integration tests into a separate project #3

Closed pledbrook closed 8 years ago

pledbrook commented 8 years ago

Now that Gradle is the underlying build tool, it's easy to set up multi project builds and have test apps depend on the plugin project. Doing this will benefit the plugin in several ways:

  1. It won't have to mess around with plugin excludes
  2. Integration tests will work (integration tests don't seem to work properly in plugin projects atm)
  3. You can test multiple app configurations (if that becomes useful)

This approach was taken by the Audi Logging plugin if you want to see what the setup looks like.

piotrchowaniec commented 8 years ago

@pledbrook if you have time, please take a look at grails-hibernate-filter-3 branch for review.

Thanks for your suggestions.

pledbrook commented 8 years ago

Yes, that's the basic idea. Great!