@sun-asterisk/sungen 2.6.4 → 2.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +1 -1
- package/dist/dashboard/templates/index.html +2 -2
- package/dist/dashboard/types.d.ts +1 -1
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/exporters/csv-exporter.js +1 -1
- package/dist/exporters/csv-exporter.js.map +1 -1
- package/dist/exporters/feature-parser.d.ts +5 -2
- package/dist/exporters/feature-parser.d.ts.map +1 -1
- package/dist/exporters/feature-parser.js +11 -9
- package/dist/exporters/feature-parser.js.map +1 -1
- package/dist/exporters/json-exporter.js +1 -1
- package/dist/exporters/json-exporter.js.map +1 -1
- package/dist/exporters/spec-parser.js +1 -1
- package/dist/exporters/spec-parser.js.map +1 -1
- package/dist/generators/test-generator/patterns/navigation-patterns.d.ts.map +1 -1
- package/dist/generators/test-generator/patterns/navigation-patterns.js +26 -3
- package/dist/generators/test-generator/patterns/navigation-patterns.js.map +1 -1
- package/dist/orchestrator/templates/ai-instructions/claude-cmd-run-test.md +2 -2
- package/dist/orchestrator/templates/ai-instructions/claude-skill-delivery.md +1 -1
- package/dist/orchestrator/templates/ai-instructions/claude-skill-gherkin-syntax.md +5 -6
- package/dist/orchestrator/templates/ai-instructions/claude-skill-selector-fix.md +7 -7
- package/dist/orchestrator/templates/ai-instructions/claude-skill-tc-generation.md +28 -23
- package/dist/orchestrator/templates/ai-instructions/claude-skill-tc-review.md +3 -3
- package/dist/orchestrator/templates/ai-instructions/claude-skill-test-design-techniques.md +2 -2
- package/dist/orchestrator/templates/ai-instructions/claude-skill-viewpoint.md +1 -1
- package/dist/orchestrator/templates/ai-instructions/copilot-cmd-run-test.md +2 -2
- package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-delivery.md +1 -1
- package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-gherkin-syntax.md +5 -6
- package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-selector-fix.md +7 -7
- package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-tc-generation.md +28 -23
- package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-tc-review.md +3 -3
- package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-test-design-techniques.md +2 -2
- package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-viewpoint.md +1 -1
- package/package.json +1 -1
- package/src/cli/index.ts +1 -1
- package/src/dashboard/templates/index.html +2 -2
- package/src/dashboard/types.ts +1 -1
- package/src/exporters/csv-exporter.ts +1 -1
- package/src/exporters/feature-parser.ts +11 -8
- package/src/exporters/json-exporter.ts +1 -1
- package/src/exporters/spec-parser.ts +1 -1
- package/src/generators/test-generator/adapters/adapter-interface.ts +1 -1
- package/src/generators/test-generator/patterns/navigation-patterns.ts +28 -3
- package/src/orchestrator/templates/ai-instructions/claude-cmd-run-test.md +2 -2
- package/src/orchestrator/templates/ai-instructions/claude-skill-delivery.md +1 -1
- package/src/orchestrator/templates/ai-instructions/claude-skill-gherkin-syntax.md +5 -6
- package/src/orchestrator/templates/ai-instructions/claude-skill-selector-fix.md +7 -7
- package/src/orchestrator/templates/ai-instructions/claude-skill-tc-generation.md +28 -23
- package/src/orchestrator/templates/ai-instructions/claude-skill-tc-review.md +3 -3
- package/src/orchestrator/templates/ai-instructions/claude-skill-test-design-techniques.md +2 -2
- package/src/orchestrator/templates/ai-instructions/claude-skill-viewpoint.md +1 -1
- package/src/orchestrator/templates/ai-instructions/copilot-cmd-run-test.md +2 -2
- package/src/orchestrator/templates/ai-instructions/github-skill-sungen-delivery.md +1 -1
- package/src/orchestrator/templates/ai-instructions/github-skill-sungen-gherkin-syntax.md +5 -6
- package/src/orchestrator/templates/ai-instructions/github-skill-sungen-selector-fix.md +7 -7
- package/src/orchestrator/templates/ai-instructions/github-skill-sungen-tc-generation.md +28 -23
- package/src/orchestrator/templates/ai-instructions/github-skill-sungen-tc-review.md +3 -3
- package/src/orchestrator/templates/ai-instructions/github-skill-sungen-test-design-techniques.md +2 -2
- package/src/orchestrator/templates/ai-instructions/github-skill-sungen-viewpoint.md +1 -1
|
@@ -38,12 +38,12 @@ Score: `(dimensions_covered / 6) * 40`. Validate technique application with `sun
|
|
|
38
38
|
| All applicable VP present (UI/VAL/LOGIC/SEC) | 10 |
|
|
39
39
|
| Correct classification | 8 |
|
|
40
40
|
| `VP-<CAT>-<NNN>` naming + section grouping | 4 |
|
|
41
|
-
| Priority tag present and correct (`@
|
|
41
|
+
| Priority tag present and correct (`@high`/`@normal`/`@low`) | 4 |
|
|
42
42
|
| Assertion quality (see rules below) | 4 |
|
|
43
43
|
|
|
44
44
|
**Classification**: UI = static/always-same appearance. VAL = input validation/errors. LOGIC = behavior/state changes (includes persisted state without When). SEC = auth/permissions.
|
|
45
45
|
|
|
46
|
-
**Tier-aware scoring**: If the feature file only contains `@
|
|
46
|
+
**Tier-aware scoring**: If the feature file only contains `@high` scenarios (Tier 1), do NOT penalize for missing VP-UI viewpoint — UI scenarios are intentionally deferred to Tier 2. Score "All applicable VP present" based on Tier 1-relevant viewpoints only (VAL, LOGIC, SEC). Note in the review output: *"VP-UI deferred to Tier 2 — run create-test with 'Add viewpoints' to expand."*
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
@@ -80,7 +80,7 @@ Do NOT mark `@manual` when data is visible in snapshot or documented in spec —
|
|
|
80
80
|
2. **Misclassified VP** — UI tests behavior? Move to LOGIC. Logic tests appearance? Move to UI
|
|
81
81
|
3. **Dynamic content** — exact match on counters/timestamps? Use `contains` instead
|
|
82
82
|
4. **Duplicate across sections** — SEC scenario identical to UI? Remove duplicate
|
|
83
|
-
5. **Missing/wrong priority tag** — every non-`@steps` scenario needs exactly one of `@
|
|
83
|
+
5. **Missing/wrong priority tag** — every non-`@steps` scenario needs exactly one of `@high`/`@normal`/`@low`. SEC/CRUD happy path/auth→`@high`, validation/secondary features→`@normal`, presence/cosmetic→`@low`
|
|
84
84
|
6. **Always-enabled elements** — `is enabled` on never-disabled element? Remove
|
|
85
85
|
7. **Test-data completeness** — every `{{var}}` must exist in test-data.yaml
|
|
86
86
|
8. **Missing BVA boundaries** — spec defines min/max range but scenarios only test midpoint? Add `min-1`, `min`, `max`, `max+1`
|
package/src/orchestrator/templates/ai-instructions/github-skill-sungen-test-design-techniques.md
CHANGED
|
@@ -53,7 +53,7 @@ Scenario: VP-VAL-003 Above maximum is rejected # value = 101
|
|
|
53
53
|
| Mode | Values | Use when |
|
|
54
54
|
|---|---|---|
|
|
55
55
|
| **Compact (default)** | `min-1`, `min`, `max`, `max+1` | Most fields |
|
|
56
|
-
| **Full 6-point** | `min-1`, `min`, `min+1`, `max-1`, `max`, `max+1` | Critical fields with `@
|
|
56
|
+
| **Full 6-point** | `min-1`, `min`, `min+1`, `max-1`, `max`, `max+1` | Critical fields with `@high` priority |
|
|
57
57
|
|
|
58
58
|
**How to apply** (example: "quantity must be 1-10"):
|
|
59
59
|
- `min-1` = 0 -> invalid
|
|
@@ -82,7 +82,7 @@ Scenario: VP-VAL-003 Above maximum is rejected # value = 101
|
|
|
82
82
|
- `@normal` Form invalid + no permission → disabled
|
|
83
83
|
- `@normal` Form valid + no permission → disabled
|
|
84
84
|
- `@normal` Has permission + form invalid → disabled
|
|
85
|
-
- `@
|
|
85
|
+
- `@high` Form valid + has permission → succeeds
|
|
86
86
|
|
|
87
87
|
---
|
|
88
88
|
|
|
@@ -266,7 +266,7 @@ For VP-SEC scenarios testing **unauthorized access** (no login, wrong role, dire
|
|
|
266
266
|
- Do NOT use `@manual` for these — they are automatable.
|
|
267
267
|
|
|
268
268
|
```gherkin
|
|
269
|
-
@
|
|
269
|
+
@high @no-auth
|
|
270
270
|
Scenario: VP-SEC-001 Unauthenticated user cannot access admin page
|
|
271
271
|
Given User is on [Admin] page
|
|
272
272
|
Then User see [Login] page
|