@rsaglobaltech/specgate 0.9.0 → 0.10.0
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/CHANGELOG.md +98 -0
- package/README.md +10 -18
- package/bin/specgate.ts +10 -3
- package/dist/bin/specgate.js +8 -3
- package/dist/bin/specgate.js.map +1 -1
- package/dist/packages/core/src/domain/DoneVerification.js +22 -1
- package/dist/packages/core/src/domain/DoneVerification.js.map +1 -1
- package/dist/packages/core/src/domain/GherkinQuality.js +19 -3
- package/dist/packages/core/src/domain/GherkinQuality.js.map +1 -1
- package/dist/packages/core/src/domain/NewRequirement.js +46 -0
- package/dist/packages/core/src/domain/NewRequirement.js.map +1 -0
- package/dist/packages/core/src/domain/RequirementPlan.js +1 -0
- package/dist/packages/core/src/domain/RequirementPlan.js.map +1 -1
- package/dist/packages/core/src/domain/TraceabilityFormat.js +8 -1
- package/dist/packages/core/src/domain/TraceabilityFormat.js.map +1 -1
- package/dist/packages/core/test/unit/done-verification.test.js +7 -6
- package/dist/packages/core/test/unit/done-verification.test.js.map +1 -1
- package/dist/packages/core/test/unit/gherkin-quality.test.js +28 -0
- package/dist/packages/core/test/unit/gherkin-quality.test.js.map +1 -1
- package/dist/packages/core/test/unit/new-requirement.test.js +67 -0
- package/dist/packages/core/test/unit/new-requirement.test.js.map +1 -0
- package/dist/scripts/agents/init.js +58 -14
- package/dist/scripts/agents/init.js.map +1 -1
- package/dist/scripts/check.js +10 -0
- package/dist/scripts/check.js.map +1 -0
- package/dist/scripts/cli/commands/harness/RunCommand.js +11 -5
- package/dist/scripts/cli/commands/harness/RunCommand.js.map +1 -1
- package/dist/scripts/cli/commands/project/AdoptCommand.js +6 -6
- package/dist/scripts/cli/commands/project/AdoptCommand.js.map +1 -1
- package/dist/scripts/cli/commands/project/InitProjectCommand.js +42 -1
- package/dist/scripts/cli/commands/project/InitProjectCommand.js.map +1 -1
- package/dist/scripts/cli/commands/project/UpdateCommand.js +118 -8
- package/dist/scripts/cli/commands/project/UpdateCommand.js.map +1 -1
- package/dist/scripts/cli/commands/quality/CheckCommand.js +184 -0
- package/dist/scripts/cli/commands/quality/CheckCommand.js.map +1 -0
- package/dist/scripts/cli/commands/quality/ValidateSpecsCommand.js +66 -6
- package/dist/scripts/cli/commands/quality/ValidateSpecsCommand.js.map +1 -1
- package/dist/scripts/cli/commands/spec/DoneCommand.js +2 -2
- package/dist/scripts/cli/commands/spec/DoneCommand.js.map +1 -1
- package/dist/scripts/cli/commands/spec/NewCommand.js +178 -0
- package/dist/scripts/cli/commands/spec/NewCommand.js.map +1 -0
- package/dist/scripts/cli/commands/spec/PlanCommand.js +1 -1
- package/dist/scripts/cli/commands/spec/PlanCommand.js.map +1 -1
- package/dist/scripts/cli/commands/spec/ReqCommand.js +15 -5
- package/dist/scripts/cli/commands/spec/ReqCommand.js.map +1 -1
- package/dist/scripts/cli/commands/spec/StatusCommand.js +84 -32
- package/dist/scripts/cli/commands/spec/StatusCommand.js.map +1 -1
- package/dist/scripts/lib/surface.js +54 -32
- package/dist/scripts/lib/surface.js.map +1 -1
- package/dist/scripts/new.js +10 -0
- package/dist/scripts/new.js.map +1 -0
- package/dist/scripts/plugin/gate-hook.js +2 -2
- package/dist/scripts/plugin/gate-hook.js.map +1 -1
- package/package.json +1 -1
- package/templates/harness/harness.config.yaml.tpl +3 -3
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ harness_version: 1
|
|
|
34
34
|
#
|
|
35
35
|
# An explicit `agent:` wins over a profile.
|
|
36
36
|
|
|
37
|
-
# An *additional* gate, on top of the `validate --strict
|
|
37
|
+
# An *additional* gate, on top of the `validate --strict` the harness always
|
|
38
38
|
# runs. Left commented out when no build file gave it away — an unset key is
|
|
39
39
|
# safe, whereas a placeholder that exits 0 would be a gate that always passes.
|
|
40
40
|
#
|
|
@@ -45,8 +45,8 @@ harness_version: 1
|
|
|
45
45
|
# {scenario} SCN-007
|
|
46
46
|
# {feature_file} features/billing/refund.feature
|
|
47
47
|
#
|
|
48
|
-
# Worth using.
|
|
49
|
-
#
|
|
48
|
+
# Worth using. `validate` checks that the requirement's declared files exist;
|
|
49
|
+
# only a test command checks that they do what the scenario says — without one
|
|
50
50
|
# of these, a requirement can be marked Implemented with its scenario never run:
|
|
51
51
|
#
|
|
52
52
|
# test_cmd: "npm run verify && npm run test:e2e -- {feature_file}"
|