docs(readme): refresh test count 136 -> 245
This commit is contained in:
@@ -11,7 +11,7 @@ Kon is a local-first, cognitive-load-aware dictation and task-capture desktop ap
|
|||||||
**Pre-alpha.** Actively dogfooded on Linux (KDE Plasma 6 on Wayland). macOS and Windows targets are in scope and exercised by CI, but not yet beta-ready. One primary user; open source-intent with licence TBD before public beta.
|
**Pre-alpha.** Actively dogfooded on Linux (KDE Plasma 6 on Wayland). macOS and Windows targets are in scope and exercised by CI, but not yet beta-ready. One primary user; open source-intent with licence TBD before public beta.
|
||||||
|
|
||||||
- Current `main`: see commit log
|
- Current `main`: see commit log
|
||||||
- 136 automated lib tests across 10 crates, all passing
|
- 245 automated lib tests across 10 crates, all passing
|
||||||
- Cross-platform CI (Linux / macOS / Windows) via GitHub Actions
|
- Cross-platform CI (Linux / macOS / Windows) via GitHub Actions
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -288,7 +288,7 @@ CI also builds release installers on tag push (see `.github/workflows/build.yml`
|
|||||||
### Testing
|
### Testing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo test --workspace --lib # 136 tests across 10 crates
|
cargo test --workspace --lib # 245 tests across 10 crates
|
||||||
npm run check # svelte-check (type-checks .svelte files)
|
npm run check # svelte-check (type-checks .svelte files)
|
||||||
cargo check --workspace --all-targets
|
cargo check --workspace --all-targets
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -277,11 +277,7 @@ fn device_display_name(device: &cpal::Device) -> Option<String> {
|
|||||||
/// `pipewire` / `default` → `None`
|
/// `pipewire` / `default` → `None`
|
||||||
fn extract_card_id(name: &str) -> Option<&str> {
|
fn extract_card_id(name: &str) -> Option<&str> {
|
||||||
let rest = name.split("CARD=").nth(1)?;
|
let rest = name.split("CARD=").nth(1)?;
|
||||||
Some(
|
Some(rest.split([',', ';']).next().unwrap_or(rest))
|
||||||
rest.split([',', ';'])
|
|
||||||
.next()
|
|
||||||
.unwrap_or(rest),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Read `/proc/asound/cards` and return a map from ALSA card short name
|
/// Read `/proc/asound/cards` and return a map from ALSA card short name
|
||||||
|
|||||||
Reference in New Issue
Block a user