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.
Debian 7 wheezy PHP 5.4.4-14+deb7u7 (cli) Nette Tester 1.0.0 If I correctly setup test folder and tester executable, there is still problem with executing tests. Nette tester wants to run tests under the cgi mode by default. But who develop under the CGI? :-) see my Netbeans output: ----------------- "/usr/bin/php" "/home/sedlak/.composer/vendor/nette/tester/Tester/tester" "--tap" "-s" "/var/www/new-project/tests" _____ ___ ___ _____ ___ ___ |_ _/ __)( __/_ _/ __)| _ ) |_| \___ /___) |_| \___ |_|_\ v1.0.0 Error: Unable to run 'php-cgi': sh: 1: php-cgi: not found Done. ----------------- I think that tester should be executed with parameter -p <php_interpeter> (eg. /user/bin/php from Netbeans -> Tools -> Options -> PHP -> General -> Command line -> PHP 5 interpreter) by default.
Tome? :)
Lol, didn't reassign :) So once again, Tome? :)
Will have a look at it. Thanks.
See [1] for likely the best possible solution. Thanks. [1] https://github.com/nette/tester/issues/100
(In reply to Tomas Mysik from comment #4) > See [1] for likely the best possible solution. > > Thanks. > [1] https://github.com/nette/tester/issues/100 I agree with that, thx :-)
Unfortunately, it is too late for NB 8.0. We will try to deliver proper fix for a Patch (not sure when it will be available). As a workaround: - simply install php-cgi package ;) or - in Project Properties, for Tester script set "/my/tester -p php" (without quotes) and save it, it will work as you can see in the Output window: "/usr/bin/php" "/home/gapon/NetBeansProjects/Calculator-Nette-Tester/src/vendor/bin/tester" "-p" "php" "--tap" "-s" "/home/gapon/NetBeansProjects/Calculator-Nette-Tester/test" Thanks.
Fixed, please verify. Now, it is possible to set default executable in IDE Options as well as in Project Properties. Thanks. http://hg.netbeans.org/web-main/rev/b9359dfa8c1b
Integrated into 'main-silver', will be available in build *201404260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b9359dfa8c1b User: Tomas Mysik <tmysik@netbeans.org> Log: #241996 - Nette Tester - set PHP CLI automatically
It seems to be working OK, but I have one question: - in Tools|Options|PHP|Frameworks->Nette Tester, there is by default displayed message "Tester file must be selected". Should be there? E.g. Zend2 or Atoum do not show any validation msg Product Version: NetBeans IDE Dev (Build 201405020001) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
(In reply to Vladimir Riha from comment #9) > I have one question: > - in Tools|Options|PHP|Frameworks->Nette Tester, there is by default > displayed message "Tester file must be selected". Should be there? E.g. > Zend2 or Atoum do not show any validation msg It is just a warning but please, report it, I will check the other modules and do it the same way. Thanks.
OK, thank you. Verified then