restores Helder in all its glory
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Claude Storm.
|
||||
# Helder.
|
||||
|
||||
Claude Storm is the dark workbench for reviewing the code Claude Code writes: a native macOS rewrite (Swift, SwiftUI and AppKit) of the Electron app in `old-app/`, which was called Helder. That original stays the behavioural and visual reference; see [docs/architecture.md](docs/architecture.md).
|
||||
Helder is the dark workbench for reviewing the code Claude Code writes: a native macOS app in Swift, SwiftUI and AppKit. See [docs/index.md](docs/index.md) for the architecture, the design tokens and the behaviour spec.
|
||||
|
||||
## Build, test, run
|
||||
|
||||
@@ -8,10 +8,10 @@ Claude Storm is the dark workbench for reviewing the code Claude Code writes: a
|
||||
scripts/build.sh # debug build (--release for release)
|
||||
scripts/test.sh # all three test targets; e.g. --filter WorkspaceModel
|
||||
scripts/run.sh [project] # build and run; the optional folder opens in the first window
|
||||
scripts/bundle.sh # "build/Claude Storm.app", ad-hoc signed, with ripgrep inside (--install copies it to ~/Applications)
|
||||
scripts/bundle.sh # "build/Helder.app", ad-hoc signed, with ripgrep inside (--install copies it to ~/Applications)
|
||||
```
|
||||
|
||||
Always use the scripts: they select the toolchain this machine needs. Search uses ripgrep when it can find one (`Contents/Helpers/rg` in the bundle, or `$RG_BINARY`) and a slower Swift walk otherwise.
|
||||
Always use the scripts: they select the toolchain this machine needs. Search uses ripgrep when it can find one (`Contents/Helpers/rg` in the bundle, copied from `vendor/ripgrep/rg`, or `$RG_BINARY`) and a slower Swift walk otherwise.
|
||||
|
||||
## What it does
|
||||
|
||||
@@ -53,7 +53,7 @@ Closing a window, switching project or quitting (⌘Q) first asks about every un
|
||||
|
||||
## Testing
|
||||
|
||||
Three test targets mirror the three library targets: `Tests/ClaudeStormCoreTests`, `Tests/ClaudeStormServicesTests` and `Tests/ClaudeStormUITests`. Inside each target, the folders mirror `Sources/<Target>/` (a test for `Sources/ClaudeStormUI/State/EditorStore.swift` sits in `Tests/ClaudeStormUITests/State/`).
|
||||
Three test targets mirror the three library targets: `Tests/HelderCoreTests`, `Tests/HelderServicesTests` and `Tests/HelderUITests`. Inside each target, the folders mirror `Sources/<Target>/` (a test for `Sources/HelderUI/State/EditorStore.swift` sits in `Tests/HelderUITests/State/`).
|
||||
|
||||
The tests use Swift Testing. For a PHPUnit reader:
|
||||
|
||||
@@ -66,8 +66,8 @@ The tests use Swift Testing. For a PHPUnit reader:
|
||||
| `@dataProvider` | `@Test(arguments: [...]) func x(_ value: …)` |
|
||||
| `setUp()` | the suite's `init()`, or a helper that builds the fixture |
|
||||
|
||||
- **Fakes and harnesses** live in `Tests/ClaudeStormUITests/Support/`: one fake per service protocol in `Fakes/` (`FakeGit`, `FakeFiles`, `FakeSystem`, `FakeTerminal`, …), and `WorkspaceHarness`, which wires a whole window to those fakes. UI tests never touch the disk, git, the user's defaults or the log.
|
||||
- **Integration tests** in `ClaudeStormServicesTests` run the real `git` and file system. `TempGitRepo` creates a throwaway repository (`commit`, `write`, `run`); `TempDirectory` a throwaway folder.
|
||||
- **Fakes and harnesses** live in `Tests/HelderUITests/Support/`: one fake per service protocol in `Fakes/` (`FakeGit`, `FakeFiles`, `FakeSystem`, `FakeTerminal`, …), and `WorkspaceHarness`, which wires a whole window to those fakes. UI tests never touch the disk, git, the user's defaults or the log.
|
||||
- **Integration tests** in `HelderServicesTests` run the real `git` and file system. `TempGitRepo` creates a throwaway repository (`commit`, `write`, `run`); `TempDirectory` a throwaway folder.
|
||||
- **Waiting**: `await model.settle()` or `eventually { … }`, never a sleep.
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user