Update README and metadata for version 1.1.1; add discovery test for plugin class loading

This commit is contained in:
interlope committed 2026-11-01 18:41:20 +01:00
1 parent 3dfd367814
commit 41e623d5d1
5 files changed
+60 -3

No files matched your search

+3
View File
@@ -130,9 +130,12 @@ No Composer dependencies or YAML extension are required. To run the tests agains
```bash
php -l plugin.php
php -l importer.php
BLUDIT_ROOT=/path/to/bludit-3.22.0 php tests/discovery.php
BLUDIT_ROOT=/path/to/bludit-3.22.0 php tests/import.php
```
The discovery regression test runs Bludit's real `buildPlugins()` with its real `Plugin` base class. Helper classes are loaded from `init()`, after class discovery, so Bludit does not mistake them for plugins.
Tests use temporary local storage and a fake GitHub transport. They exercise real Bludit page creation/editing, asset rewriting and export round trips, rejected paths, escaped previews, stale metadata/configuration, failed downloads and rollback after a failing page hook. They do not modify a live site or contact GitHub.
Optionally exercise a real exported article as a fixture too: