0

I'm using Zend Studio to Unit Test my classes

I've echo's inside the class I'm testing (Not the TestClass)

Can't see any output in "Browser Output" or "Debug" tab while running as Unit Test

user2727195
  • 7,122
  • 17
  • 70
  • 118
  • 1
    Might be a version issue... http://stackoverflow.com/questions/8790271/echo-in-phpunit-tests – Thomas Kelley Sep 21 '13 at 01:16
  • there shouldn't be `echo` in your classes – tereško Sep 21 '13 at 01:22
  • are you using process isolation? – hek2mgl Sep 21 '13 at 01:23
  • 1
    Please provide some code – Dave Stein Sep 21 '13 at 01:32
  • @ThomasKelley It's a version problem, I guess, mine is 3.6.10 that comes with Zend Studio, I've tried updating the product but no success, how can we update Zend Studio to use a newer version – user2727195 Sep 21 '13 at 01:49
  • This must not be an issue of PHPUnit. This can be just your Zend Studio configuration. Please contact the vendor of that software for your support options, they should be able to tell you if Zend Studio (your version) has support for output with their Phpunit integration. In earlier versions of Zend Studio you would see the output in the *Debug Output Tab*. But I can not offer Zend Studio support here. – hakre Sep 26 '13 at 15:05

0 Answers0