diff --git a/tests/test_cli.py b/tests/test_cli.py index 04e5fd3f..2a1d7d8a 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -23,3 +23,16 @@ def test_main_succeeds(runner: CliRunner) -> None: result = runner.invoke(cli) assert result.exit_code == 0 + + +def test_registered_plugins(runner: CliRunner) -> None: + """ + Assert that all registered plugins are available. + """ + from lunchable._cli import cli + + builtin_plugins = ["primelunch", "splitlunch", "pushlunch"] + + for plugin in builtin_plugins: + result = runner.invoke(cli, ["plugins", plugin, "--help"]) + assert result.exit_code == 0