-
Notifications
You must be signed in to change notification settings - Fork 0
Manual Test: Runtime :set Command (#54) #72
Copy link
Copy link
Open
Labels
testingManual testingManual testing
Description
Feature Overview
Vim-style :set command for changing configuration options at runtime.
Prerequisites
- Slacko running
Test Cases
TC-1: List all options
- Open the command bar and run
:set(no arguments) - Expected: All available options with current values are displayed
TC-2: Toggle a boolean option
- Run
:set mouse - Expected: Mouse option is toggled, feedback message displayed
- Run
:set mouseagain - Expected: Value reverts to original
TC-3: Explicit value assignment with =
- Run
:set timestamps=on - Expected: Timestamps become visible on messages
- Run
:set timestamps=off - Expected: Timestamps are hidden
TC-4: Space-separated value assignment
- Run
:set markdown off - Expected: Markdown rendering is disabled
TC-5: Query current value
- Run
:set mouse? - Expected: Current value of
mouseis displayed
TC-6: Verify each option takes effect
Toggle each option and verify the visual effect:
-
mouse— Enable/disable mouse support -
timestamps— Show/hide message timestamps -
markdown— Enable/disable markdown rendering -
typing— Enable/disable typing indicators -
presence— Enable/disable presence display -
date_separator— Enable/disable date separator lines
TC-7: Tab completion
- Type
set min the command bar and press Tab - Expected: Autocomplete candidates appear (e.g.
mouse,markdown) - Select a candidate
- Expected: Input is completed
TC-8: Invalid option name
- Run
:set nonexistent - Expected: Error message with list of available options
TC-9: Invalid boolean value
- Run
:set mouse=invalid - Expected: Error message listing accepted values (on/off, true/false, yes/no)
TC-10: Command history
- Run
:set mouse - Reopen the command bar and press Up arrow
- Expected: Previous command
set mouseis restored
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testingManual testingManual testing