title: How to run multiple tests at the same time in a single class using pytest?
body: <p>I have a class with 3 <code>tests</code> and I am using <code>pytest</code> to run my tests with Selenium-Webdriver to perform UI operations.</p>
  
  <pre><code>class abc:
    def test_1(self):
        print("I am test_1 open browser and perform operations")
    def test_2(self):
        print("I am test_2 open browser and perform operations")
    def test_3(self):
        print("I am test_3 open browser and perform operations")
  </code></pre>
  
  <p>Each test opens <code>Chrome</code> browser instance to perform set of UI operations. Now I want to run all the above tests at single go. So ideally <code>pytest</code> should open three <code>Chrome</code> browser instances at the same time. (I read about xdist plugin, but I think that's used for running tests on different platforms)</p>
  
  <p>Please provide your inputs.</p>