Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Plugin #98

Open
StephanKrauss opened this issue Apr 23, 2018 · 3 comments
Open

Error in Plugin #98

StephanKrauss opened this issue Apr 23, 2018 · 3 comments
Labels

Comments

@StephanKrauss
Copy link

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 #

@Grummfy
Copy link
Member

Grummfy commented Apr 24, 2018

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
Copy link
Member

Grummfy commented Apr 24, 2018

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

@Grummfy Grummfy added the bug label Apr 24, 2018
@StephanKrauss
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants