Skip to content
rlsbl.targets.outcomes
On this page

Structured outcomes for per-target protocol methods, so a target says 'I do not implement this' explicitly instead of being indistinguishable from success.

#rlsbl.targets.outcomes

#rlsbl.targets.outcomes

Structured outcomes returned by per-target protocol methods.

These types exist so a target can say "I do not implement this" explicitly. The dispatch these replaced fell through a chain of name comparisons to a bare return True or a stderr line, which made an unsupported target indistinguishable from a successful one.

#SuiteRunStatus

Result of a target's built-in test run.

#SuiteRunOutcome

Outcome of ReleaseTarget.run_tests.

message always names the target, so a SKIPPED outcome renders a step summary line a reader can act on rather than silence.

#passed

python
def passed(self) -> bool

True only when the suite actually ran and passed.

#skipped

python
def skipped(self) -> bool

True when this target has no built-in test runner.

#YankStatus

Result of a target's registry-removal action.

#YankOutcome

Outcome of ReleaseTarget.yank.

Search