开发者

Performance issue with webtest and grails

I have read the documentation for Grails and Webtest in this site:

http://www.grails.org/plugin/webtest

And it's very unupdated. Most of the scripts listed there doesn't work.

I am looking a way to run a working alternative of -nostart listed there.

This is because it's very slow to rerun tests. Or maybe a way to run webtests from outside of Grails

Can开发者_开发百科 you give me any pointer?

Thanks in advance


The webtest plugin changed from version 1.3 to use the new hooks provided by the grails test-app script. Unfortunately one piece of functionality not provided by test-app is the -nostart option.

You could try using

grails interactive

then

test-app -functional

hitting enter should re-run the functional tests without doing a complete restart of grails.

I've also removed the -nostart option from the documentation. All the other documentation should be up to date. What other scripts did not work?

You can raise issues here: http://jira.codehaus.org/browse/GRAILSPLUGINS/component/12994

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜