title: PyTest - Run each Test as a Mutlitprocessing Process
body: <p>I'm using pytest to run my tests, and testing my web application. My test file looks like</p>
  
  <pre><code>def test_logins():
      # do stuff
  
  def test_signups():
      # do stuff
  
  def testing_posting():
      # do stuff
  </code></pre>
  
  <p>There are about 20 of them, and many of them have elements that run in constant time or rely on external HTTP requests, so it seems like it would lead to a large increase in testing speed if I could get pytest to start up 20 different mutliprocessing processes (one for each test) to run each testing function. Is this possible / reasonable / recommended?</p>
  
  <p>I looked into <a href="https://pypi.python.org/pypi/pytest-xdist" rel="noreferrer">xdist</a> but splitting the tests so that they ran based on the amount of cores on my computer isn't what I want.</p>
  
  <p>Also in case it's relevant, the bulk of the tests are done using python's requests library (although they will be moved to selenium eventually)</p>