From 96cc5257de09682df345e768dc2a91303f9b36c9 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Thu, 3 Nov 2022 21:34:04 +0100 Subject: added update beginnings; init of tests --- tests/db/mod.rs | 5 +++++ tests/db_integration.rs | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/db/mod.rs create mode 100644 tests/db_integration.rs (limited to 'tests') diff --git a/tests/db/mod.rs b/tests/db/mod.rs new file mode 100644 index 0000000..b5aed75 --- /dev/null +++ b/tests/db/mod.rs @@ -0,0 +1,5 @@ +use std::fs::File; + +pub fn setup() { + File::create("./setuptests").unwrap(); +} diff --git a/tests/db_integration.rs b/tests/db_integration.rs new file mode 100644 index 0000000..82cfe0f --- /dev/null +++ b/tests/db_integration.rs @@ -0,0 +1,7 @@ +mod db; + +#[test] +fn test_add() { + db::setup(); + assert!(true); +} -- cgit v1.2.3