wpmind/phpunit.xml.dist
LinuxJoy d733b8e7fc feat(license): add WenPai License SDK + test infrastructure
- WenPai_License PHP SDK: verify/activate/deactivate with 24h cache + 7-day grace period
- wpmind_license() global helper, settings page license tab with AJAX activate/deactivate
- composer.json with yoast/wp-test-utils, PHPUnit 9.6 + BrainMonkey test setup
- 6 unit tests for WenPai_License (get_key, set_key, verify cache, plan fallback)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-20 01:20:05 +08:00

22 lines
569 B
XML

<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
>
<testsuites>
<testsuite name="unit">
<directory suffix="Test.php">tests/Unit</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">includes</directory>
</include>
<exclude>
<file>includes/class-wenpai-updater.php</file>
</exclude>
</coverage>
</phpunit>