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.

Bug 257125 - [ConvertorProjects] Composer.json breaks unit testing option
Summary: [ConvertorProjects] Composer.json breaks unit testing option
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks: 253339
  Show dependency tree
 
Reported: 2015-12-12 22:07 UTC by mark_tyler
Modified: 2016-06-03 05:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (42.58 KB, text/plain)
2015-12-12 22:07 UTC, mark_tyler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mark_tyler 2015-12-12 22:07:54 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
  * Create new PHP project (leave Netbeans data in same folder)
  * Create new folder under newly created project
  * Create new "composer.json" file in that folder
  * Create new PHP file in that folder
  * As you can see at this point, when you right-click on PHP file, under "Tools" there is "Create/update tests" option
  * Restart IDE
  * When you now right-click on PHP file, there is no more "Create/update tests" option available and folder that was created in second step now has "Open project of folder" available.

ACTUAL:
  "composer.json" file somehow breaks possibility to create PHPUnit tests.

EXPECTED:
  "Create/update tests" should not be depend on composer.json file
Comment 1 mark_tyler 2015-12-12 22:07:59 UTC
Created attachment 157774 [details]
IDE log
Comment 2 Tomas Mysik 2016-01-04 08:20:40 UTC
Yes, another use-case of ConvertorProjects problem.

Thanks for reporting.
Comment 3 Tomas Mysik 2016-06-03 05:45:44 UTC
Already fixed in the dev build of NetBeans [1].

Thanks for reporting.
[1] http://bits.netbeans.org/download/trunk/nightly/latest/