code: func (r Result) Status() model.Status {
  	switch r {
  	case NoResult:
  		return model.Running
  	case Success:
  		return model.Success
  	case Warning:
  		return model.Warning
  	case Failure:
  		return model.Failure
  	case Skipped:
  		return model.NotRun
  	case Exception, Retry:
  		return model.Exception
  	default:
  		panic(fmt.Errorf("unknown status %d", r))
  	}
  }
docs: // Status converts r into a model.Status.