code: public static void label(final String name, final String value) {
          final Label label = new Label().setName(name).setValue(value);
          getLifecycle().updateTestCase(testResult -> testResult.getLabels().add(label));
      }
docs: Adds label to current test or step (or fixture) if any. Takes no effect
  if no test run at the moment.
  
  @param name  the name of label.
  @param value the value of label.