13

Is there any EASY php testing Framework and may be simpler than simpletest and not command line based like PHPUnit ?

Lance Roberts
  • 22,383
  • 32
  • 112
  • 130
AlSayed Gamal
  • 139
  • 1
  • 2
  • 4
  • I voted for Simpletest. See a live copy of it being used for Samstyle PHP Framework at: http://code.google.com/p/samstyle-php-framework – mauris Nov 30 '09 at 12:22
  • 1
    Just include one PHP file to use Enhance PHP. That's pretty simple... http://www.enhance-php.com/ – Fenton Aug 28 '11 at 12:22

2 Answers2

16

Simpletest

Actually here is a list of all the common PHP unit testing frameworks.

I think you will find that the testing frameworks themselves have little interest in developing fancy GUIs. There is however several third party tools/applications/plugins that you can checkout. I use the phpunit integration within Netbeans a lot, and it works very good.

Peter Lindqvist
  • 10,122
  • 3
  • 41
  • 60
13

The requirement that it be

not command line based

is curious. In traditional PHP development you make an edit, load a webpage in your browser, and repeat. Instead, you can make an edit, run a piece of your test suite at the command line, then repeat. I have discovered the latter practice is usually much faster.

Ewan Todd
  • 7,315
  • 26
  • 33
  • That's a very helpful downvote! – Ewan Todd Dec 01 '09 at 02:16
  • helped to revoke that downvote. however i would still prefer run test suites on browsers. – mauris Dec 01 '09 at 04:04
  • Thanks. I couldn't figure out if it meant, "No, my traditional development isn't like that," or "Hey, browser based is much faster," or "Take that for no particular reason." – Ewan Todd Dec 01 '09 at 11:53
  • Ehm, me neither. Besides i never thought of web based when i thought of non-cli interface, i immediately thought of guis such as netbeans/eclipse. Why would one want to run the test suites in the browser window anyway? When you can have it inside your IDE. Well of course if you're not using an IDE that makes for some interesting dilemma. But otherwise? – Peter Lindqvist Dec 01 '09 at 13:00
  • 5
    The downvote was most likely because it doesn't answer his question. – rickyduck Jan 24 '13 at 16:08