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 203751 - PHPUnit in Project Properties
Summary: PHPUnit in Project Properties
Status: RESOLVED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 19:38 UTC by xgathos
Modified: 2011-11-09 11:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xgathos 2011-10-14 19:38:54 UTC
[ BUILD # : 201110100600 ]
[ JDK VERSION : 1.7 ]


to add phpunit support for a php project, i open the project properties, go to
"sources" and add the path for the tests. than i change the category to PHPUnit
and try to generate the bootstrap file. 
this is not working, because no test path is set.

so i have to close the project properties to save the changes and try again,
this is working.

but the expected behavior is to be able to set phpunit options as soon as i
added the test path... without reopening the project properties dialog.
Comment 1 Tomas Mysik 2011-10-27 08:45:48 UTC
Thinking about it and - this is likely WONTFIX, sorry. Consider this scenario:
- open Project Properties
- set path for Tests
- generate Bootstrap file -> file is generated
- user click Cancel or changes the path of Tests

=> what to do now? Delete the generated Bootstrap file? Or...?

I think that we simply miss a button Apply which would save the unsaved changes and would keep the Project Properties dialog opened. Feel free to submit an enhancement against projects/Generic Projects UI if you agree.

Changing to P4, as a reminder.

Thanks for reporting.
Comment 2 Tomas Mysik 2011-11-09 11:23:33 UTC
(In reply to comment #1)
> I think that we simply miss a button Apply which would save the unsaved changes
> and would keep the Project Properties dialog opened. Feel free to submit an
> enhancement against projects/Generic Projects UI if you agree.

Since I think that this is the only acceptable solution, closing this issue as WONTFIX. Please, submit that enhancement if you think that it could be useful.

Thanks for reporting.