@overkill-dev/engine 0.0.10 → 0.0.12

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/readme.md CHANGED
@@ -14,10 +14,11 @@ Top-level API:
14
14
  - `createEngine()`
15
15
  - `formatCaseId(caseId)`
16
16
  - `validateReporterSinks(reporters)`
17
+ - `createPlainOutputRenderer()`
17
18
  - `captureSourceLocation()`
18
19
  - `unknownSourceLocation`
19
20
  - `CaseId`, `TestId`, `TestRoot`, `TestPlan`, `ExecuteOptions`, `RunIfMainOptions`, `NonEmptyReadonlyArray`, `DeepComparable`
20
- - `Reporter`, `ReporterEvent`, `RealTimeReporter`, `FinalResultReporter`, `RunFacts`, `SinkDeclaration`
21
+ - `Reporter`, `ReporterEvent`, `RealTimeReporter`, `FinalResultReporter`, `RunFacts`, `SinkDeclaration`, `OutputLineIntent`, `OutputRenderer`
21
22
  - `RunResult`, `TestOutcome`, `PassOutcome`, `FailOutcome`, `SkipOutcome`, `InconclusiveOutcome`
22
23
  - `AssertionNode`, `AssertionResult`, `AssertAssertionFacade`, `TestScopeAssertContext`
23
24
  - `ThrownMatcher`, `ErrorMatcher`, `ExactThrownMatcher`
@@ -93,10 +94,19 @@ Reporter lifecycle:
93
94
 
94
95
  Reporter sinks:
95
96
 
96
- - `stdout` and `stderr` can be `exclusive` or `shared`.
97
- - `file`, `directory`, and `stream` sinks are exclusive.
97
+ - `stdout-raw` and `stderr-raw` own a stream directly and cannot share it.
98
+ - `stdout-managed-primary` and `stderr-managed-primary` return line intents
99
+ through the reporter callback. A stream can have one managed primary.
100
+ - `stdout-managed-supplemental` and `stderr-managed-supplemental` can
101
+ cooperate with a managed primary and other supplemental reporters.
102
+ - Reporters without managed stdout or stderr sinks return only `void` or
103
+ `Promise<void>` from reporter methods.
104
+ - `file` and `directory` sinks conflict on the same declared path.
105
+ - `stream` sinks are private to each reporter.
98
106
  - `memory` sinks are private to each reporter.
99
107
  - `execute()` validates declared sink conflicts before emitting `run-start`.
108
+ - Managed output uses one `OutputRenderer`. `createPlainOutputRenderer()`
109
+ renders each line intent as plain text.
100
110
 
101
111
  Assertion bodies:
102
112
 
package/sbom.cdx.json CHANGED
@@ -9,16 +9,16 @@
9
9
  {
10
10
  "type": "application",
11
11
  "name": "packtory",
12
- "version": "0.0.86"
12
+ "version": "0.0.92"
13
13
  }
14
14
  ]
15
15
  },
16
16
  "component": {
17
17
  "type": "library",
18
18
  "name": "@overkill-dev/engine",
19
- "version": "0.0.10",
20
- "bom-ref": "pkg:npm/@overkill-dev/engine@0.0.10",
21
- "purl": "pkg:npm/@overkill-dev/engine@0.0.10"
19
+ "version": "0.0.12",
20
+ "bom-ref": "pkg:npm/@overkill-dev/engine@0.0.12",
21
+ "purl": "pkg:npm/@overkill-dev/engine@0.0.12"
22
22
  }
23
23
  },
24
24
  "components": [
@@ -54,7 +54,7 @@
54
54
  "ref": "pkg:npm/@enormora/wall-clock@0.0.3"
55
55
  },
56
56
  {
57
- "ref": "pkg:npm/@overkill-dev/engine@0.0.10",
57
+ "ref": "pkg:npm/@overkill-dev/engine@0.0.12",
58
58
  "dependsOn": [
59
59
  "pkg:npm/@enormora/wall-clock@0.0.3",
60
60
  "pkg:npm/diff@9.0.0"