Skip to main content

Module wasm_testing

Module wasm_testing 

Source
Expand description

WASM Testing Features Module

Implements the top 5 WASM/TUI testing features from the spec (Section E):

  1. Deterministic Replay - Record and replay test sessions
  2. Memory Profiling - Track WASM linear memory usage
  3. State Machine Validation - Playbook integration
  4. Cross-Browser Testing - Multi-browser matrix
  5. Performance Regression - Baseline tracking

Structs§

BrowserMatrix
Cross-browser test configuration
BrowserTestResult
Cross-browser test result
KeyModifiers
Keyboard modifier keys
MemoryGrowthEvent
Memory growth event
MemoryProfile
Memory profile for a WASM module
MemorySnapshot
Memory profile snapshot
PerformanceBaseline
Performance baseline
PerformanceComparison
Performance comparison result
PerformanceMetric
Performance metric
Recording
A recorded test session
RecordingMetadata
Recording metadata
Viewport
Viewport dimensions

Enums§

Browser
Supported browser engines
ComparisonStatus
Comparison status
RecordedEvent
A recorded event for deterministic replay

Functions§

compare_performance
Compare current metrics against baseline
render_performance_report
Render performance comparison as text