Files
heretek-control-core/tests/phpunit.xml
T
deibyRoandClaude Fable 5 aa8280beba Tests: standalone public tests/ harness with WP+ACF stubs; ACF abilities coverage
The root phpunit.xml points at the private pro/tests submodule that
outside contributors cannot fetch, so tests/ is a self-contained
harness (fixture-driven WordPress + ACF stubs) runnable with plain
PHPUnit: vendor/bin/phpunit -c tests/phpunit.xml. 29 tests covering
registration, permissions, target validation, name-to-key resolution,
flexible layout validation, the Pro gate, value normalization, and the
field-group authoring guardrails. Un-ignores /tests/ so the public
suite is committable.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-10 11:37:45 -05:00

21 lines
693 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Standalone config for the PUBLIC test suite (no private pro/ submodule
needed). The root phpunit.xml / phpunit.xml.dist point at pro/tests and are
only runnable by Pro developers.
Run from the plugin root: vendor/bin/phpunit -c tests/phpunit.xml
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="bootstrap.php"
colors="true"
cacheDirectory="../.phpunit.public.cache"
beStrictAboutOutputDuringTests="true">
<testsuites>
<testsuite name="public">
<directory suffix="Test.php">.</directory>
</testsuite>
</testsuites>
</phpunit>