<p>Something that I've recently added to my PHP projects is <a href="https://github.com/paratestphp/paratest">Paratest</a>.</p>
<p>It adds parallel testing to PHPUnit, so your tests will be run in parallel instead of sequentially.</p>
<p>For the example module in my <a href="/atdc">automated testing in Drupal email course</a>, using Paratest reduces the execution time from ~16 seconds to ~8 seconds.</p>
<p>In a client project with 136 tests, it reduces the time from four and a half minutes to less than two minutes.</p>
<p>This is a big improvement just from running a single Composer command to add Paratest.</p>
<p>There's also <a href="https://www.drupal.org/project/drupal/issues/2781123">an open issue</a> for using it for Drupal core's tests, which is something I'll keep an eye on and will look to contribute to.</p>
format:full_html
processed:|
<p>Something that I've recently added to my PHP projects is <a href="https://github.com/paratestphp/paratest">Paratest</a>.</p>
<p>It adds parallel testing to PHPUnit, so your tests will be run in parallel instead of sequentially.</p>
<p>For the example module in my <a href="/atdc">automated testing in Drupal email course</a>, using Paratest reduces the execution time from ~16 seconds to ~8 seconds.</p>
<p>In a client project with 136 tests, it reduces the time from four and a half minutes to less than two minutes.</p>
<p>This is a big improvement just from running a single Composer command to add Paratest.</p>
<p>There's also <a href="https://www.drupal.org/project/drupal/issues/2781123">an open issue</a> for using it for Drupal core's tests, which is something I'll keep an eye on and will look to contribute to.</p>