@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.
Files changed (59) hide show
  1. package/dist/cli/index.js +1 -1
  2. package/dist/dashboard/templates/index.html +2 -2
  3. package/dist/dashboard/types.d.ts +1 -1
  4. package/dist/dashboard/types.d.ts.map +1 -1
  5. package/dist/exporters/csv-exporter.js +1 -1
  6. package/dist/exporters/csv-exporter.js.map +1 -1
  7. package/dist/exporters/feature-parser.d.ts +5 -2
  8. package/dist/exporters/feature-parser.d.ts.map +1 -1
  9. package/dist/exporters/feature-parser.js +11 -9
  10. package/dist/exporters/feature-parser.js.map +1 -1
  11. package/dist/exporters/json-exporter.js +1 -1
  12. package/dist/exporters/json-exporter.js.map +1 -1
  13. package/dist/exporters/spec-parser.js +1 -1
  14. package/dist/exporters/spec-parser.js.map +1 -1
  15. package/dist/generators/test-generator/patterns/navigation-patterns.d.ts.map +1 -1
  16. package/dist/generators/test-generator/patterns/navigation-patterns.js +26 -3
  17. package/dist/generators/test-generator/patterns/navigation-patterns.js.map +1 -1
  18. package/dist/orchestrator/templates/ai-instructions/claude-cmd-run-test.md +2 -2
  19. package/dist/orchestrator/templates/ai-instructions/claude-skill-delivery.md +1 -1
  20. package/dist/orchestrator/templates/ai-instructions/claude-skill-gherkin-syntax.md +5 -6
  21. package/dist/orchestrator/templates/ai-instructions/claude-skill-selector-fix.md +7 -7
  22. package/dist/orchestrator/templates/ai-instructions/claude-skill-tc-generation.md +28 -23
  23. package/dist/orchestrator/templates/ai-instructions/claude-skill-tc-review.md +3 -3
  24. package/dist/orchestrator/templates/ai-instructions/claude-skill-test-design-techniques.md +2 -2
  25. package/dist/orchestrator/templates/ai-instructions/claude-skill-viewpoint.md +1 -1
  26. package/dist/orchestrator/templates/ai-instructions/copilot-cmd-run-test.md +2 -2
  27. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-delivery.md +1 -1
  28. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-gherkin-syntax.md +5 -6
  29. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-selector-fix.md +7 -7
  30. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-tc-generation.md +28 -23
  31. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-tc-review.md +3 -3
  32. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-test-design-techniques.md +2 -2
  33. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-viewpoint.md +1 -1
  34. package/package.json +1 -1
  35. package/src/cli/index.ts +1 -1
  36. package/src/dashboard/templates/index.html +2 -2
  37. package/src/dashboard/types.ts +1 -1
  38. package/src/exporters/csv-exporter.ts +1 -1
  39. package/src/exporters/feature-parser.ts +11 -8
  40. package/src/exporters/json-exporter.ts +1 -1
  41. package/src/exporters/spec-parser.ts +1 -1
  42. package/src/generators/test-generator/adapters/adapter-interface.ts +1 -1
  43. package/src/generators/test-generator/patterns/navigation-patterns.ts +28 -3
  44. package/src/orchestrator/templates/ai-instructions/claude-cmd-run-test.md +2 -2
  45. package/src/orchestrator/templates/ai-instructions/claude-skill-delivery.md +1 -1
  46. package/src/orchestrator/templates/ai-instructions/claude-skill-gherkin-syntax.md +5 -6
  47. package/src/orchestrator/templates/ai-instructions/claude-skill-selector-fix.md +7 -7
  48. package/src/orchestrator/templates/ai-instructions/claude-skill-tc-generation.md +28 -23
  49. package/src/orchestrator/templates/ai-instructions/claude-skill-tc-review.md +3 -3
  50. package/src/orchestrator/templates/ai-instructions/claude-skill-test-design-techniques.md +2 -2
  51. package/src/orchestrator/templates/ai-instructions/claude-skill-viewpoint.md +1 -1
  52. package/src/orchestrator/templates/ai-instructions/copilot-cmd-run-test.md +2 -2
  53. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-delivery.md +1 -1
  54. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-gherkin-syntax.md +5 -6
  55. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-selector-fix.md +7 -7
  56. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-tc-generation.md +28 -23
  57. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-tc-review.md +3 -3
  58. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-test-design-techniques.md +2 -2
  59. 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 (`@critical`/`@high`/`@normal`/`@low`) | 4 |
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 `@critical` + `@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."*
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 `@critical`/`@high`/`@normal`/`@low`. SEC→`@critical`, VAL required→`@high`, UI layout→`@normal`, hover/tooltip→`@low`
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`
@@ -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 `@critical`/`@high` priority |
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
- - `@critical` Form valid + has permission → succeeds
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
- @critical @no-auth
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