News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Warren Tang's Blog:
PHP Unit Testing & Mock Objects with SimpleTest plugin for Eclipse
June 17, 2011 @ 12:58:36

Warren Tang has put together this new post to his blog showing how you can use the SimpleTest extension for Eclipse to execute your tests without leaving the IDE.

He breaks it down into a few simple steps (some including screeshots):

  • Download the plugin
  • Install and configure
  • Create a basic test with an assertion
  • Run the test via "Run As > SimpleTest"

He also includes the option for running the test as a web page, but that requires a little bit more code. There's also a quick look at how to run a suite of tests from the IDE (as well as in the browser). for more about using SimpleTest, head over to the project's site.

0 comments voice your opinion now!
unittest simpletest eclipse plugin configure run


blog comments powered by Disqus

Similar Posts

Debuggable Blog: How To Execute Only Specific Test Methods in CakePHP Unit Tests

Roy Ganor-Shwaartz's Blog: Speaking at EclipseCon 2008

Paul Jones: Aura: More Decoupled Than Symfony 2 and Zend Framework 2

Fabian Schmengler's Blog: "Mocking" built-in functions like time() in Unit

AskAboutPHP.com: Codeigniter: Helpers, Plugins and Libraries


Community Events





Don't see your event here?
Let us know!


library interview introduction symfony release opinion update composer laravel community version package install framework podcast tool voicesoftheelephpant security language series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework