Skip to main content

Crate probador

Crate probador 

Source
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§

AnimationArgs
Arguments for the animation command
AnimationCheckArgs
Arguments for animation check
AudioArgs
Arguments for the audio command
AudioCheckArgs
Arguments for audio check
AvSyncArgs
Arguments for the av-sync command
AvSyncCheckArgs
Arguments for av-sync check
AvSyncReportArgs
Arguments for av-sync report
BuildArgs
Arguments for the build command
Cli
Probador: CLI for Probar - Rust-native testing framework for WASM games
CliConfig
CLI configuration
ComplyArgs
Arguments for the comply command
ComplyCheckArgs
Arguments for comply check subcommand
ComplyDiffArgs
Arguments for comply diff subcommand
ComplyEnforceArgs
Arguments for comply enforce subcommand
ComplyMigrateArgs
Arguments for comply migrate subcommand
ComplyReportArgs
Arguments for comply report subcommand
ConfigArgs
Arguments for the config command
CoverageArgs
Arguments for the coverage command
InitArgs
Arguments for the init command
PlaybookArgs
Arguments for the playbook command
ProgressReporter
Progress reporter for test execution
RecordArgs
Arguments for the record command
ReportArgs
Arguments for the report command
ScoreArgs
Arguments for the score subcommand
ServeArgs
Arguments for the serve command
StressArgs
Arguments for the stress command
TestArgs
Arguments for the test command
TestRunner
Test runner for executing Probar tests
TreeArgs
Arguments for the tree subcommand
VideoArgs
Arguments for the video command
VideoCheckArgs
Arguments for video check
VizArgs
Arguments for the viz subcommand
WatchArgs
Arguments for the watch command

Enums§

AnimationSubcommand
Animation subcommands
AudioSubcommand
Audio subcommands
AvSyncOutputFormat
Output format for av-sync commands
AvSyncSubcommand
AV sync subcommands
CliError
Errors that can occur in the CLI
CliOutputFormat
Output format for test results
ColorChoice
Color output choice
Commands
CLI subcommands
ComplyOutputFormat
Output format for comply command
ComplyReportFormat
Output format for comply report
ComplySubcommand
Comply subcommands (per PROBAR-SPEC-011 Section 3.1)
DiagramFormat
Diagram export format
OutputFormat
Output format for check commands
PaletteArg
Color palette argument
PlaybookOutputFormat
Output format for playbook results
RecordFormat
Recording output format
ReportFormat
Report output format
ScoreOutputFormat
Output format for score command
ServeSubcommand
Serve subcommands
Verbosity
CLI verbosity level
VideoSubcommand
Video subcommands
WasmTarget
WASM build target

Type Aliases§

CliResult
Result type for CLI operations