From a57b97285c3308fbdcc167ab3da9ae1dd78767b6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 23 Mar 2026 00:36:52 +0300 Subject: initial release terminal workspace manager for AI coding agents. single rust binary, runs inside your existing terminal. workspaces, tiled panes, intelligent agent state detection. https://herdr.dev --- tests/integration/specs/create_workspace.md | 12 ++++++++++++ tests/integration/specs/sidebar_collapse.md | 13 +++++++++++++ tests/integration/specs/split_and_navigate.md | 11 +++++++++++ tests/integration/specs/workspace_switching.md | 12 ++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 tests/integration/specs/create_workspace.md create mode 100644 tests/integration/specs/sidebar_collapse.md create mode 100644 tests/integration/specs/split_and_navigate.md create mode 100644 tests/integration/specs/workspace_switching.md (limited to 'tests/integration/specs') diff --git a/tests/integration/specs/create_workspace.md b/tests/integration/specs/create_workspace.md new file mode 100644 index 00000000..0f588c69 --- /dev/null +++ b/tests/integration/specs/create_workspace.md @@ -0,0 +1,12 @@ +# Test: Create workspace + +## Steps + +1. Read the screen to verify herdr started in empty state (should show "No active workspace" or "Press n to create one") +2. Press `n` to enter create mode +3. Type `test-workspace` +4. Press Enter to create +5. Read the screen and verify: + - The sidebar shows `1` followed by `test-workspace` + - A shell prompt is visible in the main pane area + - The active marker `▸` is next to the workspace diff --git a/tests/integration/specs/sidebar_collapse.md b/tests/integration/specs/sidebar_collapse.md new file mode 100644 index 00000000..b5d42c25 --- /dev/null +++ b/tests/integration/specs/sidebar_collapse.md @@ -0,0 +1,13 @@ +# Test: Sidebar collapse and expand + +## Steps + +1. Press `n` to create a workspace named `test` +2. Read the screen and verify the expanded sidebar shows the full workspace name `test` +3. Press prefix (ctrl+s), then `b` to collapse the sidebar +4. Read the screen and verify: + - The sidebar is now narrow (just numbers and state dots, no workspace name visible) + - The `»` expand icon is visible at the bottom of the sidebar + - The terminal pane takes up more horizontal space +5. Press prefix (ctrl+s), then `b` again to expand +6. Verify the full workspace name `test` is visible again in the sidebar diff --git a/tests/integration/specs/split_and_navigate.md b/tests/integration/specs/split_and_navigate.md new file mode 100644 index 00000000..cb75d72d --- /dev/null +++ b/tests/integration/specs/split_and_navigate.md @@ -0,0 +1,11 @@ +# Test: Split pane and navigate + +## Steps + +1. Press `n` to create a workspace named `dev` +2. Press prefix (ctrl+s), then `v` to split vertically +3. Read the screen and verify two panes are visible side by side, each with a shell prompt +4. Verify the sidebar shows a pane count indicator like `[2]` +5. Press prefix (ctrl+s), then `h` to navigate to the left pane +6. Press prefix (ctrl+s), then `l` to navigate back to the right pane +7. Verify the thick border (focused indicator) moved between panes diff --git a/tests/integration/specs/workspace_switching.md b/tests/integration/specs/workspace_switching.md new file mode 100644 index 00000000..0711c575 --- /dev/null +++ b/tests/integration/specs/workspace_switching.md @@ -0,0 +1,12 @@ +# Test: Workspace switching with prefix+N + +## Steps + +1. Press `n` to create a workspace named `first` +2. Press prefix (ctrl+s), then `n` to create a second workspace named `second` +3. Read the screen and verify the sidebar shows two workspaces numbered 1 and 2 +4. Verify `second` is the active workspace (has the `▸` marker) +5. Press prefix (ctrl+s), then `1` to switch to the first workspace +6. Read the screen and verify `first` is now active (has the `▸` marker) +7. Press prefix (ctrl+s), then `2` to switch back to `second` +8. Verify `second` is active again -- cgit v1.2.3