Files
Claude (Heretek-AI)andClaude 789934e2eb Initial v0.1.0 scaffold for comic-easel-rest
Companion REST API plugin for comic-easel. Exposes the comic CPT, the
chapters/characters/locations taxonomies, and CEO plugin options over WP
REST under the comic-easel/v1 namespace. Authenticated via WordPress
Application Passwords for n8n-style automation.

Includes:
- CPT-args shim (includes/class-cpt-shim.php) flipping show_in_rest on
  comic + taxonomies
- REST controller (includes/class-rest-controller.php) with 5 endpoints
- Procedural helpers + endpoint callbacks (functions/)
- PHPUnit + WP_Test_REST_TestCase tests (tests/)
- Scoped phpcs config mirroring comic-easel
- GitHub Actions CI (lint, test with SQLite, advisory phpcs)
- bin/install-wp-tests.sh fetches WP core + sqlite drop-in + parent plugin

Co-Authored-By: Claude <[email protected]>
2026-08-31 20:31:35 -04:00

16 lines
492 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
colors="true"
failOnWarning="true"
failOnNotice="true"
failOnDeprecation="true"
beStrictAboutOutputDuringTests="true">
<testsuites>
<testsuite name="comic-easel-rest">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>