diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-12 01:20:33 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-12 01:20:33 +0900 |
| commit | 3e2613f70ebdb441269556d1080a69a1f21a4f7d (patch) | |
| tree | c1f60a8d5deb5518506d7d59674c953957dc0990 /crates/shirabe/tests/autoload/autoload_generator_test.rs | |
| parent | 0779bfe8c7b5ee22034d552477cac54e8ae2895f (diff) | |
| download | php-shirabe-3e2613f70ebdb441269556d1080a69a1f21a4f7d.tar.gz php-shirabe-3e2613f70ebdb441269556d1080a69a1f21a4f7d.tar.zst php-shirabe-3e2613f70ebdb441269556d1080a69a1f21a4f7d.zip | |
test: drop stale #[ignore]s and rewrite the run-script reasons
Measuring every ignored test with `cargo test --workspace
--no-fail-fast -- --ignored` turned up 11 that pass today; their
reasons named todo!()s and gaps that have since been implemented.
The two run_script_command_test cases still fail, but not for the
reason given: the user's Command class is imported and executed, and
what is missing is only a way to observe it, since PhpCommandProxy::run
forwards the run to the worker-side console application.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/autoload/autoload_generator_test.rs')
| -rw-r--r-- | crates/shirabe/tests/autoload/autoload_generator_test.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/shirabe/tests/autoload/autoload_generator_test.rs b/crates/shirabe/tests/autoload/autoload_generator_test.rs index e55635fc..3f2c142c 100644 --- a/crates/shirabe/tests/autoload/autoload_generator_test.rs +++ b/crates/shirabe/tests/autoload/autoload_generator_test.rs @@ -935,7 +935,6 @@ fn test_non_dev_autoload_replaces_nested_requirements() { #[test] #[serial] -#[ignore = "autoload_static.php getInitializer() fixture has a trailing blank line the current AutoloadGenerator template omits; needs production template alignment"] fn test_phar_autoload() { let mut s = set_up(); let package = new_root_pkg("root/a"); @@ -1381,7 +1380,6 @@ fn test_class_map_autoloading_authoritative_and_apcu_prefix() { #[test] #[serial] -#[ignore = "autoload_real.php/autoload_static.php fixtures track a newer Composer template (single blank lines + $filesToLoad/$requireFile block) than the current AutoloadGenerator port emits; needs production template alignment"] fn test_files_autoload_generation() { let mut s = set_up(); let package = new_root_pkg("root/a"); @@ -1651,7 +1649,6 @@ fn test_empty_paths() { #[test] #[serial] -#[ignore = "fixture assumes the symlinked composersrc/foo/bar tree (created via `ln -s` in PHP) and exercises exclude-from-classmap pattern matching that the port does not yet apply; symlink setup not replicated"] fn test_exclude_from_classmap() { let mut s = set_up(); let package = new_root_pkg("root/a"); @@ -2106,7 +2103,6 @@ fn test_vendor_dir_excluded_from_working_dir() { #[test] #[serial] -#[ignore = "classmap generation does not apply exclude-from-classmap rules that use up-level (../) relative paths or wildcards, so excluded classes (Boo/Boo2/Boo3/Boo4) still appear"] fn test_up_level_relative_paths() { let mut s = set_up(); let working_dir = format!("{}/working-dir", s.working_dir); @@ -2514,7 +2510,6 @@ fn test_generates_platform_check() { #[test] #[serial] -#[ignore = "psr-4 compliance warning is emitted for files reached through an absolute symlink; Composer does not warn here"] fn test_absolute_symlink_with_psr4_does_not_generate_warnings() { let mut s = set_up(); let package = new_root_pkg("test/package"); @@ -2552,7 +2547,6 @@ fn test_absolute_symlink_with_psr4_does_not_generate_warnings() { #[test] #[serial] -#[ignore = "exclude-from-classmap '**/vendor/' is not applied to paths reached through an absolute symlink, so PHPUnit\\Framework\\Exception is not excluded"] fn test_absolute_symlink_with_classmap_exclude_from_classmap() { let mut s = set_up(); let package = new_root_pkg("test/package"); |
