whole_func_string: function getTitles(runnable) {
      var titles = [];
      while (runnable && !runnable.root && runnable.title) {
          titles.unshift(runnable.title);
          runnable = runnable.parent;
      }
      return titles;
  }
func_code_string: function getTitles(runnable) {
      var titles = [];
      while (runnable && !runnable.root && runnable.title) {
          titles.unshift(runnable.title);
          runnable = runnable.parent;
      }
      return titles;
  }
func_documentation_string: Misc Utility 
  @param {!Mocha.Runnable} runnable The test or suite to extract titles from.
  @return {!Array.<string>} The titles of the runnable and its parents.