expand ClideTestApp with IPC, extension, and theme tests

Six improvements to the testmode harness:

1. Shell passthrough tests use the resolved shell instead of
   hardcoded /bin/zsh.
2. Exit code reflects test results (non-zero on any failure).
3. JSON summary line for machine-readable parsing.
4. IPC round-trip smoke (ping, version, unknown-cmd, encode/decode).
5. Extension lifecycle smoke (register + activate files, diff,
   git, terminal; theme loading for all four bundled themes).
6. Test categories via CLIDE_TESTMODE dart-define (toolchain, ipc,
   extensions, all). Makefile exposes TESTMODE_CATEGORY variable.

Also switches main.dart from bool.fromEnvironment to
String.fromEnvironment so category values other than "true" work.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-04-26 13:45:43 +02:00
co-authored by Claude
parent 7da96b7ef3
commit 9e340197d7
5 changed files with 228 additions and 39 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"exported_at": "2026-04-26T11:34:37Z",
"exported_at": "2026-04-26T11:45:43Z",
"decisions": [
{
"id": "D-1",