When I add the testrunner module I get the following compile error:
The file {module:testrunner}/app/controllers/TestRunner.java could not
be compiled. Error raised is : The type TestRunner is already defined
But if I don't include it I get "Not found" on the @tests route. I'm
setting -Dplay.id=test.
Any more ideas?
thanks,
Caroline
On Feb 16, 8:08 am, cnLanxd <
cnla...@gmail.com> wrote:
> To enable the testrunner module, add this line to theconf/application.conffile
> module.testruner=${play.path}/modules/testrunner
> 于 2011/2/16 7:38, Michał Drozdowicz 写道:Hi!Is it possible to setup the run configuration in IntelliJIDEAso that Play! runs in test mode and I can reach the test runner? I've tried setting the VM parameters to:
> -Dplay.id=test -Dapplication.path=<path to app> -Djavaagent=<path to play.jar>
>
>
>
> but it doesn't seem to work (missing route to @tests)
>
>
>
> Any ideas?
>
>
>
> Thanks,
>
> Michał
>
> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email
toplay-f...@googlegroups.com.
> To unsubscribe from this group, send email
toplay-framewo...@googlegroups.com.