Module truster

Module truster 

Source
Expand description

Rust tests runner plugin. Rust test runner helpers integrating with Nvim.

Exposes a dictionary enabling cursor-aware test execution (run_test) by parsing the current buffer with Treeโ€‘sitter to locate the nearest test function and spawning it inside a WezTerm pane. All Nvim API failures are reported via [ytil_noxi::notify::error].

Enumsยง

TargetTerminal ๐Ÿ”’

Functionsยง

dict
[Dictionary] of Rust tests utilities.
get_test_runner_for_path ๐Ÿ”’
Get the application to use to run the tests based on the presence of a Makefile.toml in the root of a git repository where the supplied Path resides.
run_test ๐Ÿ”’
run_test_in_nvim_term ๐Ÿ”’
run_test_in_wezterm ๐Ÿ”’