Skip to content

Conversation

pmattmann
Copy link
Member

VS Code + PHPUnit Test Explorer

PHPUnit Test Explorer

TestExplorer muss phpunit finden.
Es schaut an folgenden Orten: ./phpunit und ./vendor/bin/phpunit.
Da wir einen Ordner /backend haben, wird phpunit nicht gefunden.

Eigentlich kann man den phpunit-Pfad konfigurieren. Leider muss der absolute Pfad angegeben werden.
Bei mir wäre das /home/pimattmann/Projects/ecamp3/backend/vendor/bin/phpunit.
Diese Konfiguration kann ich schlecht zur Verfügung stellen.

Was jedoch funktioniert:
Symbolic Link von ./phpunit auf ./backend/vendor/phpunit/phpunit/phpunit

@pmattmann pmattmann requested a review from usu February 14, 2021 12:22
Copy link
Contributor

@BacLuc BacLuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ist das jetzt ein symling oder einfach ein script das ein anderes script aufruft?

@pmattmann
Copy link
Member Author

Ist das jetzt ein symling oder einfach ein script das ein anderes script aufruft?

ein SymLink

@usu usu merged commit 36ee16f into ecamp:devel Mar 23, 2021
@pmattmann pmattmann deleted the fix/vscode-testexplorer branch November 7, 2021 12:58
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

Successfully merging this pull request may close these issues.

3 participants