Commit Graph

3 Commits

Author SHA1 Message Date
4031a1c8aa Add PHPUnit test suite with Brain\Monkey (v0.1.6)
All checks were successful
Create Release Package / PHP Lint (push) Successful in 1m2s
Create Release Package / PHPUnit Tests (push) Successful in 46s
Create Release Package / Build Release (push) Successful in 50s
Add test infrastructure for isolated unit testing without WordPress/WooCommerce:
- 27 tests (54 assertions) covering TemplateOverride and WooCommerceExtension
- Brain\Monkey for WordPress function mocking, class stubs for TwigService and WC_Product
- PHPUnit test job added to Gitea CI pipeline between lint and build-release
- Test artifacts excluded from release packages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 03:48:19 +01:00
ff68b979c7 Add twig/twig ^3.0 as Composer dependency
Required by WooCommerceExtension which extends
Twig\Extension\AbstractExtension.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:22:27 +01:00
0b4f136674 Update CLAUDE.md: mark woocommerce as read-only, note docker not yet available
Add constraints section documenting that the woocommerce plugin is read-only
and that the Docker environment is not yet set up. Track composer.lock.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 09:56:14 +01:00