%test.module.cobertura=${play.path}/modules/cobertura
" to the application.conf file, and restarted the application in test mode, but I didn't find code-coverage/index.html under the test-result folder after auto-test. Why? Could you help me?--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
code-coverage/index.html
2010/1/27 张维 <davi...@gmail.com>:
On 27 jan, 10:51, 张维 <davidz...@gmail.com> wrote:
> Okey, thanks, but I hope this problem could be solved as soon as possible.
>
> 2010/1/27 Ivan Meredith <i...@ivan.net.nz>
>
> > In linux ctrl-c generates a SIGINT(?) signal. scripts and programs
> > are free to intercept it to run shutdown procedures etc. In windows
> > batch files i guess this is not the case. It might have to be done in
> > vbs or python for windows. (unless someone knows how to get around it)
>
> > 2010/1/27 张维 <davidz...@gmail.com>:
> > > Yes, I'm sure. Below is the terminal information,
>
> > > ...
> > > 10:35:40,250 INFO ~ Module secure is available
> > > (D:\play-1.0.1\modules\secure)
> > > 10:35:40,250 INFO ~ Module cobertura is available
> > > (D:\play-1.0.1\modules\cobertura)
> > > 10:35:40,250 INFO ~ Module crud is available
> > (D:\play-1.0.1\modules\crud)
> > > 10:35:40,250 INFO ~ Module test-runner is available
> > > (D:\play-1.0.1\modules\test-runner)
> > > 10:35:41,406 INFO ~
> > > 10:35:41,406 INFO ~ Go tohttp://localhost:9000/@teststo run the tests
> > > 10:35:41,406 INFO ~
> > > 10:35:41,406 WARN ~ You're running Play! in DEV mode
> > > 10:35:41,750 INFO ~ Listening for HTTP on port 9000 (Waiting a first
> > > request to start) ...
> > > 10:35:50,718 INFO ~ Connected to jdbc:hsqldb:mem:playembed
> > > 10:35:52,546 INFO ~ Application 'Yet Another Blog Engine' is now started
> > !
> > > ~ ...
> > > Terminate batch job(Y/N)?
>
> > > I guess the reason may be that there is a confirmation before terminal in
> > > DOS, but no in Linux environment? Only guess.
>
> > > 2010/1/26 julien bille <julien.bi...@gmail.com>
>
> > >> I commit fix, but I not have windows environnement for test. Do you
> > >> confirm that fix problem ?
>
> > >> 2010/1/26 张维 <davidz...@gmail.com>
>
> > >>> Very glad! I succeed to check out the fixed code and update play!
> > module,
> > >>> and eclipsify the project.
> > >>> But after my making "ctrl+c" on my terminal,there is no information
> > such
> > >>> as:
> > >>> INFO ~ Cobertura plugin: generating test coverage report
> > >>> Cobertura: Loaded information on 126 classes.
> > >>> Cobertura: Saved information on 126 classes.
> > >>> Cobertura 1.9.2 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> > >>> Cobertura: Loaded information on 126 classes.
> > >>> Report time: 1495ms
> > >>> Cobertura 1.9.2 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> > >>> Cobertura: Loaded information on 126 classes.
> > >>> Report time: 876ms
> > >>> INFO ~ Test coverage report has been generated:
> > >>> file:/yourApp/test-result/
>
> > >>>> code-coverage/index.html
>
> > >>> I failed to fetch cobertura report again!
> > >>> ps: I worked in windows DOS, not Linux shell.
>
> > >>> 2010/1/26 julien bille <julien.bi...@gmail.com>
>
> > >>>> bzr branch lp:play-cobertura/1.0
>
> > >>>> 2010/1/26 张维 <davidz...@gmail.com>
>
> > >>>>> Thank you for your detailed reply, but could you tell me how to check
> > >>>>> out the code? use Tortoisesvn? and type
> > >>>>>https://code.launchpad.net/play-cobertura/trunkas "url of
> > repository"?
> > >>>>> I met error:
> > >>>>> Server sent unexpected return value (405 Method Not Allowed) in
> > >>>>> response to OPTIONS request for
> > >>>>> 'https://code.launchpad.net/play-cobertura/trunk'
>
> > >>>>> 2010/1/25 julien bille <julien.bi...@gmail.com>
> > >>>>>> 2010/1/25 张维 <davidz...@gmail.com>
>
> > >>>>>>> Thank you all the same. But could you tell me how I test it ? Check
> > >>>>>>> out the fixed code first? cvs or svn?Sorry if I make you
> > discouraged. :)
>
> > >>>>>>> 2010/1/25 julien bille <julien.bi...@gmail.com>
>
> > >>>>>>>> You're right won't works on main repo, apologize !
> > >>>>>>>> I commit fix herehttps://code.launchpad.net/play-cobertura/trunk
> > .
> > >>>>>>>> Test it and send me if that's ok for you
>
> > >>>>>>>> 2010/1/25 张维 <davidz...@gmail.com>
>
> > >>>>>>>>> Thank you for your reply, julien!
> > >>>>>>>>> I followed the steps such as you described, but I still failed
> > :(
> > >>>>>>>>> After my making "ctrl+c" to stop the server process, I still
> > >>>>>>>>> haven't seen the code-coverage report file.
> > >>>>>>>>> ps: Sorry, my English is poor.
>
> > >>>>>>>>> 2010/1/25 julien bille <julien.bi...@gmail.com>
>
> > >>>>>>>>>> Hi,
> > >>>>>>>>>> You must run play in test mode ( play test yourApp). Make test
> > >>>>>>>>>> athttp://localhost:9000/@tests.
> > >>>>>>>>>> And finally, for watch result, make "ctrl+c" for stop the play
> > >>>>>>>>>> server, that launch coverage generation on
> > >>>>>>>>>> yourApp/test-result/code-coverage/index.html.
>
> > >>>>>>>>>> 2010/1/25 张维 <davidz...@gmail.com>
>
> > >>>>>>>>>>> Hi,all
> > >>>>>>>>>>> I met a problem when I was going to measuring code coverage
> > >>>>>>>>>>> by Play!framework. I added
> > >>>>>>>>>>> "%test.module.cobertura=${play.path}/modules/cobertura" to the
> > >>>>>>>>>>> application.conf file, and restarted the application in test
> > mode, but I
> > >>>>>>>>>>> didn't find code-coverage/index.html under the test-result
> > folder after
> > >>>>>>>>>>> auto-test. Why? Could you help me?
> > >>>>>>>>>>> Thanks.
>
> > >>>>>>>>>>> --
> > >>>>>>>>>>> David
>
> > >>>>>>>>>>> --
> > >>>>>>>>>>> You received this message because you are subscribed to the
> > >>>>>>>>>>> Google Groups "play-framework" group.
> > >>>>>>>>>>> To post to this group, send email to
> > >>>>>>>>>>> play-fr...@googlegroups.com.
> > >>>>>>>>>>> To unsubscribe from this group, send email to
> > >>>>>>>>>>> play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > .
> > >>>>>>>>>>> For more options, visit this group at
> > >>>>>>>>>>>http://groups.google.com/group/play-framework?hl=en.
>
> > >>>>>>>>>> --
> > >>>>>>>>>> You received this message because you are subscribed to the
> > Google
> > >>>>>>>>>> Groups "play-framework" group.
> > >>>>>>>>>> To post to this group, send email to
> > >>>>>>>>>> play-fr...@googlegroups.com.
> > >>>>>>>>>> To unsubscribe from this group, send email to
> > >>>>>>>>>> play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > .
> > >>>>>>>>>> For more options, visit this group at
> > >>>>>>>>>>http://groups.google.com/group/play-framework?hl=en.
>
> > >>>>>>>>> --
> > >>>>>>>>> David
>
> > >>>>>>>>> --
> > >>>>>>>>> You received this message because you are subscribed to the
> > Google
> > >>>>>>>>> Groups "play-framework" group.
> > >>>>>>>>> To post to this group, send email to
> > >>>>>>>>> play-fr...@googlegroups.com.
> > >>>>>>>>> To unsubscribe from this group, send email to
> > >>>>>>>>> play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > .
> > >>>>>>>>> For more options, visit this group at
> > >>>>>>>>>http://groups.google.com/group/play-framework?hl=en.
>
> > >>>>>>>> --
> > >>>>>>>> You received this message because you are subscribed to the Google
> > >>>>>>>> Groups "play-framework" group.
> > >>>>>>>> To post to this group, send email to
> > >>>>>>>> play-fr...@googlegroups.com.
> > >>>>>>>> To unsubscribe from this group, send email to
> > >>>>>>>> play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > .
> > >>>>>>>> For more options, visit this group at
> > >>>>>>>>http://groups.google.com/group/play-framework?hl=en.
>
> > >>>>>>> --
> > >>>>>>> David
>
> > >>>>>>> --
> > >>>>>>> You received this message because you are subscribed to the Google
> > >>>>>>> Groups "play-framework" group.
> > >>>>>>> To post to this group, send email to
> > play-fr...@googlegroups.com.
> > >>>>>>> To unsubscribe from this group, send email to
> > >>>>>>> play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > .
> > >>>>>>> For more options, visit this group at
> > >>>>>>>http://groups.google.com/group/play-framework?hl=en.
>
> > >>>>>> --
> > >>>>>> You received this message because you are subscribed to the Google
> > >>>>>> Groups "play-framework" group.
> > >>>>>> To post to this group, send email to
> > play-fr...@googlegroups.com.
> > >>>>>> To unsubscribe from this group, send email to
> > >>>>>> play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > .
> > >>>>>> For more options, visit this group at
> > >>>>>>http://groups.google.com/group/play-framework?hl=en.
>
> > >>>>> --
> > >>>>> David
>
> > >>>>> --
> > >>>>> You received this message because you are subscribed to the Google
> > >>>>> Groups "play-framework" group.
> > >>>>> To
>
> ...
>
> plus de détails >>
Is there a open issue for this bug?
On 27 Sty, 16:02, Philippe Gauthier <gauthier.p...@gmail.com> wrote:
> Coberturaworks fine on my windows XP.
> It triggers itself on ctfl+c, even even if I have the confirmation
> question.
> I use Play 1.0.1
> Regards
>
Best Regards
Marcin Cetnarski
Ctrl-C does not dump the cobertura result, neither does doing a "kill -
INT" on the server process.
It outputs this on startup:
10:16:58,437 INFO ~ Module cobertura is available (/Users/jimmy/bin/
play-1.0.1/modules/cobertura)
So I expect that the module is loaded fine. (Working my way through
the blog tutorial)
/BR,
Jimmy
On Feb 7, 8:51 pm, Marcin Cetnarski <marcin.cetnar...@gmail.com>
wrote:
Here's what I'm doing.
run command "play test"
run the tests via the web interface
ctrl-c
but no code-coverage file is generated.
I also tried play auto-test but still no joy.
It would be nice if that information could be generated without
needing to stop the application, by having a link appear after running
the tests.
p.s. this framework is awesome!
https://launchpad.net/play-cobertura
You should report the bug here.
> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
Do I need a newer version?
On Apr 8, 2:52 pm, julien bille <julien.bi...@gmail.com> wrote:
> What is your jdk version ?
>
> 2010/4/8 Andre Desroches <andredesroches2...@gmail.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
>
> > > > .
> > > > > For more options, visit this group at
> > > >http://groups.google.com/group/play-framework?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "play-framework" group.
> > > > To post to this group, send email to play-fr...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
On Apr 8, 2:52 pm, julien bille <julien.bi...@gmail.com> wrote:
> What is your jdk version ?
>
> 2010/4/8 Andre Desroches <andredesroches2...@gmail.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
>
> > > > .
> > > > > For more options, visit this group at
> > > >http://groups.google.com/group/play-framework?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "play-framework" group.
> > > > To post to this group, send email to play-fr...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
Everthing was a cannot find symbol, but i passed in ant -Dplay.path=/
play-1.0.2 which is my path to play. Didn't seem to find the play
framework at all though. Also tried compiling against play 1.0.1 but
got the same errors.
On Apr 9, 9:03 am, julien bille <julien.bi...@gmail.com> wrote:
> That did not require special version. I never try with jdk 1.5 but that
> should work because I precise target 1.5 in ant task. But your error make me
> think it's not the case.
>
> You can try to recompile module with ant -Dplay.path=/your/play/path, or if
> you not have reason for use jdk 1.5, updage it. I will try with your jdk
>
> 2010/4/9 Andre Desroches <andredesroches2...@gmail.com>
> > > > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
> > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
>
> > > > > > .
> > > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/play-framework?hl=en.
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "play-framework" group.
> > > > > > To post to this group, send email to
> > play-fr...@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > > play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
>
> > > > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
> > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
Then I tried running from the command line and it gave the same Bad
version number error.
On Apr 11, 6:03 am, julien bille <julien.bi...@gmail.com> wrote:
> For recompile module it's necessary to recompile framework.
>
> Funny bug! I success to reproduce your error with jdk5 and I solve it by
> adding "source=1.5" in ant task. For some unknown reason target option is
> not sufficient in this case.
>
> I publish new version with this fix, please make me a return.
>
> 2010/4/9 Andre Desroches <andredesroches2...@gmail.com>
> > > > > > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
> > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
>
> > > > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
> > <play-framework%25252Bun...@googlegroups.com<play-framework%2525252Bu...@googlegroups.com>
>
> > > > > > > > .
> > > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/play-framework?hl=en.
>
> > > > > > > > --
> > > > > > > > You received this message because you are subscribed to the
> > Google
> > > > > > Groups
> > > > > > > > "play-framework" group.
> > > > > > > > To post to this group, send email to
> > > > play-fr...@googlegroups.com.
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
>
> > > > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
> > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
>
> > > > > > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
> > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
>
> > > > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
> > <play-framework%25252Bun...@googlegroups.com<play-framework%2525252Bu...@googlegroups.com>
>
> > > > > > > > .
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/play-framework?hl=en.
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "play-framework" group.
> > > > > > To post to this group, send email to
> > play-fr...@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > > play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
>
> > > > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
> > <play-framework%252Buns...@googlegroups.com<play-framework%25252Bun...@googlegroups.com>
>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/play-framework?hl=en.
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "play-framework" group.
> > > > > To post to this group, send email to play-fr...@googlegroups.com
> > .
> > > > > To unsubscribe from this group, send email to
> > > > play-framewor...@googlegroups.com<play-framework%2Bunsu...@googlegroups.com>
> > <play-framework%2Bunsu...@googlegroups.com<play-framework%252Buns...@googlegroups.com>
>
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.