title: How to get the testcase name in pytest?
body: <p>how to get the current running testcase name in the pytest? please help me out
  like in the robot framework we can easily take testcase name the same way how to take TC name in pytest?</p>
  <p>Ex: My test execution name is &quot;test_retail.py&quot; , if i want to retrieve only the testcase name as  &quot;test_retail&quot; how to do it with pytest?</p>