title: Difference between Tests and Steps in testng extent report
body: <p>I'm confused in difference between Tests and Steps in testng extent report.</p>
  
  <p>I have 2 test cases as 1 pass and 1 fail. In extent report under <strong>Test</strong>: 1 test(s) passed 1 test(s) failed, 0 others and under <strong>Steps</strong>: 1 step(s) passed
  2 step(s) failed, 0 others</p>
  
  <p>So would anyone clarify what is the difference between both ?</p>
  
  <p>Attaching code snippet and testng extent report</p>
  
  <pre><code>    @Test
      public void demoTestPass()
      {
          test = extent.createTest("demoTestPass", "This test will demonstrate the PASS test case");
          Assert.assertTrue(true);
      }
  
  
      @Test
      public void demoTestFail()
      {
          test = extent.createTest("demoTestFail", "This test will demonstrate the FAIL test case");
          Assert.assertEquals("Hi", "Hello");
      }
  </code></pre>
  
  <p>Please click for <a href="https://i.stack.imgur.com/lfXPT.png" rel="nofollow noreferrer">Extent report</a> here.</p>
  
  <p>Any clarification would be much appreciated.</p>