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 256511 - No PHPUnit scripts found
Summary: No PHPUnit scripts found
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: PHPUnit (show other bugs)
Version: 8.1
Hardware: Macintosh (x86) Mac OS X
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-11 11:08 UTC by mafl
Modified: 2016-08-15 12:51 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 mafl 2015-11-11 11:08:29 UTC
PHPUnit installed with phar.

It works in Commandline:
> phpunit --version
> PHPUnit 5.0.9 by Sebastian Bergmann and contributors.

Located in:
> which phpunit
> /usr/local/bin/phpunit

But in Netbeans no PHPUnit scripts can be found.

One other Point:
In General Tab the PHP 5 Interpreter is located in 
/usr/bin/php

but my actual Location is:
> which php
> /usr/local/bin/php

OS X 10.10.5
Comment 1 Tomas Mysik 2015-11-11 12:26:37 UTC
NetBeans searches your PATH - what is its value in your case? Could you please verify it?

Simply reopen this issue, thanks.
Comment 2 mafl 2015-11-11 13:56:52 UTC
/usr/local/bin is in my PATH:
> echo $PATH
>  /Users/Martin/bin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
Comment 3 Tomas Mysik 2015-11-12 06:26:33 UTC
Strange. I will add some logging to investigate this issue. Thanks.
Comment 4 Tomas Mysik 2016-08-15 12:51:37 UTC
Closing, please reopen if this issue still exists.

Thanks.