aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/shirabe/tests/all_functional_test.rs1
-rw-r--r--crates/shirabe/tests/command/base_dependency_command_test.rs3
-rw-r--r--crates/shirabe/tests/command/check_platform_reqs_command_test.rs1
-rw-r--r--crates/shirabe/tests/command/install_command_test.rs4
-rw-r--r--crates/shirabe/tests/command/remove_command_test.rs9
-rw-r--r--crates/shirabe/tests/command/show_command_test.rs9
-rw-r--r--crates/shirabe/tests/command/suggests_command_test.rs2
-rw-r--r--crates/shirabe/tests/command/update_command_test.rs1
-rw-r--r--crates/shirabe/tests/installer_test.rs1
9 files changed, 31 insertions, 0 deletions
diff --git a/crates/shirabe/tests/all_functional_test.rs b/crates/shirabe/tests/all_functional_test.rs
index 57788a3..c6eb683 100644
--- a/crates/shirabe/tests/all_functional_test.rs
+++ b/crates/shirabe/tests/all_functional_test.rs
@@ -254,6 +254,7 @@ fn test_build_phar() {
#[test]
#[serial]
+#[ignore]
fn test_integration_create_project_command() {
run_integration("create-project-command.test");
}
diff --git a/crates/shirabe/tests/command/base_dependency_command_test.rs b/crates/shirabe/tests/command/base_dependency_command_test.rs
index 41ad362..30de8432 100644
--- a/crates/shirabe/tests/command/base_dependency_command_test.rs
+++ b/crates/shirabe/tests/command/base_dependency_command_test.rs
@@ -117,6 +117,7 @@ fn test_exception_when_running_locked_without_lock_file() {
/// ref: BaseDependencyCommandTest::testExceptionWhenItCouldNotFoundThePackage.
#[test]
#[serial]
+#[ignore]
fn test_exception_when_it_could_not_found_the_package() {
// caseProvider
let cases: Vec<(&str, Vec<(&str, PhpMixed)>)> = vec![
@@ -163,6 +164,7 @@ fn test_exception_when_it_could_not_found_the_package() {
/// ref: BaseDependencyCommandTest::testExceptionWhenPackageWasNotFoundInProject.
#[test]
#[serial]
+#[ignore]
fn test_exception_when_package_was_not_found_in_project() {
// caseProvider
let cases: Vec<(&str, Vec<(&str, PhpMixed)>)> = vec![
@@ -285,6 +287,7 @@ fn test_warning_when_dependencies_are_not_installed() {
/// ref: BaseDependencyCommandTest::testWhyCommandOutputs (caseWhyProvider rolled in).
#[test]
#[serial]
+#[ignore]
fn test_why_command_outputs() {
// caseWhyProvider: (package, --tree, --recursive, expected_output, expected_status_code)
let cases: Vec<(&str, bool, bool, &str, i32)> = vec![
diff --git a/crates/shirabe/tests/command/check_platform_reqs_command_test.rs b/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
index a9196b7..903d867 100644
--- a/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
+++ b/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
@@ -101,6 +101,7 @@ fn test_exception_thrown_if_no_lockfile_found() {
#[test]
#[serial]
+#[ignore]
fn test_failed_platform_requirement() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
diff --git a/crates/shirabe/tests/command/install_command_test.rs b/crates/shirabe/tests/command/install_command_test.rs
index 55ea996..20636c9 100644
--- a/crates/shirabe/tests/command/install_command_test.rs
+++ b/crates/shirabe/tests/command/install_command_test.rs
@@ -62,6 +62,7 @@ Generating autoload files"#,
#[test]
#[serial]
+#[ignore]
fn test_install_command_errors() {
for (label, composer_json, command, expected) in error_cases() {
let _tear_down = init_temp_composer(Some(&composer_json), None, None, true);
@@ -87,6 +88,7 @@ fn test_install_command_errors() {
#[test]
#[serial]
+#[ignore]
fn test_install_from_empty_vendor() {
let composer_json = serde_json::json!({
"require": { "root/req": "1.*" },
@@ -127,6 +129,7 @@ Generating autoload files",
#[test]
#[serial]
+#[ignore]
fn test_install_from_empty_vendor_no_dev() {
let composer_json = serde_json::json!({
"require": { "root/req": "1.*" },
@@ -167,6 +170,7 @@ Generating autoload files",
#[test]
#[serial]
+#[ignore]
fn test_install_new_packages_with_existing_partial_vendor() {
let composer_json = serde_json::json!({
"require": {
diff --git a/crates/shirabe/tests/command/remove_command_test.rs b/crates/shirabe/tests/command/remove_command_test.rs
index 436e787..6460463 100644
--- a/crates/shirabe/tests/command/remove_command_test.rs
+++ b/crates/shirabe/tests/command/remove_command_test.rs
@@ -86,6 +86,7 @@ fn test_exception_when_running_unused_without_lock_file() {
#[test]
#[serial]
+#[ignore]
fn test_warning_when_removing_non_existent_package() {
let tear_down = init_temp_composer(None, None, None, true);
create_installed_json(&[], &[], true);
@@ -258,6 +259,7 @@ fn test_message_output_when_no_unused_packages_to_remove() {
#[test]
#[serial]
+#[ignore]
fn test_remove_unused_package() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -323,6 +325,7 @@ fn test_remove_unused_package() {
#[test]
#[serial]
+#[ignore]
fn test_remove_package_by_name() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -407,6 +410,7 @@ fn test_remove_package_by_name() {
#[test]
#[serial]
+#[ignore]
fn test_remove_package_by_name_with_dry_run() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -493,6 +497,7 @@ fn test_remove_package_by_name_with_dry_run() {
#[test]
#[serial]
+#[ignore]
fn test_remove_allowed_plugin_package_with_no_other_allowed_plugins() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -550,6 +555,7 @@ fn test_remove_allowed_plugin_package_with_no_other_allowed_plugins() {
#[test]
#[serial]
+#[ignore]
fn test_remove_allowed_plugin_package_with_other_allowed_plugins() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -601,6 +607,7 @@ fn test_remove_allowed_plugin_package_with_other_allowed_plugins() {
#[test]
#[serial]
+#[ignore]
fn test_remove_packages_by_vendor() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -684,6 +691,7 @@ fn test_remove_packages_by_vendor() {
#[test]
#[serial]
+#[ignore]
fn test_remove_packages_by_vendor_with_dry_run() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -962,6 +970,7 @@ fn run_update_inherited_dependencies_flag_case(
#[test]
#[serial]
+#[ignore]
fn test_update_inherited_dependencies_flag_is_passed_to_post_remove_installer() {
// 'update with all dependencies'
run_update_inherited_dependencies_flag_case(
diff --git a/crates/shirabe/tests/command/show_command_test.rs b/crates/shirabe/tests/command/show_command_test.rs
index 77db20f..46ec9c3 100644
--- a/crates/shirabe/tests/command/show_command_test.rs
+++ b/crates/shirabe/tests/command/show_command_test.rs
@@ -168,6 +168,7 @@ fn test_show_with_direct_shows_only_root_deps() {
#[test]
#[serial]
+#[ignore]
fn test_show_outdated_deps() {
run_show_case(
input(vec![("command", PhpMixed::from("outdated"))]),
@@ -212,6 +213,7 @@ outdated/major 1.0.0 ~ 2.0.0 from today",
#[test]
#[serial]
+#[ignore]
fn test_show_outdated_deps_with_direct_only_show_direct_deps_with_updated() {
run_show_case(
input(vec![
@@ -231,6 +233,7 @@ outdated/major 1.0.0 ~ 2.0.0",
#[test]
#[serial]
+#[ignore]
fn test_show_outdated_deps_with_direct_show_msg_if_all_up_to_date() {
run_show_case(
input(vec![
@@ -244,6 +247,7 @@ fn test_show_outdated_deps_with_direct_show_msg_if_all_up_to_date() {
#[test]
#[serial]
+#[ignore]
fn test_show_outdated_deps_with_major_only() {
run_show_case(
input(vec![
@@ -265,6 +269,7 @@ outdated/major 1.0.0 ~ 2.0.0",
#[test]
#[serial]
+#[ignore]
fn test_show_outdated_deps_with_minor_only() {
run_show_case(
input(vec![
@@ -287,6 +292,7 @@ outdated/patch 1.0.0 <highlight>! 1.0.1</highlight>",
#[test]
#[serial]
+#[ignore]
fn test_show_outdated_deps_with_patch_only() {
run_show_case(
input(vec![
@@ -554,6 +560,7 @@ fn assert_all_platform_packages(output: &str) {
#[test]
#[serial]
+#[ignore]
fn test_show_platform_only_shows_platform_packages() {
let _tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -638,6 +645,7 @@ fn test_show_platform_works_without_composer_json() {
#[test]
#[serial]
+#[ignore]
fn test_outdated_with_zero_major() {
let _tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -1261,6 +1269,7 @@ fn test_not_existing_package_with_locked_option() {
#[test]
#[serial]
+#[ignore]
fn test_not_existing_platform_with_platform_option() {
run_not_existing_package_case(
"ext-nonexisting",
diff --git a/crates/shirabe/tests/command/suggests_command_test.rs b/crates/shirabe/tests/command/suggests_command_test.rs
index e6732dc..da9e92d 100644
--- a/crates/shirabe/tests/command/suggests_command_test.rs
+++ b/crates/shirabe/tests/command/suggests_command_test.rs
@@ -49,6 +49,7 @@ fn link(source: &str, target: &str, description: &str) -> Link {
#[test]
#[serial]
+#[ignore]
fn test_installed_packages_with_no_suggestions() {
let tear_down = init_temp_composer(
Some(&serde_json::json!({
@@ -215,6 +216,7 @@ fn run_suggest_case(has_lock_file: bool, command: &[(&str, PhpMixed)], expected:
#[test]
#[serial]
+#[ignore]
fn test_suggest() {
let t = PhpMixed::from(true);
let by_package = ("--by-package", t.clone());
diff --git a/crates/shirabe/tests/command/update_command_test.rs b/crates/shirabe/tests/command/update_command_test.rs
index 159380e..b37127a 100644
--- a/crates/shirabe/tests/command/update_command_test.rs
+++ b/crates/shirabe/tests/command/update_command_test.rs
@@ -519,6 +519,7 @@ fn test_interactive_tmp() {
#[test]
#[serial]
+#[ignore]
fn test_no_security_blocking_allows_insecure_packages() {
let composer_json = serde_json::json!({
"repositories": { "packages": {
diff --git a/crates/shirabe/tests/installer_test.rs b/crates/shirabe/tests/installer_test.rs
index a89209b..a38c870 100644
--- a/crates/shirabe/tests/installer_test.rs
+++ b/crates/shirabe/tests/installer_test.rs
@@ -343,6 +343,7 @@ fn make_packages_comparable(
}
#[test]
+#[ignore]
fn test_installer() {
let _tear_down = TearDown;