Move 17 library crates into crates/, CLI binary into bin/fxt, consolidate 10 test crates into testing/, split config crate from deployment config files. Root directory reduced from 38+ to ~17 directories. All Cargo.toml paths and build.rs proto refs updated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
734 B
Rust
29 lines
734 B
Rust
//! Unit test suite for Foxhunt trading system
|
|
//!
|
|
//! This crate contains comprehensive unit tests for all core components
|
|
//! of the Foxhunt high-frequency trading system.
|
|
|
|
#![allow(dead_code)]
|
|
|
|
pub mod types;
|
|
// Note: other modules will be added as they are implemented
|
|
// pub mod financial_calculations;
|
|
// pub mod integration_basics;
|
|
|
|
#[cfg(test)]
|
|
mod test_utils {
|
|
use std::sync::Once;
|
|
use tracing_subscriber;
|
|
|
|
static INIT: Once = Once::new();
|
|
|
|
/// Initialize test logging once per test run
|
|
pub fn init_test_logging() {
|
|
INIT.call_once(|| {
|
|
tracing_subscriber::fmt()
|
|
.with_env_filter("debug")
|
|
.with_test_writer()
|
|
.init();
|
|
});
|
|
}
|
|
} |