Skip to content

Commit

Permalink
skip same tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplanelad committed Jan 28, 2025
1 parent 0819811 commit d2752e3
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions loco-new/tests/wizard/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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=<to local loco path>
#[cfg(not(feature = "test-wizard"))]
#[test]
fn test_starter_combinations() {
// lightweight service
Expand Down Expand Up @@ -65,7 +64,6 @@ fn test_starter_combinations() {
);
}

#[allow(clippy::too_many_lines)]
fn test_combination(
db: DBOption,
background: BackgroundOption,
Expand Down

0 comments on commit d2752e3

Please sign in to comment.