1

I am using Eclipse for PHP Developers, Eclipse Neon Milestone (4.6).

I have succesfully installed PhpUnit with Composer, and it works great from the command line.

I have also installed MakeGood plugin, but a have an error:

enter image description here

Already tried all the suggestion in This answer.

Am I missing something? Please help.

Community
  • 1
  • 1
Grigory Ilizirov
  • 1,030
  • 1
  • 8
  • 26

1 Answers1

0

I realise this is an old question, but it's worthy of an answer.

If you have set up your environment as per the linked answer, add this line to the top of your test case:

require_once 'vendor/autoload.php';

This will pull in the PHPUnit class definitions. This will also enable auto-complete of test methods (e.g. assertFalse).