Add comprehensive testing framework for both single site and multisite WordPress environments

This commit is contained in:
2025-04-21 17:32:01 +01:00
parent 136f07d9c4
commit 8ed22642e2
11 changed files with 422 additions and 7 deletions

View File

@@ -85,11 +85,17 @@ This template includes configuration for WordPress Environment (wp-env) to make
npm run start
```
3. For multisite testing:
3. For testing in different WordPress environments:
```bash
npm run multisite
# For single site testing
npm run setup:single
# For multisite testing
npm run setup:multisite
```
See [Testing Framework](.wiki/Testing-Framework.md) for more details on our testing approach.
4. Access your local WordPress site at <http://localhost:8888> (admin credentials: admin/password)
### Testing
@@ -212,12 +218,16 @@ Customize the includes/core.php file to implement your core functionality and th
### Is this template compatible with WordPress multisite?
Yes, this template is fully compatible with WordPress multisite installations. You can test multisite compatibility by running:
Yes, this template is fully compatible with WordPress multisite installations. We have a comprehensive testing framework that allows you to verify functionality in both single site and multisite environments.
You can test multisite compatibility by running:
```bash
npm run multisite
npm run setup:multisite
```
For more details on our testing approach, see the [Testing Framework](.wiki/Testing-Framework.md) file.
## Support & Feedback
If you need help with this template, there are several ways to get support: