This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When a project contains a sub-project which has it's own composer.json, the PHPUnit "navigate to test file" "create test file" and "run focused test method" do not work. Here is a sample project https://github.com/twifty/netbeans Set up the IDE as normal for PHPUnit. Navigate to src/sub-project/index.php, right click and "Go to test class", Or, right click, select "Tools" and the "Create tests" menu item is missing. A workaround is to rename the composer.json file and restart the IDE.
I should say "when a project contains a sub-folder" rather than "sub-project" as the IDE has not opened the contents of sub-project as it's own project.
I believe that this issue will be solved as part of issue #256585. But keeping opened, will verify it once that issue is fixed. Thanks for reporting.
This has been fixed as part of issue #256585. Thanks. Product Version: NetBeans IDE Dev (Build 20160526-870cac7ce632) Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14 System: Linux version 4.2.0-36-generic running on amd64; UTF-8; cs_CZ (nb)