cargo-test-filter 0.1.0

A cargo subcommand for intelligent test filtering and compilation
Documentation
pub mod cli;
pub mod discovery;
pub mod filter;
pub mod runner;

pub use cli::{CargoCli, CargoSubcommand, TestFilterArgs};
pub use discovery::{TestDiscovery, TestFunction, TestTarget, TestType};
pub use filter::TestFilter;
pub use runner::TestRunner;

#[cfg(test)]
mod tests {
    // @tag: unit
    // @tag: fast
    #[test]
    fn test_basic_math() {
        assert_eq!(2 + 2, 4);
    }

    // @tag: unit
    #[test]
    fn test_string_operations() {
        let s = "hello".to_string();
        assert_eq!(s.len(), 5);
    }

    // @tag: unit
    // @tag: slow
    #[test]
    fn test_complex_computation() {
        let result = (1..100).sum::<i32>();
        assert_eq!(result, 4950);
    }
}