[SalesForce] Developer Console Winter 14 anomalies

Ever since Winter 14 went into my sandbox, I'm bedeviled by Developer Console issues

  1. Test Run creates an entry in the Tests tab labeled Test @Invalid Date
  2. Once I run a test of an Apex class, clicking Test Re-Run does not actually launch a repeat of the previous test (at least no new test entry appears in the Tests tab. Manually re-selecting the class does not run it either (at least as far as the Test tab is concerned)
  3. Logs don't always appear (or rarely appear) from any tests run through the developer console; setting is 'Show My Current Logs only'
  4. Debug | Resume does nothing; no refresh of any tests or logs

Note that General Trace Settings for User are: INFO for everything except System which is ERROR. I don't see anything related to the above in SFDC Known Issues; sandbox is cs9

Best Answer

OK, SFDC Support provided the workaround

  1. Test Run creates an entry in the Tests tab labeled Test @Invalid Date.

  2. Once I run a test of an Apex class, clicking Test Re-Run does not actually launch a repeat of the previous test (at least no new test entry appears in the Tests tab. Manually re-selecting the class does not run it either (at least as far as the Test tab is concerned)

  3. Logs don't always appear (or rarely appear) from any tests run through the developer console; setting is 'Show My Current Logs only'
  4. Debug | Resume does nothing; no refresh of any tests or logs

Issues 2-4 can be worked around by doing the following sequence:

  1. Test | New Run | select class(es)
  2. Test tab shows test running, test completes, Logs tab shows test log
  3. In the Test tab, double click the class that you ran (say, class 'Foo'). This opens a tab at the top of your workspace for that Test run with all classes ran in that test. You can see method-by-method test results.
  4. Test | Re-run - will execute the tests in the classes appearing in the tab from step 3

Essentially, the Developer Console 'forgot' the test classes you selected in step 1 so when you click Test | Re-run, there is nothing to re-run. By double clicking your test results, Developer Console's "memory" is jogged and it is now ready to execute your Test | Re-run.

Developer Support noted that many Dev Console issues should be fixed 'real soon'. Hopefully this will include Issue 1 which is a Firefox issue only as well as an intuitive fix for issues 2-4.