Parallel PHPUnit

Parallel PHPUnit

ved Joey Andres -
Antal besvarelser: 2
As you all know, phpunit can be a little slow. To attempt to solve that problem, I have tried to integrate paratest in my test moodle site. After installing I run the following command:


vender/bin/paratest -c phpunit.xml


And it prints that it's using 5 threads and found phpunit.xml. After that, it does nothing. I don't know what's going on. Can someone help me out here.

Gennemsnitsbedømmelse: -
I svar til Joey Andres

Re: Parallel PHPUnit

ved Damyon Wiese -
You are not going to have much luck without some changes under the hood. Each thread would need it's own dataroot, prefix and wwwroot - just like the behat parallel runner.