grails 3 functional test plugin -
when use grails 2, use functional plugin create function test , use rest-client-builder send post , request. function test can start server.
however, when upgrade grails 3. built in geb framework can me create function test. however, don't know how can send post , request. , function test can not start server. have run-app first , run test. know should function post/get test via grails 3?
thanks much
and function test can not start server.
you haven't described details of doing don't know why might not working you, can made work. want create integration tests , mark them @integration
. have lot of examples in project @ https://github.com/grails/grails3-functional-tests. in https://github.com/grails/grails3-functional-tests/tree/master/app1/src/integration-test/groovy/functionaltests. simple example should easy read @ https://github.com/grails/grails3-functional-tests/blob/master/app1/src/integration-test/groovy/functionaltests/homespec.groovy.
i hope helps.
Comments
Post a Comment