NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
phpunit code completion


Joined: 03 Feb 2020
Posts: 2
Reply with quote
Is there any way to work with code completion for PHPUnit TestCases?
My tests are executed, but during editing, trying to use code completion results in an error:

"Code completion is not available due to the following problem(s):
Failed to find "PHPUnit\Framework\TestCase" class (or trait)"

I'm using the latest phar:
phpunit-8.4.3.phar (delivered with phped 19.2)
View user's profileFind all posts by kediSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
if you unpack phpUnit and include resulted directory as an extra one to your project, code completion will pick up the sources and show all the found objects.


Last edited by dmitri on Fri Feb 07, 2020 9:10 am; edited 1 time in total

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
ok


Joined: 03 Feb 2020
Posts: 2
Reply with quote
thanks, it works
View user's profileFind all posts by kediSend private message
phpunit code completion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic