Expand description
Probar CLI Library (Feature 5)
Command-line interface for the Probar testing framework.
§EXTREME TDD: Tests written FIRST per spec
Re-exports§
pub use debug::create_tracer;pub use debug::DebugCategory;pub use debug::DebugTracer;pub use debug::DebugVerbosity;pub use debug::ResolutionRule;pub use dev_server::get_mime_type;pub use dev_server::DevServer;pub use dev_server::DevServerConfig;pub use dev_server::DevServerConfigBuilder;pub use dev_server::FileChangeEvent;pub use dev_server::FileWatcher;pub use dev_server::FileWatcherBuilder;pub use dev_server::HotReloadMessage;pub use dev_server::ImportRef;pub use dev_server::ImportType;pub use dev_server::ImportValidationError;pub use dev_server::ModuleValidationResult;pub use dev_server::ModuleValidator;pub use lint::render_lint_json;pub use lint::render_lint_report;pub use lint::ContentLinter;pub use lint::LintReport;pub use lint::LintResult;pub use lint::LintSeverity;pub use load_testing::render_load_test_json;pub use load_testing::render_load_test_report;pub use load_testing::AssertionResult as LoadAssertionResult;pub use load_testing::EndpointStats;pub use load_testing::HttpMethod;pub use load_testing::LatencyHistogram;pub use load_testing::LoadTestAssertion;pub use load_testing::LoadTestConfig;pub use load_testing::LoadTestError;pub use load_testing::LoadTestErrorKind;pub use load_testing::LoadTestOutputFormat;pub use load_testing::LoadTestRequest;pub use load_testing::LoadTestResult;pub use load_testing::LoadTestScenario;pub use load_testing::LoadTestStage;pub use load_testing::ResourceUsage;pub use load_testing::UserConfig;pub use score::CategoryScore;pub use score::CategoryStatus;pub use score::CriterionResult;pub use score::Effort;pub use score::Grade;pub use score::ProjectScore;pub use score::Recommendation;pub use score::ScoreCalculator;pub use tree::build_tree;pub use tree::display_tree;pub use tree::render_tree;pub use tree::FileNode;pub use tree::TreeConfig;pub use wasm_testing::compare_performance;pub use wasm_testing::render_performance_report;pub use wasm_testing::Browser;pub use wasm_testing::BrowserMatrix;pub use wasm_testing::BrowserTestResult;pub use wasm_testing::ComparisonStatus;pub use wasm_testing::KeyModifiers;pub use wasm_testing::MemoryGrowthEvent;pub use wasm_testing::MemoryProfile;pub use wasm_testing::MemorySnapshot;pub use wasm_testing::PerformanceBaseline;pub use wasm_testing::PerformanceComparison;pub use wasm_testing::PerformanceMetric;pub use wasm_testing::RecordedEvent;pub use wasm_testing::Recording;pub use wasm_testing::RecordingMetadata;pub use wasm_testing::Viewport;pub use visualization::render_comparison;pub use visualization::render_dashboard;pub use visualization::ComparisonVerdict;pub use visualization::DashboardState;pub use visualization::DataPoint;pub use visualization::EndpointMetrics;pub use visualization::ExportFormat;pub use visualization::MetricsStream;pub use visualization::ReportComparison;pub use visualization::ReportViewerConfig;pub use visualization::StageInfo;pub use visualization::StreamingHistogram;pub use visualization::TimeSeries;pub use statistics::render_statistical_json;pub use statistics::render_statistical_report;pub use statistics::ApdexCalculator;pub use statistics::ApdexRating;pub use statistics::KneeDetector;pub use statistics::LatencySample;pub use statistics::QuantileRegression;pub use statistics::StatisticalAnalysis;pub use statistics::TailAttribution;pub use statistics::VarianceComponent;pub use statistics::VarianceTree;pub use tracing::render_trace_json;pub use tracing::render_trace_report;pub use tracing::Flamegraph;pub use tracing::FlamegraphNode;pub use tracing::OptimizationSuggestion;pub use tracing::SourceHotspot;pub use tracing::SourceLocation;pub use tracing::SyscallStats;pub use tracing::TraceAnalysis;pub use tracing::TraceCategory;pub use tracing::TraceConfig;pub use tracing::TraceSpan;pub use tracing::WasmEvent;pub use tracing::WasmEventType;pub use simulation::render_chaos_report;pub use simulation::render_monte_carlo_json;pub use simulation::render_monte_carlo_report;pub use simulation::ChaosObservation;pub use simulation::ChaosResult;pub use simulation::Distribution;pub use simulation::FailureInjection;pub use simulation::ImpactLevel;pub use simulation::InjectionType;pub use simulation::LatencyDistribution;pub use simulation::MonteCarloResult;pub use simulation::ObservationSeverity;pub use simulation::ParameterVariation;pub use simulation::RiskLevel;pub use simulation::SensitivityFactor;pub use simulation::SimulationConfig;pub use simulation::SimulationMode;pub use simulation::SimulationOutput;pub use simulation::SlaProbability;pub use stress::render_stress_json;pub use stress::render_stress_report;pub use stress::LatencyStats;pub use stress::MemoryStats;pub use stress::StressConfig;pub use stress::StressError;pub use stress::StressErrorKind;pub use stress::StressMode;pub use stress::StressResult;pub use stress::StressRunner;
Modules§
- debug
- Debug Mode Implementation
- dev_
server - WASM Development Server
- generate
- Zero-Artifact Code Generation (PROBAR-SPEC-009-P7)
- handlers
- Command handlers - extracted from main.rs for testability
- lint
- Content Linting Module
- load_
testing - Load Testing Module
- score
- Project Testing Score
- simulation
- Simulation Playback Module (PROBAR-SPEC-006 Section K)
- statistics
- Statistical Analysis Module (PROBAR-SPEC-006 Section I)
- stress
- Browser/WASM Stress Testing Module (Section H: Points 116-125)
- tracing
- Deep Tracing Module (PROBAR-SPEC-006 Section J)
- tree
- File Tree Visualization
- visualization
- Enhanced TUI Visualization Module (PROBAR-SPEC-006 Section H)
- wasm_
testing - WASM Testing Features Module
Structs§
- Animation
Args - Arguments for the animation command
- Animation
Check Args - Arguments for animation check
- Audio
Args - Arguments for the audio command
- Audio
Check Args - Arguments for audio check
- AvSync
Args - Arguments for the av-sync command
- AvSync
Check Args - Arguments for av-sync check
- AvSync
Report Args - Arguments for av-sync report
- Build
Args - Arguments for the build command
- Cli
- Probador: CLI for Probar - Rust-native testing framework for WASM games
- CliConfig
- CLI configuration
- Comply
Args - Arguments for the comply command
- Comply
Check Args - Arguments for comply check subcommand
- Comply
Diff Args - Arguments for comply diff subcommand
- Comply
Enforce Args - Arguments for comply enforce subcommand
- Comply
Migrate Args - Arguments for comply migrate subcommand
- Comply
Report Args - Arguments for comply report subcommand
- Config
Args - Arguments for the config command
- Coverage
Args - Arguments for the coverage command
- Init
Args - Arguments for the init command
- Playbook
Args - Arguments for the playbook command
- Progress
Reporter - Progress reporter for test execution
- Record
Args - Arguments for the record command
- Report
Args - Arguments for the report command
- Score
Args - Arguments for the score subcommand
- Serve
Args - Arguments for the serve command
- Stress
Args - Arguments for the stress command
- Test
Args - Arguments for the test command
- Test
Runner - Test runner for executing Probar tests
- Tree
Args - Arguments for the tree subcommand
- Video
Args - Arguments for the video command
- Video
Check Args - Arguments for video check
- VizArgs
- Arguments for the viz subcommand
- Watch
Args - Arguments for the watch command
Enums§
- Animation
Subcommand - Animation subcommands
- Audio
Subcommand - Audio subcommands
- AvSync
Output Format - Output format for av-sync commands
- AvSync
Subcommand - AV sync subcommands
- CliError
- Errors that can occur in the CLI
- CliOutput
Format - Output format for test results
- Color
Choice - Color output choice
- Commands
- CLI subcommands
- Comply
Output Format - Output format for comply command
- Comply
Report Format - Output format for comply report
- Comply
Subcommand - Comply subcommands (per PROBAR-SPEC-011 Section 3.1)
- Diagram
Format - Diagram export format
- Output
Format - Output format for check commands
- Palette
Arg - Color palette argument
- Playbook
Output Format - Output format for playbook results
- Record
Format - Recording output format
- Report
Format - Report output format
- Score
Output Format - Output format for score command
- Serve
Subcommand - Serve subcommands
- Verbosity
- CLI verbosity level
- Video
Subcommand - Video subcommands
- Wasm
Target - WASM build target
Type Aliases§
- CliResult
- Result type for CLI operations