I'm doing my first project with PHP and Moodle. I'm using Netbeans IDE. I need to use PHPUnit for testing. I have installed PHPUnit and it is working.
But the problem is I can not create test cases for my plugin for Moodle. I created a new project, made var/www/moodle the source directory and opened moodle in Netbeans. Now my problems is how to create test cases. When I right click on my plugin file->tools->create PHPUnit tests, it asks for a directory for tests of my project. What should I choose there ? PHPUnit test cases were not created whatever the directory I chose.