Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
mrweiner opened this issue Aug 4, 2023 · 2 comments
Open
1 of 2 tasks

Comments

@mrweiner
Copy link

mrweiner commented Aug 4, 2023

Is there an existing issue for this?

  • I have searched the existing issues

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

  • I am sure

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

@mrweiner mrweiner added the bug Something isn't working label Aug 4, 2023
@nico-loeber
Copy link
Contributor

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...

@nico-loeber nico-loeber removed the bug Something isn't working label Aug 14, 2023
@rfay
Copy link
Collaborator

rfay commented Aug 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants