From d2752e3ab145e0cd372f7a5446dd271b47c4c9b3 Mon Sep 17 00:00:00 2001 From: Elad Kaplan Date: Tue, 28 Jan 2025 16:01:55 +0200 Subject: [PATCH] skip same tests --- loco-new/tests/wizard/new.rs | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/loco-new/tests/wizard/new.rs b/loco-new/tests/wizard/new.rs index 528c201d1..1a05300a5 100644 --- a/loco-new/tests/wizard/new.rs +++ b/loco-new/tests/wizard/new.rs @@ -7,25 +7,24 @@ use loco::{ }; use std::{collections::HashMap, path::PathBuf, process::Output, sync::Arc}; -#[cfg(feature = "test-wizard")] -#[rstest::rstest] -fn test_all_combinations( - #[values(DBOption::None, DBOption::Sqlite)] db: DBOption, - #[values( - BackgroundOption::Async, - BackgroundOption::Queue, - BackgroundOption::Blocking, - BackgroundOption::None - )] - background: BackgroundOption, - #[values(AssetsOption::Serverside, AssetsOption::Clientside, AssetsOption::None)] - asset: AssetsOption, -) { - test_combination(db, background, asset, false); -} +// #[cfg(feature = "test-wizard")] +// #[rstest::rstest] +// fn test_all_combinations( +// #[values(DBOption::None, DBOption::Sqlite)] db: DBOption, +// #[values( +// BackgroundOption::Async, +// BackgroundOption::Queue, +// BackgroundOption::Blocking, +// BackgroundOption::None +// )] +// background: BackgroundOption, +// #[values(AssetsOption::Serverside, AssetsOption::Clientside, AssetsOption::None)] +// asset: AssetsOption, +// ) { +// test_combination(db, background, asset, false); +// } // when running locally set LOCO_DEV_MODE_PATH= -#[cfg(not(feature = "test-wizard"))] #[test] fn test_starter_combinations() { // lightweight service @@ -65,7 +64,6 @@ fn test_starter_combinations() { ); } -#[allow(clippy::too_many_lines)] fn test_combination( db: DBOption, background: BackgroundOption,