Repository navigation
Commit 8a0a356
committed
test(ofrep): account for @reinitialization, and drop two stale claims
spec@fc99d5ac gates "A provider that was shut down can be initialized
again" behind a new @reinitialization tag. This adoption withholds it, and
the "Not declared, and why" block now says so rather than leaving the
newest capability the only one without an entry.
Reuse would in fact work here -- a stateless provider holding only a
Session has nothing to release and nothing to rebuild, and `shutdown` is
inherited and does nothing -- but the scenario cannot be reached to
demonstrate it. It lives in lifecycle.feature, so it inherits @lifecycle at
feature level, and the gate skips a scenario when any capability gating it
is undeclared. With LIFECYCLE withheld, declaring this would leave the
scenario skipped on @lifecycle and the claim unexamined. Requirement 2.5.2
makes reuse permitted rather than required, so withholding needs no
KnownDeviation.
The LIFECYCLE entry also carried two claims that the restacking has since
falsified: that the capability was "not in the Capability enum on this
branch yet", and that lifecycle.feature was "gated on @events at feature
level on this branch". Both were true when written, above a base that did
not yet have the split; this branch now sits above the commit that added it,
so the enum has LIFECYCLE and the feature carries @lifecycle. The reason for
withholding is unchanged -- `initialize` is inherited and does nothing, so
initialisation has no outcome to observe -- and only the description of the
surroundings is corrected.
Conformance is unchanged at the new pin: 27 passed, 3 failed, 9 skipped,
1 xfailed over the 40 canonical scenarios, the nine skips being three
@unavailable, two @events, two @lifecycle, one @large-integers and one
@reinitialization.
Signed-off-by: Simon Schrottner <simon.schrottner@flagsmith.com>1 parent 2454039 commit 8a0a356
1 file changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
113 | 128 | | |
114 | 129 | | |
115 | 130 | | |
| |||
0 commit comments