code: def save(self, heads, console=True):
          
          # Junit
          self._save_junit()
          # HTML
          self._save_html_report(heads)
          if console:
              # Console print
              self._print_console_summary()
docs: Create reports in different formats.
  
          :param heads: html table extra values in title rows
          :param console: Boolean, default is True. If set, also print out the console log.