Crate cli_testing_specialist

Crate cli_testing_specialist 

Source
Expand description

CLI Testing Specialist - Comprehensive testing framework for CLI tools

This library provides automated analysis, test generation, and security validation for command-line interface (CLI) tools.

§Features

  • Automatic CLI analysis and option detection
  • Comprehensive BATS test suite generation
  • Security vulnerability testing
  • Multi-format report generation (Markdown, JSON, HTML, JUnit)
  • Parallel processing for large CLI tools

§Usage

use cli_testing_specialist::cli::Cli;
use clap::Parser;

let cli = Cli::parse();
// Process commands...

Re-exports§

pub use error::CliTestError;
pub use error::Result;
pub use types::AnalysisMetadata;
pub use types::Assertion;
pub use types::CliAnalysis;
pub use types::CliOption;
pub use types::OptionType;
pub use types::Subcommand;
pub use types::TestCase;
pub use types::TestCategory;
pub use types::TestReport;
pub use types::TestResult;
pub use types::TestStatus;
pub use types::TestSuite;

Modules§

analyzer
Analyzer Module
cli
config
Configuration Module
error
generator
Generator Module
reporter
Reporter Module
runner
Runner Module
types
utils