Thursday, April 26, 2012

Re: Testing in Command line, change output error ?

You can run it in the CLI and it should work fine.

As for changing the warning, I'm not sure what you're looking for. Is it the styling or how the report is generated that you don't like? If it's the styling, then use CSS. If it's the report itself, I think theoretically you can change it by creating a custom reporter in TestSuite/Reporter and name it Cake<custom>Reporter and passing the output=custom param. I'm not 100% on this and haven't tried it but look at the test suite to find out more.

On Wednesday, April 25, 2012 8:38:51 PM UTC-7, Điển vũ wrote:
I want test a method contain line 
     $this->Auth->user('id');
Do i must run that in browser: http://example.com/test.php
and it's only way ?

And a addition question.
    Can i change phpunit's output error warning ? It is hard to see like this: http://i.imgur.com/qNFfr.jpg

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: