Quality is delighting customers
Hi,
I have 'Eclipse for PHP Developers' installed on my machine.
I tried to add Junit in eclipse by adding the .jar file project libraries as well as i have added it in the class path.
Still I am not getting the junit option in 'Run As'.
Can anybody tell me what is the solution for this?
Thanks in advance.
-S Sarita.
Tags:
Junit is used for testing java based application. For php you have to use phpunit or some other framework.
If I add phpUnit and run the same test case in eclipse, will it work?
Because I am writing the java code in the eclipse, so will phpUnit work ?
Oh ok , You mentioned "I have 'Eclipse for PHP Developers' installed on my machine."
I thought you are using php. for Java Junit should work
I think you are missing JDT
http://stackoverflow.com/questions/1183050/installed-eclipse-pdt-i-...
You can try eclipse jEE IDE if you are writing java code.
Thanks a lot Sandeep for your quick help.
hi,
Test annotation (@Test) part should be present in ur codding..
so after adding this annotation,,try to run
© 2021 Created by Quality Testing.
Powered by