Skip to main content
6 events
when toggle format what by license comment
Oct 28, 2015 at 23:41 comment added Eric @DavidMurray - Once you are done testing, you can deploy it directly from the IDE to production, but doing it in sandbox will save a lot of deployment time.
Oct 28, 2015 at 23:40 vote accept David Murray
Oct 28, 2015 at 23:40 comment added David Murray I was indeed, because I usually make small changes, so it saved me time to do so. It would be nice if the Force.com IDE gave feedback that the unit tests will not run based on the local content when connected directly to production! :) I just switched my configuration to Sandbox and noticed that now the unit tests go off what I have locally, so looks like this was the issue. Thanks!
Oct 28, 2015 at 23:35 comment added Eric @DavidMurray - Are you deploying to production? If so you should be doing it via a sandbox where the unit tests are not run. Also, there is a new deploy option to "Run No Tests" if you are doing this in production although I do not know where to set it in the IDE. Save to server if in sandbox does not run unit tests normally
Oct 28, 2015 at 23:21 comment added David Murray Hmm so what I don't understand is if there's any way I can rapidly develop new unit tests by running them as I go and seeing if they succeed/fail? Right now my process is to make my changes to the unit test, click "Save to Server", and wait for ALL the unit tests to run (which takes several minutes) to see if mine succeeds or fails. But all I want to do is run just the one test I'm developing and not the entire set. Am I missing something or when folks develop unit tests, they're used to waiting 5-10 minutes for all tests to run in order to see the results of the current one?
Oct 28, 2015 at 22:47 history answered Eric CC BY-SA 3.0