title: Add custom attribute to testng-results.xml method tags
body: <p>I get a testng-results.xml file in my test-output directory for my appium project. Inside i get my test results, for example: </p>
  
  <pre><code>    &lt;test-method status="PASS" signature="setBeforeEachTest()[pri:0, instance:appium.salesforce1.ios.tests.MyTests]" name="setBeforeEachTest" is-config="true" duration-ms="0" started-at="2016-02-10T14:26:59Z" finished-at="2016-02-10T14:26:59Z"&gt;
        &lt;reporter-output&gt;
        &lt;/reporter-output&gt;
      &lt;/test-method&gt;
  </code></pre>
  
  <p>I want my test-method tag output to be like this:</p>
  
  <pre><code>    &lt;test-method build="testBuild" status="PASS" signature="setBeforeEachTest()[pri:0, instance:appium.salesforce1.ios.tests.MyTests]" name="setBeforeEachTest" is-config="true" duration-ms="0" started-at="2016-02-10T14:26:59Z" finished-at="2016-02-10T14:26:59Z"&gt;
        &lt;reporter-output&gt;
        &lt;/reporter-output&gt;
      &lt;/test-method&gt;
  </code></pre>
  
  <p>basically, i want to add another value to the test-method tag. I have tried doing this inside my @Test</p>
  
  <pre><code>ITestResult result = Reporter.getCurrentTestResult();
  result.setAttribute("build", "testBuild");
  </code></pre>
  
  <p>but this does not work. Any ideas?</p>