Answer the question
In order to leave comments, you need to log in
How to configure phpUnit to speed up test runs?
Hello!
I use unit tests from under codeception in the project. But unfortunately, even an empty test class starts up for almost half a minute, although the tests themselves pass quickly, it is the “warming up” of the tests that takes a lot of time. Maybe you can somehow configure phpUnit in order to speed up the speed of running tests.
Answer the question
In order to leave comments, you need to log in
Open Server uses the ConEmu console. Until the latest version of Open Server (4.9.0 dated December 10, 2013) there was a bug in this console, as a result of which the execution of any commands in it was very slow, the same phpUnit worked 20-30 times slower than usual (some commands even hung up) . The developer of the ConEmu console has fixed this bug and now the commands are executed very quickly, just like in a regular Windows console.
Keep this in mind if you are using the console built into Open Server and your Open Server version is below 4.9.0.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question