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

Test Project says "No tests executed" #13

Open
dmeehan1968 opened this issue Mar 26, 2021 · 0 comments
Open

Test Project says "No tests executed" #13

dmeehan1968 opened this issue Mar 26, 2021 · 0 comments

Comments

@dmeehan1968
Copy link

Problem

Test run ok when saving from a test module (for that module only).

When "Test Project" is clicked, the Tester Console reports "No tests executed!"

Expected Behaviour

"Test Project" should run phpunit on all matching modules (**/tests/*Test.php)

tester-phpunit Settings

All defaults (e.g. no addition args, default paths and scope.

Scope to run on: Default (**/tests/*Test.php)

Project configuration

  • root
    • integration (equivalent to 'src')
      • common
        • {MyModule}.php
    • tests
      • {MyModule}Test.php (requires integration/common/{MyModule}.php)

Debug Output

Test Project output:

Tester PHPUnit
command: php /Users/dmeehan/Documents/Dropbox/Projects/Wavetrend/LORA/SD01-L-Integration-Guide/vendor/phpunit/phpunit/phpunit --log-junit=/var/folders/1m/ql7z1rm97xz0byfwscsw0c_40000gp/T/junit-1616746587536.xml --configuration=/var/folders/1m/ql7z1rm97xz0byfwscsw0c_40000gp/T/phpunit-1616746587536.xml --colors=always
cwd: /Users/dmeehan/Documents/Dropbox/Projects/Wavetrend/LORA/SD01-L-Integration-Guide
PHPUnit 9.5.4 by Sebastian Bergmann and contributors.

No tests executed!

Output on Save of test module:

Tester PHPUnit
command: php /Users/dmeehan/Documents/Dropbox/Projects/Wavetrend/LORA/SD01-L-Integration-Guide/vendor/phpunit/phpunit/phpunit --log-junit=/var/folders/1m/ql7z1rm97xz0byfwscsw0c_40000gp/T/junit-1616746666219.xml --configuration=/var/folders/1m/ql7z1rm97xz0byfwscsw0c_40000gp/T/phpunit-1616746666219.xml --colors=always /Users/dmeehan/Documents/Dropbox/Projects/Wavetrend/LORA/SD01-L-Integration-Guide/tests/PayloadCodecTest.php
cwd: /Users/dmeehan/Documents/Dropbox/Projects/Wavetrend/LORA/SD01-L-Integration-Guide
PHPUnit 9.5.4 by Sebastian Bergmann and contributors.

..                                                                  2 / 2 (100%)

Time: 00:00.003, Memory: 6.00 MB

OK (2 tests, 15 assertions)
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

1 participant