Are you an LLM? You can read better optimized documentation at /plugin/backend/unit-test.md for this page in Markdown format
Plugin Unit Testing β
A standard application directory structure explanation
Essentially, a plugin is also a Composer package, but Mine integrates additional functionalities on top of it. β
For developers who need to perform unit testing, please directly create a composer.json
file in the plugin directory.
However, please note the following:
- Ensure that the PSR-4 namespaces in
composer.json
andmine.json
are consistent. - Friendly reminder: Installing any plugins outside of official sources is strictly prohibited to prevent malicious damage to your application.