Comments (4)
Hi @lukepass,
Could you post your composer.json? I'm not caught up on how Symfony's PHPUnit bridge works and how that might be influencing running SpeedTrapListener. I hope with the composer.json I can dig in further and find where changes need to be made.
from phpunit-speedtrap.
Yes, this is my composer.json:
{
"name": "luca/base-project",
"license": "proprietary",
"type": "project",
"autoload": {
"psr-4": {
"AppBundle\\": "src/AppBundle",
"Application\\Sonata\\UserBundle\\": "src/Application/Sonata/UserBundle",
"Application\\Sonata\\MediaBundle\\": "src/Application/Sonata/MediaBundle"
},
"classmap": [
"app/AppKernel.php",
"app/AppCache.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
},
"files": [
"vendor/symfony/symfony/src/Symfony/Component/VarDumper/Resources/functions/dump.php"
]
},
"require": {
"php": ">=5.5.9",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/orm": "^2.5",
"friendsofsymfony/rest-bundle": "^2.3",
"greenskies/web-log-viewer-bundle": "^0.0.8",
"incenteev/composer-parameter-handler": "^2.0",
"jms/serializer-bundle": "^2.4",
"leafo/scssphp": "^0.7.7",
"patchwork/jsqueeze": "^2.0",
"php-translation/symfony-bundle": "^0.8.1",
"sensio/distribution-bundle": "^5.0.19",
"sensio/framework-extra-bundle": "^5.0.0",
"sonata-project/admin-bundle": "^3.35",
"sonata-project/core-bundle": "dev-use-new-classes as 3.15.1",
"sonata-project/doctrine-orm-admin-bundle": "^3.6",
"sonata-project/easy-extends-bundle": "^2.5",
"sonata-project/media-bundle": "^3.13",
"sonata-project/translation-bundle": "^2.3",
"sonata-project/user-bundle": "^4.1",
"stof/doctrine-extensions-bundle": "^1.3",
"symfony/assetic-bundle": "^2.8",
"symfony/monolog-bundle": "^3.1.0",
"symfony/polyfill-apcu": "^1.0",
"symfony/swiftmailer-bundle": "^2.6.4",
"symfony/symfony": "3.4.*",
"twig/twig": "^1.0||^2.0"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.0",
"liip/functional-test-bundle": "~2.0@alpha",
"phpstan/phpstan": "^0.9.2",
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^4.1"
},
"scripts": {
"symfony-scripts": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"post-install-cmd": [
"@symfony-scripts"
],
"post-update-cmd": [
"@symfony-scripts"
]
},
"config": {
"sort-packages": true
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "web",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": null
}
}
Thanks!
from phpunit-speedtrap.
Hello @johnkary, did you have any time checking the problem? Thanks!
from phpunit-speedtrap.
Hi @lukepass,
I investigated the issue a while back but could not find a solution. It appears symfony/phpunit-bridge internally switches and installs different PHPUnit binaries.
I have updated the README in master via 799c606 to note this incompatibility. Hopefully others see the note.
This issue can remain open for additional visibility and documenting the issue.
If anyone can provide a solution, please submit a PR. Also if you find it working, please comment below.
from phpunit-speedtrap.
Related Issues (20)
- Documentation usage example HOT 2
- PHPUnit 10 support HOT 2
- Improve UX
- First test always report a lot of time HOT 5
- Compatibility with phpunit 8?
- Does not work when running phpunit via paratest HOT 3
- Switch over to using hooks instead of implementing deprecated TestListener HOT 5
- Display @dataProvider parameters HOT 3
- Disable in coverage test HOT 3
- Only output slowness report when explicitly enabled HOT 2
- Add development section to README
- Compatibility with PHPUnit 9 HOT 1
- Fix needed for phpunit 9.5
- Replace Travis CI with GitHub Actions
- Output total time taken by slow tests HOT 2
- Automatically annotate slow tests HOT 4
- Option to create report file
- Feature request: output list of fastest tests executed HOT 1
- How to Fail Slow Tests?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpunit-speedtrap.