You need to sign in to do that
Don't have an account?
Can I run code coverage outside of creating Unit Tests
Howdy! I'm new to Force.com!
My question is...is there any way outside of running writing unit test code, can I exercise the force.come code coverage tool? For instance, I would like to exercise the code also thru the app Selenium or other methods. I suspect there isn't, but I want a confirmation from someone who knows force.com/VisualForce/etc. well. I did searches on the threads here and on Google and it seems all users are using the code coverage thru writting Unit Tests, which is why I think there is no code coverage tool that is tied in to the APEX environment. Are there other tools that does code coverage of Apex code outside of the internal code you run thru your unit tests.
Also, anyone that has done backend testing using Apex, please share your approach on how you set up to do backend testing?
Thanks much, :womanhappy:
Joanna
Hi,
You are right , The only way for Code Coverage in Apex code is through writting Unit Tests , there is no tool which supports this. You will have to write all the unit test methods in order to make sure your code is compliant