I just started out with Moodle development and want do create my first plugin. I have already read some tutorials from the Moodle docs and successfully created the 'hello, world' block from the 'Blocks' tutorial.
Now, I want to set up automated unit testing. I got the first unit test running which extends from PHPUnit\Framework\TestCase.
However, the 'Writing PHPUnit tests' wiki page explains that I should extend from the Moodle class 'advanced_testcase' which is unknown in my plugin folder. This is where I start wondering whether I am supposed to develop my plugin within the Moodle core source code - where the Moodle classes would be known.
Can you confirm that impression? Do I have to develop my plugin within the Moodle core source code?
Thanks in advance!