semantics
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# [DEF:test_clean_release_cli:Module]
|
||||
# @RELATION: BELONGS_TO -> SrcRoot
|
||||
# #region test_clean_release_cli [C:2] [TYPE Module]
|
||||
# @RELATION BINDS_TO -> SrcRoot
|
||||
# @PURPOSE: Smoke tests for the redesigned clean release CLI.
|
||||
# @LAYER: Domain
|
||||
# @LAYER Domain
|
||||
|
||||
"""Smoke tests for the redesigned clean release CLI commands."""
|
||||
|
||||
@@ -20,8 +20,8 @@ from src.scripts.clean_release_cli import main as cli_main
|
||||
from src.services.clean_release.enums import CandidateStatus, ComplianceDecision
|
||||
|
||||
|
||||
# [DEF:test_cli_candidate_register_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
# #region test_cli_candidate_register_scaffold [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> test_clean_release_cli
|
||||
# @PURPOSE: Verify candidate-register command exits successfully for valid required arguments.
|
||||
def test_cli_candidate_register_scaffold() -> None:
|
||||
"""Candidate register CLI command smoke test."""
|
||||
@@ -41,11 +41,11 @@ def test_cli_candidate_register_scaffold() -> None:
|
||||
assert exit_code == 0
|
||||
|
||||
|
||||
# [/DEF:test_cli_candidate_register_scaffold:Function]
|
||||
# #endregion test_cli_candidate_register_scaffold
|
||||
|
||||
|
||||
# [DEF:test_cli_manifest_build_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
# #region test_cli_manifest_build_scaffold [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> test_clean_release_cli
|
||||
# @PURPOSE: Verify candidate-register/artifact-import/manifest-build smoke path succeeds end-to-end.
|
||||
def test_cli_manifest_build_scaffold() -> None:
|
||||
"""Manifest build CLI command smoke test."""
|
||||
@@ -93,11 +93,11 @@ def test_cli_manifest_build_scaffold() -> None:
|
||||
assert manifest_exit == 0
|
||||
|
||||
|
||||
# [/DEF:test_cli_manifest_build_scaffold:Function]
|
||||
# #endregion test_cli_manifest_build_scaffold
|
||||
|
||||
|
||||
# [DEF:test_cli_compliance_run_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
# #region test_cli_compliance_run_scaffold [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> test_clean_release_cli
|
||||
# @PURPOSE: Verify compliance run/status/violations/report commands complete for prepared candidate.
|
||||
def test_cli_compliance_run_scaffold() -> None:
|
||||
"""Compliance CLI command smoke test for run/status/report/violations."""
|
||||
@@ -204,11 +204,11 @@ def test_cli_compliance_run_scaffold() -> None:
|
||||
assert report_exit == 0
|
||||
|
||||
|
||||
# [/DEF:test_cli_compliance_run_scaffold:Function]
|
||||
# #endregion test_cli_compliance_run_scaffold
|
||||
|
||||
|
||||
# [DEF:test_cli_release_gate_commands_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
# #region test_cli_release_gate_commands_scaffold [C:2] [TYPE Function]
|
||||
# @RELATION BINDS_TO -> test_clean_release_cli
|
||||
# @PURPOSE: Verify approve/reject/publish/revoke release-gate commands execute with valid fixtures.
|
||||
def test_cli_release_gate_commands_scaffold() -> None:
|
||||
"""Release gate CLI smoke test for approve/reject/publish/revoke commands."""
|
||||
@@ -339,5 +339,5 @@ def test_cli_release_gate_commands_scaffold() -> None:
|
||||
assert revoke_exit == 0
|
||||
|
||||
|
||||
# [/DEF:test_cli_release_gate_commands_scaffold:Function]
|
||||
# [/DEF:test_clean_release_cli:Module]
|
||||
# #endregion test_cli_release_gate_commands_scaffold
|
||||
# #endregion test_clean_release_cli
|
||||
|
||||
Reference in New Issue
Block a user