friends-of-behat / performance-extension
Accelerates Behat using features available only for newer PHP versions.
Installs: 330 592
Dependents: 14
Suggesters: 0
Security: 0
Stars: 63
Watchers: 5
Forks: 2
Open Issues: 1
Requires
- php: ^7.0
- behat/behat: ^3.1
Requires (Dev)
This package is not auto-updated.
Last update: 2022-02-01 13:00:05 UTC
README
Suitable for PHP 5.6 only!
The simplest Behat extension you've ever used!
Accelerates Behat using features available only for newer PHP versions. Up to 10% faster in real-world applications.
- Sylius test suite execution time was reduced by ~40s / ~8% - see the performance comparison.
Usage
-
Install it:
$ composer require friends-of-behat/performance-extension --dev
-
Enable it in your Behat configuration:
# behat.yml default: # ... extensions: FriendsOfBehat\PerformanceExtension: ~
-
Boom! 💥 Your Behat runs faster now!
What's inside?
Right now, it's just call_user_func_array($callable, $arguments)
replaced with $callable(...$arguments)
.