Which one goes better with Netbeans: PHPUnit or SimpleTest?
1 Answer
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.
-
1To install phpunit "easily" it requires you to run pear and on windows this can be a real headache. Commented Sep 25, 2011 at 19:32
-
2Don't try it on windows! :D it's not a piece of cake, it's a piece of ... :D– inf3rnoCommented Dec 11, 2011 at 1: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– edorianCommented Dec 11, 2011 at 2: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.– inf3rnoCommented Dec 11, 2011 at 10:41