3

Which one goes better with Netbeans: PHPUnit or SimpleTest?

edorian
  • 38,542
  • 15
  • 125
  • 143
Imran Omar Bukhsh
  • 7,849
  • 12
  • 59
  • 81

1 Answers1

6

For my general take on PHPUnit vs SimpleTest please see this question:

What unit testing in php to start.


To sum that post up:

  • PHPUnit is THE deFacto standard for Unit testing in PHP
  • Simpletest is outdated and has (imho) outlifed it's usefulness.

For Netbeans:

Netbeans as great PHPUnit Support and I've never seen or heard of anything like that for SimpleTest. I'm not even sure it can run tests written with SimpleTest at all. (At least i couldn't find anything)

So my clear recommendation is to got with phpunit as there are only upsides.

Community
  • 1
  • 1
edorian
  • 38,542
  • 15
  • 125
  • 143
  • 1
    To install phpunit "easily" it requires you to run pear and on windows this can be a real headache. – thiswayup Sep 25 '11 at 19:32
  • 2
    Don't try it on windows! :D it's not a piece of cake, it's a piece of ... :D – inf3rno Dec 11 '11 at 01:06
  • @inf3rno There will be a phpunit at some point in time but so long there is "admin shell, pear install --force --alldeps phpunit/phpunit" and not having spaces in the php or pear install path – edorian Dec 11 '11 at 02:22
  • I need those spaces, sorry :D I don't want to kill my folder structure because phpunit uses DOS like pathes. :S Maybe I will not use phpunit, or I'll shorten the directory name containing space. – inf3rno Dec 11 '11 at 10:41