mod common;
use mecha10_cli::{Cli, CliContext, Commands};
#[test]
fn test_cli_context_creation() {
let ctx = CliContext::default();
assert!(ctx.working_dir.exists());
}
#[test]
fn test_lib_exports() {
let _cli_type: Option<Cli> = None;
let _commands_type: Option<Commands> = None;
let _ctx_type: Option<CliContext> = None;
}
#[test]
fn test_service_exports() {
use mecha10_cli::services::{ConfigService, RedisService};
let _redis_type: Option<RedisService> = None;
let _ = ConfigService::is_initialized_here();
}
#[test]
fn test_test_fixtures() {
let project = common::TestProject::new().unwrap();
assert!(project.root.exists());
project.create_file("test.txt", "content").unwrap();
assert!(project.file_exists("test.txt"));
}