netbeans - PHPUnit Skeleton Generator fails to create file -


i have installed, via composer, latest versions of phpunit , skeleton generator, 4.1.3 , 2.0.1, respectively. have installed project directory , confirmed can test files. cannot, however, run skeleton generator create new tests. using netbeans , phpunit integration create tests. when attempt generate tests, following:

"c:\xampp\php\php.exe" "c:\users\bob\projects\[myproject]\website\vendor\phpunit\phpunit-skeleton-generator\phpunit-skelgen" "--test" "--" "security\secureapi" "c:\users\bob\projects\[myproject]\website\src\security\secureapi.php" "security\secureapitest" "c:\users\bob\projects\[myproject]\website\test\phpunit\src\security\secureapitest.php" phpunit-skelgen 2.0.1 sebastian bergmann.   [invalidargumentexception]                     command "security\secureapi" not defined.                                               done. 

i had netbeans 'use bootstrap creating new unit tests' option selected prior this, , got error:

"c:\xampp\php\php.exe" "c:\users\bob\projects\[myproject]\website\vendor\phpunit\phpunit-skeleton-generator\phpunit-skelgen" "--bootstrap" "c:\users\bob\projects\[myproject]\website\test\phpunit\bootstrap.php" "--test" ...  [invalidargumentexception]                        there no commands defined in "c" namespace. 

generating tests version 1.2.1 worked fine on old development machine. i'm wondering if issues specific version 2.0.1 of skelgen. seems viewing c: namespace, whereas 1.2.1 did not. i've confirmed netbeans produced identical command line instructions 1.2.1 , 2.0.1, appears way being interpreted has changed.

has else seen this? ideas? i'm running win7 machine netbeans 8.0. in advance.

try download dev build of netbeans here, issue changes in skeleton generator 2.x fixed few days ago


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -