atoum / atoum

The modern, simple and intuitive PHP unit testing framework.

Home Page:http://atoum.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to enable autocomplete in IDE?

AlexPravdin opened this issue · comments

Hello. I'm new to Atoum and I try to follow docs. I have the following issues:

Problem1: http://docs.atoum.org/en/latest/first_test.html - here I see the test class. But when I try to use it in IDE it can't find out the atoum class. If trying to use autocomplete I can't see any corresponding implementation. So the unit test autocomplete doesn't work. This slows down the tests develpment significantly.

Problem 2: Here http://docs.atoum.org/en/latest/first_test.html the test class extends the atoum class. But here http://docs.atoum.org/en/latest/running_tests.html it extends atoum\test. Which one is correct?

Thanks

hello,
you can find more info on http://docs.atoum.org/en/latest/ide.html
if you use phpstorm, you can use atoum/stub package to have the autocompletion.

For information, \atoum & \atoum\test is the same for your test. But it's an alias of our base test class \mageekguy\atoum && \mageekguy\atoum\test

Hello some of http://docs.atoum.org/en/latest/ide.html addon are outdated. (sublime text 2 -> 3)