From b698a75fe93eb5c979a170b2ad6bb4ba4e9887d7 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Mon, 11 Sep 2023 17:20:49 +0200 Subject: [PATCH] serial testing --- tests/src/engine_generator.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/src/engine_generator.rs b/tests/src/engine_generator.rs index 1e68ed5d..92300202 100644 --- a/tests/src/engine_generator.rs +++ b/tests/src/engine_generator.rs @@ -4,6 +4,7 @@ use std::{ }; use chrono::NaiveTime; +use serial_test::serial; use simplelog::*; use ffplayout_lib::utils::{ @@ -13,6 +14,7 @@ use ffplayout_lib::utils::{ }; #[test] +#[serial] fn test_random_list() { let clip_list = vec![ Media::new(0, "./assets/with_audio.mp4", true), // 30 seconds @@ -29,6 +31,7 @@ fn test_random_list() { } #[test] +#[serial] fn test_ordered_list() { let clip_list = vec![ Media::new(0, "./assets/with_audio.mp4", true), // 30 seconds @@ -51,6 +54,7 @@ fn test_ordered_list() { } #[test] +#[serial] fn test_filler_list() { let mut config = PlayoutConfig::new(None); config.storage.filler = "assets/".into(); @@ -61,6 +65,7 @@ fn test_filler_list() { } #[test] +#[serial] fn test_generate_playlist_from_folder() { let mut config = PlayoutConfig::new(None); config.general.generate = Some(vec!["2023-09-11".to_string()]); @@ -94,6 +99,7 @@ fn test_generate_playlist_from_folder() { } #[test] +#[serial] fn test_generate_playlist_from_template() { let mut config = PlayoutConfig::new(None); config.general.generate = Some(vec!["2023-09-12".to_string()]);