Raxol.Plugins.Testing.Assertions (Raxol v2.0.1)

View Source

Assertion helpers for plugin testing

Summary

Functions

Asserts the terminal buffer contains specific content

Asserts that a panel is visible for a plugin

Asserts that a plugin is loaded in the terminal

Asserts status line contains specific content

Functions

assert_buffer_contains(terminal, expected_content)

Asserts the terminal buffer contains specific content

assert_panel_visible(terminal, plugin_name)

Asserts that a panel is visible for a plugin

assert_plugin_loaded(terminal, plugin_name)

Asserts that a plugin is loaded in the terminal

assert_status_line_contains(terminal, expected_content)

Asserts status line contains specific content