tenzap commented on issue #8082:
URL: https://github.com/apache/netbeans/issues/8082#issuecomment-2559064748

   See: https://github.com/tenzap/phpunit-simple-example/tree/nb24-issue8082
   (branch `nb24-issue8082`)
   
   For the configuration:
   
![image](https://github.com/user-attachments/assets/4741743d-2358-4c14-8bcc-ae0265387dd0)
   
![image](https://github.com/user-attachments/assets/ff05d358-163c-4b27-809e-7eb96d15d3a3)
   
   It looks like if I tick "test project using just phpunit", it shouldn't add 
the `.` to the phpunit command.
   
   Actually the `.` refers to the directory in which phpunit searches test 
files. For phpunit, if `--test-suffix` is not set, it defaults searching only 
for files having suffix `Test.php,.phpt`. However, in this project the suffix 
is _test.php, so the `.`  wouldn't find the test files, and that would explain 
why no groups are found.
   
   BTW, if I tick "use XML configuration", maybe netbeans shouldn't even append 
the test dir to any phpunit call? I don't know if this makes sense.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to