You need to sign in to do that
Don't have an account?
mohaaron
Force.com IDE missing Run Tests option
This may not be the appropriate place to ask this question but I don't know if there is a discussion board about the force.com IDE. The problem I'm having is that the force.com IDE I just downloaded and installed is missing the Run Tests option. The docs I find about running tests all say to right click on a test class and then go to Force.com > Run Tests. Unfortunately the Run Tests option is missing.
Does have any suggestions for fixing this problem?
Thank you
Is your Eclipse Perspective open under Force.com?
I don't know how to check if it is. I downloaded the stand-alone force.com IDE. Isn't this different from Eclipse?
Sort of, but yea it should only have the Force.com perspective.
You can also go to the class on tyour org and click 'Run Tests' there.
You mean I can also run the tests from the web interface. I am aware of this but it's not what I want. I am trying to learn how to use the IDE and need to be able to run the tests from the IDE. Is there something wrong with the IDE which is causing the Run Tests option to not show up?
Is your class marked on top as
@isTest
private class classname
If so... then I have no idea. It should be there.
Yes, I do have @isTest above the class name. The IDE created this class when I went to New > Apex Class and then chose Template > Test Class. I'm following the Workbook which uses the Warehouse example as the project.
Here is the test class code.
Funny thing, I have the EXACT same problem right now.
All of my test code that used to work on the full edition of Eclipse with Force.com nature, I can no longer run anymore in Force IDE because the Run Tests option is no longer available when I right click my test classes and go to Force.com
My only options available are:
Refresh from Server
Save to Server
Synchronize with Server
Deploy to Server....
I have the same @isTest at the top of my code, I would also appreciate help on this issue.
Did anyone find a resolution top this bizarre thing. I just installed the IDE and am in the same boat. Thanks,
I am also having the same issue.
Please close the IDE. Remove below line from config.ini file, open IDE again then "Run Test" option would be displayed. I tested this.
eclipse.application=org.eclipse.equinox.p2.ui.admin.rcp.application
config.ini file can be found on this location-
C:\Program Files\salesforce.com\Force.com IDE\configuration
I can confirm Vinod's fix worked for me! Can anyone explain how it works?