aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TESTING.md33
-rw-r--r--Zig.novaextension/Scripts/main.js5
-rw-r--r--Zig.novaextension/extension.json7
-rw-r--r--examples/test-suite/.nova/Tasks/Zig Test (math).json11
-rw-r--r--examples/test-suite/.nova/Tasks/Zig Test.json (renamed from examples/test-suite/.nova/Tasks/Zig Test (all).json)0
5 files changed, 12 insertions, 44 deletions
diff --git a/TESTING.md b/TESTING.md
index 7178006..c3e262f 100644
--- a/TESTING.md
+++ b/TESTING.md
@@ -184,18 +184,7 @@ Open each file and verify highlighting is applied:
---
-## T14 — Zig Test: filtered
-
-**Project:** `examples/test-suite`, **Zig Test (math)** task (Test Filter = `math`)
-
-| Step | Expected |
-|---|---|
-| Press ▶ | Only math tests run; strings tests are skipped |
-| Change the filter to a string that matches no test name (e.g. `zzz`) | Task exits 0 but reports 0 tests run |
-
----
-
-## T15 — Zig Test: inline error annotations
+## T14 — Zig Test: inline error annotations
**Project:** `examples/test-suite`
@@ -208,7 +197,7 @@ Open each file and verify highlighting is applied:
---
-## T16 — Zig Watch
+## T15 — Zig Watch
**Project:** `examples/multi-step`, pre-configured **Zig Watch** task
@@ -222,7 +211,7 @@ Open each file and verify highlighting is applied:
---
-## T17 — Zig Debug: auto-detection
+## T16 — Zig Debug: auto-detection
**Project:** `examples/multi-step` — create a **Zig Debug** task with **Program** blank
@@ -234,7 +223,7 @@ Open each file and verify highlighting is applied:
---
-## T18 — Zig Debug: breakpoints
+## T17 — Zig Debug: breakpoints
**Project:** `examples/multi-step` — **Zig Debug** task, **Optimize** = Debug
@@ -247,7 +236,7 @@ Open each file and verify highlighting is applied:
---
-## T19 — Zig Debug: stop on entry
+## T18 — Zig Debug: stop on entry
**Project:** `examples/multi-step` — **Zig Debug** task
@@ -258,7 +247,7 @@ Open each file and verify highlighting is applied:
---
-## T20 — Clean: safety guards
+## T19 — Clean: safety guards
Create a **Zig Package** task in any project and test each guard:
@@ -271,7 +260,7 @@ Create a **Zig Package** task in any project and test each guard:
---
-## T21 — Clean: zig build uninstall
+## T20 — Clean: zig build uninstall
**Project:** a project whose `build.zig` registers an `uninstall` step (add one temporarily if needed)
@@ -282,7 +271,7 @@ Create a **Zig Package** task in any project and test each guard:
---
-## T22 — Monorepo: sub-package working directory
+## T21 — Monorepo: sub-package working directory
**Project:** `examples/monorepo` (open workspace root)
@@ -294,7 +283,7 @@ Create a **Zig Package** task in any project and test each guard:
---
-## T23 — Inline compiler errors
+## T22 — Inline compiler errors
**Project:** `examples/snippets/error-example.zig` via a **Zig Package** or **Current Zig File** task
@@ -306,7 +295,7 @@ Create a **Zig Package** task in any project and test each guard:
---
-## T24 — Settings: custom executable paths
+## T23 — Settings: custom executable paths
**Scope:** Nova Preferences → Extensions → Zig
@@ -318,7 +307,7 @@ Create a **Zig Package** task in any project and test each guard:
---
-## T25 — Settings: workspace overrides global
+## T24 — Settings: workspace overrides global
**Project:** any workspace
diff --git a/Zig.novaextension/Scripts/main.js b/Zig.novaextension/Scripts/main.js
index 0e66188..178f376 100644
--- a/Zig.novaextension/Scripts/main.js
+++ b/Zig.novaextension/Scripts/main.js
@@ -1582,10 +1582,7 @@ class ZigTaskAssistant {
const argv = buildZigArgv(config, { step: "test" });
const summary = getTaskConfigValue(config, "summary");
- if (summary) argv.push(`--summary=${summary}`);
-
- const testFilter = getTaskConfigValue(config, "testFilter");
- if (testFilter) argv.push("--test-filter", testFilter);
+ if (summary) argv.push("--summary", summary);
const runArgs = getTaskArgs(config, "runArgs");
if (runArgs.length > 0) argv.push("--", ...runArgs);
diff --git a/Zig.novaextension/extension.json b/Zig.novaextension/extension.json
index fa5da62..5684d99 100644
--- a/Zig.novaextension/extension.json
+++ b/Zig.novaextension/extension.json
@@ -485,13 +485,6 @@
"placeholder": "tasks.config.cwd.placeholder"
},
{
- "key": "testFilter",
- "title": "tasks.test.config.test-filter.title",
- "type": "string",
- "placeholder": "tasks.test.config.test-filter.placeholder",
- "description": "tasks.test.config.test-filter.info"
- },
- {
"key": "summary",
"title": "tasks.test.config.summary.title",
"type": "enum",
diff --git a/examples/test-suite/.nova/Tasks/Zig Test (math).json b/examples/test-suite/.nova/Tasks/Zig Test (math).json
deleted file mode 100644
index a4d1580..0000000
--- a/examples/test-suite/.nova/Tasks/Zig Test (math).json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "extension" : {
- "identifier" : "at.dcz.nova-zig",
- "name" : "Zig"
- },
- "extensionTemplate" : "zigTest",
- "extensionValues" : {
- "summary" : "all",
- "testFilter" : "math:"
- }
-}
diff --git a/examples/test-suite/.nova/Tasks/Zig Test (all).json b/examples/test-suite/.nova/Tasks/Zig Test.json
index 44edb03..44edb03 100644
--- a/examples/test-suite/.nova/Tasks/Zig Test (all).json
+++ b/examples/test-suite/.nova/Tasks/Zig Test.json