phpstorm-plugin icon indicating copy to clipboard operation
phpstorm-plugin copied to clipboard

Error in Plugin

Open StephanKrauss opened this issue 6 years ago • 3 comments

Hello, i'm a absolut beginner in atoum. I think there is a error. In my phpstorm there is the plugin correct installed. When i called the Plugin i se the command:

php vendor/bin/atoum.bat --use-tap-report -f src/App/Controller/Login/tests/units/LoginController.php

and get the information:

No tests were found

When i call the command in the terminal

c:/xampp/htdocs/atoum/vendor/bin/atoum.bat --use-tap-report -f src/App/Controller/Login/tests/units/LoginController.php

it works fine.

Can you help. Sorry for my bad english.

Your sincerly #

StephanKrauss avatar Apr 23 '18 15:04 StephanKrauss

Hello, you can communicate in french too if you prefer.

So, it seems the plugins doesn't detect the test. Can you print the output of the following commands :

  • c:/xampp/htdocs/atoum/vendor/bin/atoum.bat +++verbose --use-tap-report -f src/App/Controller/Login/tests/units/LoginController.php
  • vendor/bin/atoum.bat +++verbose --use-tap-report -f src/App/Controller/Login/tests/units/LoginController.php

(it's the head of the output that interest me)

Grummfy avatar Apr 24 '18 11:04 Grummfy

by rereading it, it's seems related to #95

Grummfy avatar Apr 24 '18 11:04 Grummfy

Hello,

when i start the command c:/xampp/htdocs/atoum/vendor/bin/atoum.bat +++verbose --use-tap-report -f src/App/Controller/Login/tests/units/LoginController.php in the terminal of the PhpStorm

I get the message:

C:\xampp\htdocs\atoum>c:/xampp/htdocs/atoum/vendor/bin/atoum.bat +++verbose --use-tap-report -f src/App/Controller/Login/tests/units/LoginController.php

Using +++verbose --use-tap-report -f src/App/Controller/Login/tests/units/LoginController.php arguments…

Using 'C:\xampp\htdocs\atoum\vendor/autoload.php' autoloader file…

Using 'C:\Users\STEPHA~1.KRA\AppData\Local\Temp\01f551955a0c0977ff910ba6ec2af825.atoum.cache' autoloader cache file…

Using 'src/App/Controller/Login/tests/units/LoginController.php' test file…

Error: Unable to add test file 'src/App/Controller/Login/tests/units/LoginController.php'


You find my test in Github at www.github.com/stephankrauss/atoum , branch: develop

Your sincerly

Stephan

StephanKrauss avatar May 04 '18 06:05 StephanKrauss