Grails Plugin Testing Strategies
summary
Converts a Grails plugin into a full Grails app to run fast pure unit tests (Spock) plus mocked controller tests, real integration tests (database + bootstrap data), and functional UI tests with Geb + Selenium + ChromeDriver. Automates cross-version validation by installing Grails runtimes via GVM and running a scripted flight plan in the Grails Plugin Wind Tunnel that scaffolds an app, installs the plugin from the local Maven cache, launches it, and reports whether packaging and installation succeed.
AI-written summary · about
chapters (13)
- 0:00Introduction and setup
- 1:52What is a Grails plugin
- 3:38Testing plugin challenges
- 6:29Making plugin testable
- 14:54Excluding test dependencies
- 16:40Unit testing basics
- 25:04Service and controller unit tests
- 31:12Integration testing
- 38:10Functional UI testing
- 51:43Testing across versions
- 57:06Automating with GVM
- 1:01:00Grails Plugin Wind Tunnel
- 1:07:13Q&A and wrap-up








