You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SW-213 — Reject empty test scripts during project test-plan resolution #395
The test resolver accepts a string-valued scripts.test entry even when it is empty or whitespace-only. npm may treat an empty test script as a successful no-op, making stellarforge test report success without running tests. Reject blank scripts before spawning npm.
Empty and whitespace-only test scripts are rejected.
The validation error explains that a non-empty test script is required.
No subprocess is spawned for an empty script.
Valid scripts continue to resolve unchanged.
Tests cover spaces, tabs, and newline-only values.
Dependencies
None.
Out of Scope
Unrelated architecture or public command-contract changes.
New runtime dependencies without maintainer approval.
Mainnet deployment or remote template execution.
Definition of Done
Acceptance criteria have deterministic regression coverage.
Security and compatibility boundaries remain intact.
Supported-platform CI passes.
Labels
Stellar Wave (do not apply until activation is explicitly authorized)
type: bug
area: testing
priority: P1
difficulty: low
points: 100
workstream: testing
Sequencing and scope note
Sequencing: implement after SW-214 (#396) and SW-215 (#397). This covers a present-but-empty scripts.test value; #119 covers project detection and unsupported project markers.
Activity