I'm creating a new MeioUpload/Media behavior and I wanted to make it totally covered by tests...
Do you guys have any idea/recomendation/resource about mocking uploads on CakePHP + PHPUnit? I know I can't just populate $_FILES with my data and expect is_uploaded_file or move_uploaded_file functions to work. I don't want to use anoter testing framework like PHPT or something that's not pure CakePHP and PHPUnit. Regards, -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil *Assando Sites* - Curso online de *CakePHP* assando-sites.com.br <http://goo.gl/b1EEd> thiagobelem.net [email protected] *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
