title: What is the difference between test method and test tag inTestng
body: <p>I'm using TestNG for some time now but still I don't know what's the intended purpose of those two (<code>@Test</code> and <code>&lt; test&gt;</code> in suite.xml)and what abstractions they are meant to express.</p>
  
  <p>Also if anyone can share the difference in their behavior regarding other elements in TestNG. For example are <code>@AfterTest</code> <code>@BeforeTest</code> triggered by <code>@Test</code> or <code>&lt;test&gt;</code> and which one of <code>@Test</code> and <code>&lt; test&gt;</code> gets into the final execution report. </p>