Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-26 21:07:53 UTC · snapshot created 2026-11-26 21:08:36 UTC · last check 2026-11-29 22:45:17 UTC

SYSE.31:4 - Solution

SYSE.31:4.1 - Connect a check to the decision

Name the changed behavior, the assertion under test and the result consumer. Recover the application team’s acceptance meaning rather than deriving it from current implementation. A test that repeats the implementation’s mistaken assumption is not an independent answer to the user question.

Bind each result to the source or artifact actually exercised, relevant configuration, test input and conditions. Distinguish a test description from a completed run. A missing run, lost observation or wrong artifact cannot be reported as a pass.

Begin with checks that discriminate the consequential failures for the current change. When necessary behavior is not specified well enough to judge, return that question to its owner. The number of existing tests cannot settle the missing requirement.

SYSE.31:4.2 - Put feedback where it can change the next action

Use fast focused tests for failures they can detect. Retain integration, acceptance, performance and exploratory work where their distinct results affect reliance. Choose the execution arrangement from those dependencies, not from a fixed proportion of test types.

Run relevant checks close enough to a change that the result remains actionable. Recover the actual waiting, execution and diagnosis time before choosing an improvement: a faster test does not repair a long queue or an unintelligible failure report. Parallel execution is useful only when isolation and capacity preserve the test’s meaning.

A slower test can remain necessary. Make its unresolved result visible to the decision that needs it instead of presenting early fast checks as full acceptance.

SYSE.31:4.3 - Make a failure reproducible and interpretable

Retain the tested revision/artifact, inputs, relevant environment and failure observation. Compare a suspected regression with the previous qualified behavior under matching conditions when that comparison can distinguish the cause.

Investigate variable outcomes. Shared mutable fixtures, uncontrolled clocks, order dependence and unavailable services can corrupt feedback. A nondeterministic product race is still a product defect; calling a test “flaky” does not settle which object failed.

Control a suspected source of interference and repeat a discriminating case. Change only what the comparison can account for. A rerun may help diagnosis, but a later pass does not erase an earlier failure under supported conditions.

SYSE.31:4.4 - Decide who repairs which failure

Observed problemImmediate response
The tested product violates the agreed behavior.Return the failing case to the application team and withhold the reliance that required it.
The test asserts an obsolete or incorrect expectation.Resolve the expectation with its owner, repair the test and re-exercise the behavior.
The environment or provider failed before the behavior could be observed.Return that failure for environment/platform repair; retain the missing product evidence.
The result cannot be attributed to the candidate or conditions.Recover attribution or rerun the right case; do not transfer the old pass.

Route the failure to whoever can establish or repair the missing result under the required authority. Platform operators can repair provision; they do not acquire authority to change application behavior, withdraw a source change or approve release merely because they operate the test service.

If a test must be quarantined, identify the claim whose evidence was lost, its current consequence and a usable temporary replacement or stop. Name the repair responsibility and the condition for restoring the check. Quarantine is not an unlimited exemption or a way to improve the displayed pass rate.

SYSE.31:4.5 - Construct a stream of small integrations into the current mainline

Continuous integration is a way of keeping separately developing changes usable together. A server that builds isolated branches supplies feedback but does not create that combined result. The DORA CI Method is a directly usable starting treatment; the construction here explains its joins with the artifact, environment and recovery Methods in this framework.

First choose the integration boundary that matters to the application. Name the shared mainline and the components whose combination must work. One repository can contain independently deployable components, and several repositories can still contain a tightly coupled application. Choose checks for the behavior, interfaces and conditions those components must preserve together. A repository boundary is not evidence that two changes can be released independently.

Break a large change into increments that leave the mainline usable under its existing supported behavior. A preparatory increment may add an unused adapter; a later increment may switch one caller to it; removal waits until no supported caller needs the old route. Each increment should preserve the agreed behavior or openly change it under its acceptance conditions. A feature flag can separate installation from activation only if the disabled state really preserves the required behavior and the enabled path can be qualified. A dormant flag does not make an incompatible schema change harmless.

For one increment, take a current mainline base, construct the intended combined change, and run the relevant fast feedback against that combination. Resolve any incompatibilities in that combination before integration. When another change advances the mainline, update the candidate combination and re-establish the affected feedback. A merge queue is one possible implementation: it serializes or rebuilds candidate combinations against the current mainline state they are intended to join.

After integration, establish the build and feedback results for the resulting shared revision through the authoritative path. Reuse qualified evidence for that same combination and run the missing checks. Associate its produced artifact with that combined revision and its own results. An earlier artifact from the branch can be reused only when it is the same qualified subject under the needed conditions. The team must be able to find the current mainline result and its unresolved checks without reconstructing several private branch histories.

When the integration breaks, protect other development from treating the broken state as a usable base. Make restoration the immediate shared task. If a narrow repair can promptly restore the intended combination, integrate and check it. Otherwise the authorized team can withdraw the offending change and verify the resulting mainline. Withdrawing source changes does not undo an already executed external effect or data migration; those returns have their own state boundary. Keep the failed observation and unresolved business conflict so that a later attempt does not repeat it.

Choose integration frequency and feedback latency together. If a team accumulates several days of interacting changes because every run takes hours, asking for more merges alone creates a queue of unresolved combinations. First find the constraining feedback and improve its execution, split a genuinely independent check, or redesign the change so that each smaller increment remains useful. Slow necessary evidence can run separately while its affected release claim stays open. The sought gain is a short interval to a trustworthy combined result, not a mandated merge count.

For the range example in section 5, A and B are individually small but incompatible in business meaning. No branch strategy can choose whether a minimum of 8 or a maximum of 5 is intended. CI makes that conflict visible while it is still bounded. By contrast, adding a disabled new form with a lossless old-format adapter can be a legitimate preparatory increment, because the old behavior and storage contract remain usable while the new form is being developed.

SYSE.31:4.6 - Keep the complete feedback path usable as changes accumulate

Arrange checks by what they need and which decision they can change. A source-level invariant may run before packaging. A binary compatibility check consumes the produced package. An interaction with a real database needs a qualified running environment. A user-interface task can need browser behavior and human interpretation that a backend check cannot supply. Put the cheaper informative failure first where these dependencies permit; preserve the later question even when the early stage is green.

Use a small representative change to build this path before multiplying its variants. Give each stage a way to identify the candidate, obtain its actual inputs and return an actionable failure. When the first stage passes and a later stage is waiting, the current result is partly qualified. Do not let a single green label erase the pending contribution. Nor should every slow stage unnecessarily block unrelated editing or an independently qualified artifact.

Derive test selection from affected behavior and dependency reach. If a shared schema generator changes, all consumers of its changed output may be affected even if their hand-written files are untouched. If a test-selection mechanism cannot recover that reach, include a wider check or leave the conclusion narrower. Inspect escaped regressions for missing reach as well as missing assertions. Reducing test time by assuming unproven independence simply moves detection to a later, more expensive use.

For example, ParcelWorks can check lossless address split/join quickly with boundary values; check its write adapter and trigger in the actual supported database arrangement; then exercise display and save in the browser. These are complementary observations. Passing the first does not make the other two redundant. A new runner that halves unit-test time but starves the database stage has not necessarily shortened time to a releasable result; include queue and diagnosis delay when choosing that change.

SYSE.31:4.7 - Verify that the arrangement improves useful feedback

Use evidence from a known passing case, a meaningful failing change and a failure of the feedback mechanism. Exercise any missing case. Check that the responsible participants or systems can distinguish the outcomes and recover the tested subject. Inspect late-discovered defects: did the arrangement omit a needed question, use the wrong conditions, or fail to deliver its result in time?

Return the checks, the questions and conditions they cover, any missing evidence and how each failure will be handled, including who can act and which use must wait. Judge an improvement by the failures detected and repaired in time for use.