test: add integration tests for all endpoints and CLI detection

This commit is contained in:
NetworkCats
2026-03-02 20:12:47 +08:00
parent 61357fd5fe
commit 21db94891c
5 changed files with 295 additions and 9 deletions
+8
View File
@@ -0,0 +1,8 @@
pub mod cli_detect;
pub mod config;
pub mod db;
pub mod error;
pub mod handlers;
pub mod models;
pub mod routes;
pub mod updater;
+2 -9
View File
@@ -1,17 +1,10 @@
mod cli_detect;
mod config;
mod db;
mod error;
mod handlers;
mod models;
mod routes;
mod updater;
use std::path::PathBuf;
use tracing::error;
use tracing_subscriber::EnvFilter;
use rustyip::{config, db, handlers, routes, updater};
#[tokio::main]
async fn main() {
tracing_subscriber::fmt()