Skip to main content

Module coverage

Module coverage 

Source
Expand description

IPC coverage tracking — measures which Tauri commands are exercised by tests.

Compares the set of registered commands (from the registry) against the set of IPC calls observed during a test session. Reports tested vs. untested commands, call counts, and coverage percentage.

Structs§

CommandCalls
A command name with its invocation count.
CoverageReport
IPC coverage report showing which commands were exercised.

Functions§

assert_coverage_above
Asserts that IPC coverage meets the given threshold, panicking with a detailed report if it does not.
coverage_report
Builds a coverage report by comparing the command registry against IPC call logs.