title: How do I set the working directory for phpunit using the XML file?
body: <p>I'm looking through <a href="https://phpunit.readthedocs.io/en/8.4/configuration.html" rel="nofollow noreferrer">the documentation</a>, but I'm not seeing any option to change the working directory used when running tests.</p>
  
  <p>I'm using PhpUnit as it's included in Laravel. I want to be able to run <code>vendor/bin/phpunit</code> from my project's root directory, and have it run using the <code>/public</code> directory as the working directory.</p>
  
  <p>I tried running <code>../vendor/bin/phpunit</code> from the <code>/public</code>, but since the phpunit.xml file isn't in the public directory and I don't want to specify my config file path every time, that won't work.</p>
  
  <p>Is there something I can add to my <code>phpunit.xml</code> file to tell it to run tests using the <code>/public</code> directory as the "cwd" (current working directory)?</p>