diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-04 05:25:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-04 05:43:36 +0900 |
| commit | 2cb2f128cffb4e664145c9a8a392b9666d014459 (patch) | |
| tree | 1b14c97f384dac7e0b708399553914be914fcf44 /crates/shirabe/tests/script | |
| parent | b1ec6db345f1b2fe67ccf39fd0d2b77d85cb18c5 (diff) | |
| download | php-shirabe-2cb2f128cffb4e664145c9a8a392b9666d014459.tar.gz php-shirabe-2cb2f128cffb4e664145c9a8a392b9666d014459.tar.zst php-shirabe-2cb2f128cffb4e664145c9a8a392b9666d014459.zip | |
test(plugin): compare a real-plugin install against upstream Composer
Run upstream Composer and Shirabe over pristine copies of a fixture
project at the same path and require composer.lock, the whole vendor tree
(including the plugin-generated GeneratedConfig.php), the plugin's IO
lines and the exit code to match byte for byte.
The plugin under test (phpstan/extension-installer 1.4.3) is downloaded by
fixtures/e2e/fetch — pinned to an upstream commit and hash-verified — into
a git-ignored directory rather than committed; the test skips while it is
absent, like the other real-PHP prerequisites. Its dependencies are
minimal stand-ins resolved from local repositories, so test runs stay
offline. A zip dist would exercise the known lossy-string byte-precision
debt in RemoteFilesystem, so the fixture serves the plugin through a path
dist until that is resolved.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/script')
0 files changed, 0 insertions, 0 deletions
