tester-phpunit
tester-phpunit copied to clipboard
Test Project says "No tests executed"
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
- common
- tests
- {MyModule}Test.php (requires
integration/common/{MyModule}.php
)
- {MyModule}Test.php (requires
- integration (equivalent to 'src')
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)