php-perfect / ddev-intellij-plugin

DDEV Tool Integration for IntelliJ IDEA
https://plugins.jetbrains.com/plugin/18813-ddev-integration
BSD 3-Clause "New" or "Revised" License
109 stars 15 forks source link

courtesy ticket: problem with phpunit tests in phpstorm 2023.2 is unrelated to this plugin #218

Open mrweiner opened 1 year ago

mrweiner commented 1 year ago

Is there an existing issue for this?

Are you sure that this bug is related to this DDEV Integration Plugin?

Enter your error report ID (If available)

No response

Describe the bug

I had a long call with @rfay yesterday trying to figure out an issue running phpunit tests in phpstorm yesterday. The issue DOES NOT appear to be related to the ddev plugin, but he suggested that I open a ticket here for the sake of tracking.

Phpstorm 2023.2 fails to run tests that weren't previously run on an older version of phpstorm before upgrading, saying that "PHPUnit is not configured." and "To fix it configure autoload file or path to PHPUnit phar for 'DDEV' interpreter".

I've opened up this ticket with jetbrains: https://youtrack.jetbrains.com/issue/WI-73715/Phpunit-tests-fail-to-run-on-2023.2-with-inaccurate-configuration-error-if-they-werent-run-on-a-previous-version-before

Steps to reproduce

No response

Additional context

No response

nico-loeber commented 1 year ago

Hey @mrweiner,

Thanks for the info! Could you please add more detailed information on how to reproduce the issue and fix it manually? While it's not the plugin's fault, maybe we can do something about it...

rfay commented 1 year ago

This is now reported solved upstream in PhpStorm, https://youtrack.jetbrains.com/issue/WI-73715/Phpunit-tests-fail-to-run-on-2023.2-with-inaccurate-configuration-error-if-they-werent-run-on-a-previous-version-before

On a very difficult issue, @mrweiner went the extra (many) miles and successfully communicated the problem and got the fix to happen.