mirror of
https://github.com/Heretek-AI/heretek-control-core.git
synced 2026-10-12 02:03:55 +00:00
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]>
21 lines
693 B
XML
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>
|