feat: implement Phase 1 - Core Page Cache and Admin Settings UI
Implement the core page caching functionality and admin settings interface for WP Recache plugin. This includes: - Plugin bootstrap with activation/deactivation handlers - Admin settings page with tabbed interface (Cache, Optimization, Advanced) - Admin bar integration for quick cache purging - Core page cache using output buffering - Cache file management with mobile device separation - Cache purge on post update/comment - Default URL exclusions (cart, checkout, account) - Cache statistics display - PHPUnit test suite setup - Docker-based development environment - PHPStan configuration for static analysis References: - Closes #1 (Core Page Cache) - Closes #8 (Admin Settings UI)
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
bootstrap="tests/bootstrap.php"
|
||||
colors="true"
|
||||
verbose="true"
|
||||
failOnRisky="true"
|
||||
failOnWarning="true"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="WP Recache Tests">
|
||||
<directory suffix="Test.php">tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">includes/</directory>
|
||||
</include>
|
||||
<report>
|
||||
<html outputDirectory="coverage"/>
|
||||
</report>
|
||||
</coverage>
|
||||
|
||||
<php>
|
||||
<env name="WP_TESTS_DOMAIN" value="example.org"/>
|
||||
<env name="WP_TESTS_EMAIL" value="admin@example.org"/>
|
||||
<env name="WP_TESTS_TITLE" value="WP Recache Tests"/>
|
||||
<env name="WP_PHPUNIT__CONFIG" value="phpunit.xml"/>
|
||||
</php>
|
||||
</phpunit>
|
||||
Reference in New Issue
Block a user