cli_testing_specialist/lib.rs
1//! CLI Testing Specialist - Comprehensive testing framework for CLI tools
2//!
3//! This library provides automated analysis, test generation, and security
4//! validation for command-line interface (CLI) tools.
5//!
6//! ## Features
7//!
8//! - Automatic CLI analysis and option detection
9//! - Comprehensive BATS test suite generation
10//! - Security vulnerability testing
11//! - Multi-format report generation (Markdown, JSON, HTML, JUnit)
12//! - Parallel processing for large CLI tools
13//!
14//! ## Usage
15//!
16//! ```no_run
17//! use cli_testing_specialist::cli::Cli;
18//! use clap::Parser;
19//!
20//! let cli = Cli::parse();
21//! // Process commands...
22//! ```
23
24// Public modules
25pub mod analyzer;
26pub mod cli;
27pub mod config;
28pub mod error;
29pub mod generator;
30pub mod reporter;
31pub mod runner;
32pub mod types;
33pub mod utils;
34
35// Re-export commonly used items
36pub use error::{CliTestError, Result};
37pub use types::{
38 AnalysisMetadata, Assertion, CliAnalysis, CliOption, OptionType, Subcommand, TestCase,
39 TestCategory, TestReport, TestResult, TestStatus, TestSuite,
40};