You need to download the maintenance build for it to work in 3.1. As for Simpletest, it works fine with turstudio.Originally Posted by Daimaju
George
| SitePoint Sponsor |
You need to download the maintenance build for it to work in 3.1. As for Simpletest, it works fine with turstudio.Originally Posted by Daimaju
George
Got Sig!
Hello all,
My name is Steve Balthazor, I am the one who has hacked together the Eclipse plugin. Marcus pointed me over here yesterday.
I just released a new version of the plugin (< 1 hour ago) which solves many of the installatioin issues that most people were having. This release also provides support for group tests (please see the readme.pdf file included with the release for details).
I use the trustudio plugin as well (and love it) and had noticed that something I did in the past week or so did something so that php files in "PHP Source Folders" are not able to be right clicked and run via simpletest. I have not had time to figure out what the cause of the problem is -- though this is on the top of my list for the weekend (I have been concentrating on compatability issues so far -- php 4/5, eclipse 3.0/3.1, removing curl, removing dependency on php cli). There is a workaround of sorts...
1. change your perspective to a "Resource Perspective"
2. find the file you want to run the test on and right click on it and select Run->Simpletest
3. this will run the test and also put it into the queue of recently run "things"
4. if you switch back to the PHP perspective you should be able to run the test by hitting the right arrow inside the green circle in the tool bar (you can also choose to run one of the last few tests you have previously run).
Alternately you can always manually create the test runner by selecting Run->Run... from the menu bar and creating a new entry in the simpletest category.
The problem *appears* to be that the Xored plugin mangles the path somehow so that the simpletest plugin cannot find the right path.
All this being said -- I plan to have a fix by the end of the weekend -- assuming its fixable.
Regards,
Steven Balthazor


I've just tested the 0.0.4 plugin it with (php)Eclipse3.1/php5.0.4/Windows XP and now the Result View appeared..
But it says: runs 0/0 failures: 0 errors: 0
Thanks to Tim, some more installation bugs have been fixed.
I have also fixed the Xored plugin problem -- it should work with the Xored plugin no problem now.
The latest plugin release is on the simpletest sourceforge page.
Please let me know if you are having any problems installing, I want to fix all the installation problems possible.
Regards,
Steve Balthazor



when running php5.1 Beta 3 i get this error:
to fix this change line 353 fromCode:Fatal error: Only variables can be passed by reference in d:\Programme\eclipse\plugins\net.sf.simpletest.eclipse_0.0.5\php\simpletest\simple_test.php on line 353
toPHP Code:$this->addTestCase($this->_createGroupFromClasses($test_file, $classes));
PHP Code:$groupfromclasses = $this->_createGroupFromClasses($test_file, $classes);
$this->addTestCase($groupfromclasses);
Hai Guys,
Recently i joined a software company as a programmer. Actually i cant understand about the "PhpUnit test" concept. Anybody can explain me about this, if so. Please
i'll be waiting for your Reply Guys,![]()
Regards
Basha.H
You might want to review this presentation I gave at PHPLondon last week as an introduction to the subject.
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.





Thanks for dropping in to PHPL last week, Jason.Originally Posted by sweatje
![]()
Matt. (The tall, loud one.)
Off Topic:
Glad I could do it, had a great time. Glad Marcus talked me into doing a presentation. Hard to be taller or louder than me, particularly if you have people doing terrible American pop song kareoke in the backgroundOriginally Posted by Mincer
Not a typical London pub experience I think
![]()
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.
Bookmarks