From e40ae3649d62a933211e81d8ac773fdd86ff1dfb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 21 Feb 2026 20:54:29 +0900 Subject: test(cli): add end-to-end integration tests for CLI commands Add 23 integration tests using assert_cmd and predicates covering about, validate, show, licenses, install, config, init, and dump-autoload commands with shared test helpers and fixture projects. Co-Authored-By: Claude Opus 4.6 --- .../with_installed/vendor/composer/installed.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 crates/mozart/tests/fixtures/with_installed/vendor/composer/installed.json (limited to 'crates/mozart/tests/fixtures/with_installed/vendor') diff --git a/crates/mozart/tests/fixtures/with_installed/vendor/composer/installed.json b/crates/mozart/tests/fixtures/with_installed/vendor/composer/installed.json new file mode 100644 index 0000000..bbbe53c --- /dev/null +++ b/crates/mozart/tests/fixtures/with_installed/vendor/composer/installed.json @@ -0,0 +1,18 @@ +{ + "packages": [ + { + "name": "psr/log", + "version": "3.0.2", + "version_normalized": "3.0.2.0", + "type": "library", + "install-path": "../psr/log", + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + } + } + ], + "dev-package-names": [], + "dev": true +} -- cgit v1.3.1