In new testing infrastructure :)
We need a "porcelain" format of the output - could you submit an issue against Nette Tester please?
The nette/tester would need to be improved a bit - reported as .
Done, will be available after NB 7.4.
Guys, please verify that the support works on Windows.
I spent some time testing it and I have found the problem. By default, Tester is running PHP without config (php.ini), so after running tests in Netbeans I get this output:
"C:\xampp\php\php.exe" "D:\frameworks\NetteFramework-2.0.12-PHP5.3\tools\Tester\Tester\tester" "--tap" "-s" "C:\xampp\htdocs\PhpProject187\tests\ExampleTest.phpt"
TAP version 13
not ok PhpProject187\tests\ExampleTest.phpt
# Exited with error code 255 (expected 0)
# Fatal error: Call to undefined function Nette\Utils\mb_convert_encoding() in C:\xampp\htdocs\PhpProject187\libs\Nette\nette\Nette\Utils\Strings.php on line 61
So Tester does not see extension php_mbstring.dll which is configured in php.ini. I have to add manually path to config with parameter -c . Then when I tried same command in command line but with -c parameter it is working.
C:\>"C:\xampp\php\php.exe" "D:\frameworks\NetteFramework-2.0.12-PHP5.3\tools\Tester\Tester\tester" "--tap" "-s" "C:\xampp\htdocs\PhpProject187\tests\ExampleTest.phpt" "-c" "C:\xampp\php\php.ini"
TAP version 13
Could you please look at it (and add -c parameter to locate php.ini)? Then I will be able to test it again in NetBeans. Thanks
Reported as issue #236627.
Milane, please, do not forget to verify this issue (especially on Windows).
Verified, NetBeans support for Nette/Tester is working good. I have found issue in Nette/Tester and reported it .
I just added a few improvements based on the latest Atoum changes - could you please quickly retest it?
Thanks a lot.
One more minor fix.
Working as expected. Thank you.
Product Version: NetBeans IDE Dev (Build 201310170001)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb)