@overkill-dev/engine 0.0.77 → 0.0.79
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/assertion-protocol/evaluation.d.ts +32 -0
- package/assertion-protocol/evaluation.d.ts.map +1 -0
- package/assertion-protocol/source-location.d.ts.map +1 -1
- package/assertion-protocol/source-location.js +4 -0
- package/assertion-protocol/source-location.js.map +1 -1
- package/compare/serialization-context.js +23 -0
- package/compare/serialization-context.js.map +1 -0
- package/compare/serialized-value-schema.d.ts +11 -0
- package/compare/serialized-value-schema.d.ts.map +1 -0
- package/compare/serialized-value-schema.js +76 -0
- package/compare/serialized-value-schema.js.map +1 -0
- package/compare/serialized-value-shape.d.ts +1 -0
- package/compare/serialized-value-shape.d.ts.map +1 -1
- package/compare/serialized-value.d.ts.map +1 -1
- package/compare/serialized-value.js +2 -1
- package/compare/serialized-value.js.map +1 -1
- package/engine/artifact-schema.d.ts +191 -0
- package/engine/artifact-schema.d.ts.map +1 -0
- package/engine/artifact-schema.js +34 -0
- package/engine/artifact-schema.js.map +1 -0
- package/engine/assertion-recorder.d.ts.map +1 -1
- package/engine/assertion-recorder.js +5 -0
- package/engine/assertion-recorder.js.map +1 -1
- package/engine/assertion-result-schema.d.ts +4 -0
- package/engine/assertion-result-schema.d.ts.map +1 -0
- package/engine/assertion-result-schema.js +71 -0
- package/engine/assertion-result-schema.js.map +1 -0
- package/engine/benchmark-calibration-plan.d.ts +6 -0
- package/engine/benchmark-calibration-plan.d.ts.map +1 -0
- package/engine/benchmark-calibration-plan.js +31 -0
- package/engine/benchmark-calibration-plan.js.map +1 -0
- package/engine/case-attempt-execution.js +18 -5
- package/engine/case-attempt-execution.js.map +1 -1
- package/engine/case-body-execution.js +12 -0
- package/engine/case-body-execution.js.map +1 -1
- package/engine/case-interruption.d.ts.map +1 -1
- package/engine/case-interruption.js +5 -1
- package/engine/case-interruption.js.map +1 -1
- package/engine/coverage-artifact.d.ts +2 -1
- package/engine/coverage-artifact.d.ts.map +1 -1
- package/engine/diff-schema.js +78 -0
- package/engine/diff-schema.js.map +1 -0
- package/engine/engine.d.ts +13 -3
- package/engine/engine.d.ts.map +1 -1
- package/engine/engine.js +73 -5
- package/engine/engine.js.map +1 -1
- package/engine/execution-error-ownership.js.map +1 -1
- package/engine/execution-global-error-observer.d.ts +2 -1
- package/engine/execution-global-error-observer.d.ts.map +1 -1
- package/engine/execution-global-error-observer.js +26 -5
- package/engine/execution-global-error-observer.js.map +1 -1
- package/engine/execution-observation.d.ts +12 -1
- package/engine/execution-observation.d.ts.map +1 -1
- package/engine/execution-observation.js +56 -0
- package/engine/execution-observation.js.map +1 -1
- package/engine/execution-options.d.ts +9 -4
- package/engine/execution-options.d.ts.map +1 -1
- package/engine/execution-options.js +18 -0
- package/engine/execution-options.js.map +1 -1
- package/engine/execution-preparation.js +4 -2
- package/engine/execution-preparation.js.map +1 -1
- package/engine/execution-process-budget-breach.js +18 -0
- package/engine/execution-process-budget-breach.js.map +1 -1
- package/engine/execution-process-budget-tracking.js.map +1 -1
- package/engine/execution-process-tracked-cases.js.map +1 -1
- package/engine/execution-result.d.ts.map +1 -1
- package/engine/execution-result.js +2 -1
- package/engine/execution-result.js.map +1 -1
- package/engine/execution-supervision-state.js +46 -1
- package/engine/execution-supervision-state.js.map +1 -1
- package/engine/execution-supervision.d.ts.map +1 -1
- package/engine/execution-supervision.js +38 -46
- package/engine/execution-supervision.js.map +1 -1
- package/engine/execution-test-plan-cases.js +8 -3
- package/engine/execution-test-plan-cases.js.map +1 -1
- package/engine/execution-test-plan-process-usage.js +17 -2
- package/engine/execution-test-plan-process-usage.js.map +1 -1
- package/engine/execution.d.ts +8 -2
- package/engine/execution.d.ts.map +1 -1
- package/engine/execution.js +77 -11
- package/engine/execution.js.map +1 -1
- package/engine/failure-artifact-policy.d.ts +42 -0
- package/engine/failure-artifact-policy.d.ts.map +1 -0
- package/engine/failure-artifact-policy.js +22 -0
- package/engine/failure-artifact-policy.js.map +1 -0
- package/engine/family-completion.js +11 -0
- package/engine/family-completion.js.map +1 -0
- package/engine/family-evidence-schema.js +44 -0
- package/engine/family-evidence-schema.js.map +1 -0
- package/engine/family-evidence-state.js +125 -0
- package/engine/family-evidence-state.js.map +1 -0
- package/engine/family-evidence.js +179 -0
- package/engine/family-evidence.js.map +1 -0
- package/engine/family-execution.js +41 -0
- package/engine/family-execution.js.map +1 -0
- package/engine/family-lifetime.d.ts +11 -0
- package/engine/family-lifetime.d.ts.map +1 -0
- package/engine/family-lifetime.js +72 -0
- package/engine/family-lifetime.js.map +1 -0
- package/engine/family-run.d.ts +67 -0
- package/engine/family-run.d.ts.map +1 -0
- package/engine/family-run.js +265 -0
- package/engine/family-run.js.map +1 -0
- package/engine/identity-schema.d.ts +73 -2
- package/engine/identity-schema.d.ts.map +1 -1
- package/engine/identity-schema.js +21 -2
- package/engine/identity-schema.js.map +1 -1
- package/engine/identity.d.ts +7 -0
- package/engine/identity.d.ts.map +1 -1
- package/engine/identity.js +13 -0
- package/engine/identity.js.map +1 -1
- package/engine/plan-collection-policy.d.ts +10 -0
- package/engine/plan-collection-policy.d.ts.map +1 -0
- package/engine/plan-collection-policy.js +15 -0
- package/engine/plan-collection-policy.js.map +1 -0
- package/engine/process-usage.d.ts +6 -0
- package/engine/process-usage.d.ts.map +1 -1
- package/engine/property-failure.d.ts.map +1 -1
- package/engine/property-failure.js +1 -0
- package/engine/property-failure.js.map +1 -1
- package/engine/property-inconclusive.d.ts +6 -0
- package/engine/property-inconclusive.d.ts.map +1 -0
- package/engine/property-inconclusive.js +20 -0
- package/engine/property-inconclusive.js.map +1 -0
- package/engine/property-plan.d.ts +8 -0
- package/engine/property-plan.d.ts.map +1 -0
- package/engine/property-plan.js +62 -0
- package/engine/property-plan.js.map +1 -0
- package/engine/property-policy.d.ts +45 -0
- package/engine/property-policy.d.ts.map +1 -0
- package/engine/property-policy.js +54 -0
- package/engine/property-policy.js.map +1 -0
- package/engine/property-trial.d.ts.map +1 -1
- package/engine/property-trial.js +1 -1
- package/engine/property-trial.js.map +1 -1
- package/engine/reporter-delivery-preparation.d.ts +7 -0
- package/engine/reporter-delivery-preparation.d.ts.map +1 -0
- package/engine/reporter-delivery-preparation.js +34 -0
- package/engine/reporter-delivery-preparation.js.map +1 -0
- package/engine/reporter-dispatcher.d.ts +5 -2
- package/engine/reporter-dispatcher.d.ts.map +1 -1
- package/engine/reporter-dispatcher.js +22 -31
- package/engine/reporter-dispatcher.js.map +1 -1
- package/engine/reporter.d.ts +5 -1
- package/engine/reporter.d.ts.map +1 -1
- package/engine/reporter.js.map +1 -1
- package/engine/reporting-context.d.ts +12 -1
- package/engine/reporting-context.d.ts.map +1 -1
- package/engine/reporting-context.js +44 -0
- package/engine/reporting-context.js.map +1 -1
- package/engine/run-artifact.d.ts +84 -2
- package/engine/run-artifact.d.ts.map +1 -1
- package/engine/run-artifact.js +88 -0
- package/engine/run-artifact.js.map +1 -0
- package/engine/run-result.d.ts +7 -3
- package/engine/run-result.d.ts.map +1 -1
- package/engine/run-result.js +4 -1
- package/engine/run-result.js.map +1 -1
- package/engine/runner-error-schema.d.ts +4 -0
- package/engine/runner-error-schema.d.ts.map +1 -0
- package/engine/runner-error-schema.js +29 -0
- package/engine/runner-error-schema.js.map +1 -0
- package/engine/runtime-attachment.js +7 -0
- package/engine/runtime-attachment.js.map +1 -0
- package/engine/runtime-matrix-expansion.d.ts +3 -0
- package/engine/runtime-matrix-expansion.d.ts.map +1 -0
- package/engine/runtime-matrix-expansion.js +150 -0
- package/engine/runtime-matrix-expansion.js.map +1 -0
- package/engine/standard-engine.js +1 -0
- package/engine/standard-engine.js.map +1 -1
- package/engine/test-body.d.ts +20 -3
- package/engine/test-body.d.ts.map +1 -1
- package/engine/test-body.js +50 -3
- package/engine/test-body.js.map +1 -1
- package/engine/test-control-error.d.ts +2 -0
- package/engine/test-control-error.d.ts.map +1 -0
- package/engine/test-control-error.js +10 -0
- package/engine/test-control-error.js.map +1 -0
- package/engine/test-data.d.ts +0 -1
- package/engine/test-data.d.ts.map +1 -1
- package/engine/test-data.js.map +1 -1
- package/engine/test-debug-artifact.js +166 -0
- package/engine/test-debug-artifact.js.map +1 -0
- package/engine/test-debug-context.js +120 -0
- package/engine/test-debug-context.js.map +1 -0
- package/engine/test-debug-providers.js +68 -0
- package/engine/test-debug-providers.js.map +1 -0
- package/engine/test-debug-recording.js +249 -0
- package/engine/test-debug-recording.js.map +1 -0
- package/engine/test-debug.d.ts +285 -0
- package/engine/test-debug.d.ts.map +1 -0
- package/engine/test-debug.js +67 -0
- package/engine/test-debug.js.map +1 -0
- package/engine/test-family.d.ts +112 -0
- package/engine/test-family.d.ts.map +1 -0
- package/engine/test-family.js +165 -0
- package/engine/test-family.js.map +1 -0
- package/engine/test-node.d.ts +11 -8
- package/engine/test-node.d.ts.map +1 -1
- package/engine/test-node.js +7 -2
- package/engine/test-node.js.map +1 -1
- package/engine/test-plan-locations.js +21 -0
- package/engine/test-plan-locations.js.map +1 -0
- package/engine/test-plan.d.ts +5 -3
- package/engine/test-plan.d.ts.map +1 -1
- package/engine/test-plan.js +19 -4
- package/engine/test-plan.js.map +1 -1
- package/engine/test-scope-lifecycle.js +3 -0
- package/engine/test-scope-lifecycle.js.map +1 -1
- package/engine/test-scope.d.ts +3 -0
- package/engine/test-scope.d.ts.map +1 -1
- package/module-loading-scope.d.ts +8 -0
- package/module-loading-scope.d.ts.map +1 -0
- package/module-loading-scope.js +23 -0
- package/module-loading-scope.js.map +1 -0
- package/package.json +83 -4
- package/packages/engine/engine.entry-point.d.ts +26 -25
- package/packages/engine/engine.entry-point.d.ts.map +1 -1
- package/packages/engine/engine.entry-point.js +12 -11
- package/packages/engine/engine.entry-point.js.map +1 -1
- package/readme.md +85 -1
- package/software-bill-of-materials.cyclonedx.json +5 -5
- package/engine/execution-process-budget-breach.d.ts +0 -8
- package/engine/execution-process-budget-breach.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"import": "./assertion-protocol/assertion-reference.js",
|
|
28
28
|
"types": "./assertion-protocol/assertion-reference.d.ts"
|
|
29
29
|
},
|
|
30
|
+
"./assertion-protocol/evaluation.js": {
|
|
31
|
+
"import": "./assertion-protocol/evaluation.js",
|
|
32
|
+
"types": "./assertion-protocol/evaluation.d.ts"
|
|
33
|
+
},
|
|
30
34
|
"./assertion-protocol/source-location.js": {
|
|
31
35
|
"import": "./assertion-protocol/source-location.js",
|
|
32
36
|
"types": "./assertion-protocol/source-location.d.ts"
|
|
@@ -43,10 +47,26 @@
|
|
|
43
47
|
"import": "./compare/raw-comparison.js",
|
|
44
48
|
"types": "./compare/raw-comparison.d.ts"
|
|
45
49
|
},
|
|
50
|
+
"./compare/serialized-value-schema.js": {
|
|
51
|
+
"import": "./compare/serialized-value-schema.js",
|
|
52
|
+
"types": "./compare/serialized-value-schema.d.ts"
|
|
53
|
+
},
|
|
46
54
|
"./compare/serialized-value.js": {
|
|
47
55
|
"import": "./compare/serialized-value.js",
|
|
48
56
|
"types": "./compare/serialized-value.d.ts"
|
|
49
57
|
},
|
|
58
|
+
"./engine/artifact-schema.js": {
|
|
59
|
+
"import": "./engine/artifact-schema.js",
|
|
60
|
+
"types": "./engine/artifact-schema.d.ts"
|
|
61
|
+
},
|
|
62
|
+
"./engine/assertion-result-schema.js": {
|
|
63
|
+
"import": "./engine/assertion-result-schema.js",
|
|
64
|
+
"types": "./engine/assertion-result-schema.d.ts"
|
|
65
|
+
},
|
|
66
|
+
"./engine/benchmark-calibration-plan.js": {
|
|
67
|
+
"import": "./engine/benchmark-calibration-plan.js",
|
|
68
|
+
"types": "./engine/benchmark-calibration-plan.d.ts"
|
|
69
|
+
},
|
|
50
70
|
"./engine/benchmark-result.js": {
|
|
51
71
|
"import": "./engine/benchmark-result.js",
|
|
52
72
|
"types": "./engine/benchmark-result.d.ts"
|
|
@@ -81,6 +101,14 @@
|
|
|
81
101
|
"import": "./engine/execution.js",
|
|
82
102
|
"types": "./engine/execution.d.ts"
|
|
83
103
|
},
|
|
104
|
+
"./engine/failure-artifact-policy.js": {
|
|
105
|
+
"import": "./engine/failure-artifact-policy.js",
|
|
106
|
+
"types": "./engine/failure-artifact-policy.d.ts"
|
|
107
|
+
},
|
|
108
|
+
"./engine/family-run.js": {
|
|
109
|
+
"import": "./engine/family-run.js",
|
|
110
|
+
"types": "./engine/family-run.d.ts"
|
|
111
|
+
},
|
|
84
112
|
"./engine/identity-schema.js": {
|
|
85
113
|
"import": "./engine/identity-schema.js",
|
|
86
114
|
"types": "./engine/identity-schema.d.ts"
|
|
@@ -112,6 +140,14 @@
|
|
|
112
140
|
"import": "./engine/property-node.js",
|
|
113
141
|
"types": "./engine/property-node.d.ts"
|
|
114
142
|
},
|
|
143
|
+
"./engine/property-plan.js": {
|
|
144
|
+
"import": "./engine/property-plan.js",
|
|
145
|
+
"types": "./engine/property-plan.d.ts"
|
|
146
|
+
},
|
|
147
|
+
"./engine/property-policy.js": {
|
|
148
|
+
"import": "./engine/property-policy.js",
|
|
149
|
+
"types": "./engine/property-policy.d.ts"
|
|
150
|
+
},
|
|
115
151
|
"./engine/reporter-dispatcher.js": {
|
|
116
152
|
"import": "./engine/reporter-dispatcher.js",
|
|
117
153
|
"types": "./engine/reporter-dispatcher.d.ts"
|
|
@@ -140,7 +176,8 @@
|
|
|
140
176
|
"import": "./engine/retry-policy.js",
|
|
141
177
|
"types": "./engine/retry-policy.d.ts"
|
|
142
178
|
},
|
|
143
|
-
"./engine/run-artifact.
|
|
179
|
+
"./engine/run-artifact.js": {
|
|
180
|
+
"import": "./engine/run-artifact.js",
|
|
144
181
|
"types": "./engine/run-artifact.d.ts"
|
|
145
182
|
},
|
|
146
183
|
"./engine/run-result.js": {
|
|
@@ -151,9 +188,18 @@
|
|
|
151
188
|
"import": "./engine/run-timings.js",
|
|
152
189
|
"types": "./engine/run-timings.d.ts"
|
|
153
190
|
},
|
|
154
|
-
"./engine/
|
|
191
|
+
"./engine/runner-error-schema.js": {
|
|
192
|
+
"import": "./engine/runner-error-schema.js",
|
|
193
|
+
"types": "./engine/runner-error-schema.d.ts"
|
|
194
|
+
},
|
|
195
|
+
"./engine/runtime-attachment.js": {
|
|
196
|
+
"import": "./engine/runtime-attachment.js",
|
|
155
197
|
"types": "./engine/runtime-attachment.d.ts"
|
|
156
198
|
},
|
|
199
|
+
"./engine/runtime-matrix-expansion.js": {
|
|
200
|
+
"import": "./engine/runtime-matrix-expansion.js",
|
|
201
|
+
"types": "./engine/runtime-matrix-expansion.d.ts"
|
|
202
|
+
},
|
|
157
203
|
"./engine/test-attempt-history.js": {
|
|
158
204
|
"import": "./engine/test-attempt-history.js",
|
|
159
205
|
"types": "./engine/test-attempt-history.d.ts"
|
|
@@ -166,6 +212,14 @@
|
|
|
166
212
|
"import": "./engine/test-data.js",
|
|
167
213
|
"types": "./engine/test-data.d.ts"
|
|
168
214
|
},
|
|
215
|
+
"./engine/test-debug.js": {
|
|
216
|
+
"import": "./engine/test-debug.js",
|
|
217
|
+
"types": "./engine/test-debug.d.ts"
|
|
218
|
+
},
|
|
219
|
+
"./engine/test-family.js": {
|
|
220
|
+
"import": "./engine/test-family.js",
|
|
221
|
+
"types": "./engine/test-family.d.ts"
|
|
222
|
+
},
|
|
169
223
|
"./engine/test-node.js": {
|
|
170
224
|
"import": "./engine/test-node.js",
|
|
171
225
|
"types": "./engine/test-node.d.ts"
|
|
@@ -186,6 +240,10 @@
|
|
|
186
240
|
"import": "./engine/workload-parameters.js",
|
|
187
241
|
"types": "./engine/workload-parameters.d.ts"
|
|
188
242
|
},
|
|
243
|
+
"./module-loading-scope.js": {
|
|
244
|
+
"import": "./module-loading-scope.js",
|
|
245
|
+
"types": "./module-loading-scope.d.ts"
|
|
246
|
+
},
|
|
189
247
|
"./packages/engine/assertion-protocol.entry-point.js": {
|
|
190
248
|
"import": "./packages/engine/assertion-protocol.entry-point.js",
|
|
191
249
|
"types": "./packages/engine/assertion-protocol.entry-point.d.ts"
|
|
@@ -212,18 +270,32 @@
|
|
|
212
270
|
"./assertion-protocol/assertion-reference.js",
|
|
213
271
|
"./assertion-protocol/source-location-forwarding.js",
|
|
214
272
|
"./attachments/json-snapshot.js",
|
|
273
|
+
"./compare/serialization-context.js",
|
|
274
|
+
"./compare/serialized-value-schema.js",
|
|
275
|
+
"./engine/artifact-schema.js",
|
|
215
276
|
"./engine/assertion-recorder.js",
|
|
277
|
+
"./engine/assertion-result-schema.js",
|
|
216
278
|
"./engine/async-leak-diagnostics.js",
|
|
279
|
+
"./engine/benchmark-calibration-plan.js",
|
|
217
280
|
"./engine/benchmark-node.js",
|
|
218
281
|
"./engine/case-execution-lifecycle.js",
|
|
282
|
+
"./engine/diff-schema.js",
|
|
283
|
+
"./engine/engine.js",
|
|
219
284
|
"./engine/execution-async-leak-policy.js",
|
|
220
285
|
"./engine/execution-error-ownership.js",
|
|
221
286
|
"./engine/execution-global-error-observer.js",
|
|
222
287
|
"./engine/execution-observation.js",
|
|
223
288
|
"./engine/execution-options.js",
|
|
289
|
+
"./engine/execution.js",
|
|
290
|
+
"./engine/failure-artifact-policy.js",
|
|
291
|
+
"./engine/family-evidence-schema.js",
|
|
292
|
+
"./engine/family-run.js",
|
|
224
293
|
"./engine/identity-schema.js",
|
|
225
294
|
"./engine/native-resource-observation.js",
|
|
226
295
|
"./engine/property-execution-host.js",
|
|
296
|
+
"./engine/property-inconclusive.js",
|
|
297
|
+
"./engine/property-plan.js",
|
|
298
|
+
"./engine/property-policy.js",
|
|
227
299
|
"./engine/reporter-error-delivery-tracking.js",
|
|
228
300
|
"./engine/reporter-output-scope.js",
|
|
229
301
|
"./engine/reporter-output.js",
|
|
@@ -231,13 +303,20 @@
|
|
|
231
303
|
"./engine/resource-owner-observation.js",
|
|
232
304
|
"./engine/run-result.js",
|
|
233
305
|
"./engine/run-timings.js",
|
|
306
|
+
"./engine/runner-error-schema.js",
|
|
307
|
+
"./engine/runtime-attachment.js",
|
|
234
308
|
"./engine/standard-engine.js",
|
|
235
309
|
"./engine/test-body-resource-attachment.js",
|
|
236
310
|
"./engine/test-body.js",
|
|
237
311
|
"./engine/test-data.js",
|
|
312
|
+
"./engine/test-debug-context.js",
|
|
313
|
+
"./engine/test-debug-recording.js",
|
|
314
|
+
"./engine/test-debug.js",
|
|
315
|
+
"./engine/test-family.js",
|
|
238
316
|
"./engine/test-node.js",
|
|
239
|
-
"./engine/witness-file.js"
|
|
317
|
+
"./engine/witness-file.js",
|
|
318
|
+
"./packages/engine/engine.entry-point.js"
|
|
240
319
|
],
|
|
241
320
|
"type": "module",
|
|
242
|
-
"version": "0.0.
|
|
321
|
+
"version": "0.0.79"
|
|
243
322
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import type { Engine } from '../../engine/engine.ts';
|
|
2
|
-
import type { PropertyTestCaseOptions, BenchmarkTestCaseOptions, RootOptions, SkippedTestCaseOptions, SuiteOptions, TableOptions, TestCaseOptions, TestNode,
|
|
3
|
-
export type { TestRandom } from '../../engine/test-scope.ts';
|
|
2
|
+
import type { PropertyTestCaseOptions, BenchmarkTestCaseOptions, RootOptions, SkippedTestCaseOptions, SuiteOptions, TableOptions, TestCaseOptions, TestNode, ThrowingTestCaseOptions, WorkloadTestCaseOptions } from '../../engine/test-node.ts';
|
|
4
3
|
export type { AttachmentMetadata, AttachmentWriter, AttachmentLimits, RuntimeAttachments, RuntimeAttachmentArtifact } from '../../engine/runtime-attachment.ts';
|
|
5
4
|
export { attachTestBodyFamily, forwardTestBodyFamily, readTestBodyFamily } from '../../engine/test-body.ts';
|
|
6
|
-
export
|
|
5
|
+
export { attachTestBodyOrigin, captureTestBodyOrigin, forwardTestBodyOrigin, readTestBodyOrigin, isTableBodyOrigin } from '../../engine/test-body.ts';
|
|
6
|
+
export type { TestBodyOrigin, TestBodyFamilyAttachment } from '../../engine/test-body.ts';
|
|
7
7
|
export type { PropertyPolicy, PropertySettings, PropertySettingsDeclaration, PropertyBodyDefinition, PropertyPolicyResolution } from '../../engine/property-node.ts';
|
|
8
|
-
export type { PropertyTestCaseExecution } from '../../engine/test-node.ts';
|
|
9
|
-
export type { PropertyTestCaseOptions } from '../../engine/test-node.ts';
|
|
10
8
|
export declare function createPropertyTestCase(options: PropertyTestCaseOptions): ReturnType<Engine['createPropertyTestCase']>;
|
|
11
9
|
export declare function createBenchmarkTestCase(options: BenchmarkTestCaseOptions): ReturnType<Engine['createBenchmarkTestCase']>;
|
|
12
10
|
export { attachBenchmarkCalibrationBody, readBenchmarkCalibrationBody } from '../../engine/benchmark-node.ts';
|
|
13
11
|
export type { BenchmarkCalibrationBody } from '../../engine/benchmark-node.ts';
|
|
14
|
-
export type { BenchmarkBody, BenchmarkScope, BenchmarkTestCaseOptions } from '../../engine/test-node.ts';
|
|
15
12
|
export { maximumRetainedSamples, minimumInferentialSamples } from '../../engine/benchmark-limits.ts';
|
|
16
13
|
export { benchmarkLifecycleVersion } from '../../engine/benchmark-result.ts';
|
|
17
14
|
export { resolveBenchmarkGarbageCollection } from '../../engine/benchmark-garbage-collection.ts';
|
|
@@ -23,25 +20,26 @@ export declare function createTable(options: TableOptions): ReturnType<Engine['c
|
|
|
23
20
|
export declare function createTestCase(options: TestCaseOptions): ReturnType<Engine['createTestCase']>;
|
|
24
21
|
export declare function createThrowingTestCase(options: ThrowingTestCaseOptions): ReturnType<Engine['createThrowingTestCase']>;
|
|
25
22
|
export declare function createWorkloadTestCase(options: WorkloadTestCaseOptions): ReturnType<Engine['createWorkloadTestCase']>;
|
|
26
|
-
export declare
|
|
27
|
-
export declare
|
|
28
|
-
export declare
|
|
23
|
+
export declare const createTestPlan: Engine['createTestPlan'];
|
|
24
|
+
export declare const createTestPlanFromTestFiles: Engine['createTestPlanFromTestFiles'];
|
|
25
|
+
export declare const execute: Engine['execute'];
|
|
26
|
+
export declare const prepareFamily: Engine['prepareFamily'];
|
|
27
|
+
export type { CollectedFamilyRun, FamilyExecuteOptions, FamilyRunFacts, FamilyPreparationFacts, PrepareFamilyRequest, PreparedFamilyRun } from '../../engine/family-run.ts';
|
|
29
28
|
export declare function ownsTestNode(value: unknown): value is TestNode;
|
|
30
|
-
export type { Engine } from '../../engine/engine.ts';
|
|
29
|
+
export type { Engine, TestPlanFactory, TestPlanFromTestFilesFactory } from '../../engine/engine.ts';
|
|
31
30
|
export type { BenchmarkGarbageCollectionCapability } from '../../engine/benchmark-garbage-collection.ts';
|
|
32
31
|
export type { Execute, ExecuteExecution, ExecuteOptions } from '../../engine/execution.ts';
|
|
33
32
|
export type { ExecuteResultFinalizer } from '../../engine/execution-options.ts';
|
|
34
33
|
export type { CoverageArtifact, CoverageArtifactPayload, CoverageMetric, CoverageReportFile, CoverageRunnerErrorCause, CoverageThresholdFailure } from '../../engine/coverage-artifact.ts';
|
|
35
|
-
export type {
|
|
34
|
+
export type { TestPlanFromTestFilesOptions, TestPlan, TestPlanCase, TestPlanCaseBody, TestPlanCaseExecution } from '../../engine/test-plan.ts';
|
|
36
35
|
export { formatCaseId, workIdentityKey } from '../../engine/identity.ts';
|
|
37
36
|
export { canonicalIdentityJson } from '../../canonical-identity.ts';
|
|
38
37
|
export { snapshotValidatedJson } from '../../attachments/json-snapshot.ts';
|
|
39
|
-
export type { CaseId, RuntimeDimensions, RuntimeId, RuntimeScenarioBindings, TestId, WorkId, WorkloadId } from '../../engine/identity.ts';
|
|
40
|
-
export type
|
|
38
|
+
export type { CaseId, RuntimeDimensions, RuntimeId, RuntimeScenarioBindings, TestId, WorkId, WorkloadId, AttemptId, TestFamilyId } from '../../engine/identity.ts';
|
|
39
|
+
export { type DefinedReporter, type DirectorySinkDeclaration, type FileSinkDeclaration, type FinalResultReporter, type MemorySinkDeclaration, type ManagedStandardOutputSinkDeclaration, type RealTimeReporter, type Reporter, type ReporterEvent, type RunFacts, type SinkDeclaration, type RawStandardOutputSinkDeclaration, type StandardOutputSinkDeclaration, type StreamSinkDeclaration, defineReporter, isReporter, ReporterSinkConflictError, validateReporterSinks } from '../../engine/reporter.ts';
|
|
41
40
|
export type { ReporterDispatcher, ReporterDispatcherDependencies } from '../../engine/reporter-dispatcher.ts';
|
|
42
41
|
export type { ReportingContext } from '../../engine/reporting-context.ts';
|
|
43
42
|
export { formatAssertionSourceLocations, formatDefinitionLocations, formatSourceLocation, relativizeSourceLocationPath } from '../../engine/reporting-context.ts';
|
|
44
|
-
export { defineReporter, isReporter, ReporterSinkConflictError, validateReporterSinks } from '../../engine/reporter.ts';
|
|
45
43
|
export { createPlainOutputRenderer, defineOutputRenderer, isOutputRenderer } from '../../engine/reporter-output.ts';
|
|
46
44
|
export type { DefinedOutputRenderer, OutputIntentAnnotation, OutputIntentRole, OutputIntentSeverity, OutputLineIntent, OutputLineWriter, OutputRenderer, ReporterOutput } from '../../engine/reporter-output.ts';
|
|
47
45
|
export type { AssertAssertionFacade } from '../../engine/assertion-facade.ts';
|
|
@@ -63,23 +61,18 @@ export type { ArrayContainsPartialAssertionNode, MembersPartialDeepEqualAssertio
|
|
|
63
61
|
export type { DefinedAssertionNode, NotNullAssertionNode, NullAssertionNode, UndefinedAssertionNode } from '../../assertion-protocol/assertions/presence.ts';
|
|
64
62
|
export type { MatchAssertionNode, StringContainsAssertionNode } from '../../assertion-protocol/assertions/string.ts';
|
|
65
63
|
export type { HasPropertyAssertionNode, InstanceOfAssertionNode, TypeAssertionNode } from '../../assertion-protocol/assertions/type-shape.ts';
|
|
66
|
-
export type
|
|
64
|
+
export { type AssertionTestFailure, type BodyErrorTestFailure, type CaseRunnerErrorOptions, type CoverageRunnerError, type FailOutcome, type HedgedDuplicateConflictFailure, type InconclusiveOutcome, type OrphanedNode, type PassOutcome, type PerTestResult, type TestAttemptResult, type RetrySummary, type RunPlanStatus, type RunResult, type RunnerError, type RunSummary, type SkipOutcome, type SuiteRunCounts, type TestContractFailure, type TestFailure, type TestOutcome, type HedgedConflictArtifact, type HedgedConflictArtifactPayload, type HedgedConflictEvidence, type RunArtifact, type PermissionDeniedRunnerError, type PermissionDeniedRunnerErrorCause, type PropertyCaseEvidence, CaseRunnerError, isCaseRunnerError, isPermissionDeniedRunnerError, singleAttemptResult, isTestDebugArtifact } from '../../engine/run-result.ts';
|
|
67
65
|
export type { ProcessUsageSnapshot, RunProcessUsage, RunProcessUsageTracker } from '../../engine/process-usage.ts';
|
|
68
|
-
export type { CapturedOutputArtifact, CapturedOutputArtifactPayload, RunArtifactId, RunArtifactScope } from '../../engine/run-artifact.ts';
|
|
69
|
-
export type { HedgedConflictArtifact, HedgedConflictArtifactPayload, HedgedConflictEvidence, RunArtifact } from '../../engine/run-result.ts';
|
|
70
|
-
export type { AttemptId } from '../../engine/identity.ts';
|
|
66
|
+
export type { CapturedOutputArtifact, CapturedOutputArtifactPayload, RunArtifactId, RunArtifactScope, AdapterArtifact, WorkerCrashArtifact, ProcessExhaustionArtifact, BoundaryFailureArtifact, TestDebugArtifact } from '../../engine/run-artifact.ts';
|
|
71
67
|
export type { TestRetryPolicy } from '../../engine/retry-policy.ts';
|
|
72
68
|
export type { AmbientNoiseEstimate, ResourceScope, RunPreciseTimingReport, RunTimingAggregate, RunTimingObservationWindow, RunTimings, RunTimingSpan, RunTimingSpanKind, RunTimingSummary, TimingCollectionOverhead, TimingSpanStatus } from '../../engine/run-timings.ts';
|
|
73
69
|
export type { AssertAssertionNode, AssertionNode, AssertionResult, CompositeAssertionChildNode, CompositeAssertionNode, ForeignAssertionNode, ForeignAssertionResult, RequireAssertionNode } from '../../assertion-protocol/assertion-node.ts';
|
|
74
|
-
export type { BuilderTestCaseExecution, RootOptions, BodyTestCaseExecution, Suite, SkippedTestCaseExecution, SkippedTestCaseOptions, SuiteOptions, Table, TableCase, TableCaseOptions, TableOptions, TestCase, TestCaseDefinition, TestCaseExecution, WorkloadTestCaseExecution, WorkloadTestCaseOptions, WorkloadTestCaseVariant, TestCaseOptions, DefinitionLocations,
|
|
75
|
-
export type { TestScopeAssertContext, TestBody, TestScope, ThrowingTestBody, ThrowingTestScope } from '../../engine/test-scope.ts';
|
|
70
|
+
export type { PropertyTestCaseExecution, PropertyTestCaseOptions, BenchmarkBody, BenchmarkScope, BenchmarkTestCaseOptions, BuilderTestCaseExecution, RootOptions, BodyTestCaseExecution, Suite, SkippedTestCaseExecution, SkippedTestCaseOptions, SuiteOptions, Table, TableCase, TableCaseOptions, TableOptions, TestCase, TestCaseDefinition, TestCaseExecution, WorkloadTestCaseExecution, WorkloadTestCaseOptions, WorkloadTestCaseVariant, TestCaseOptions, DefinitionLocations, TestNode, ThrowingTestCaseExecution, ThrowingTestCaseOptions } from '../../engine/test-node.ts';
|
|
71
|
+
export type { TestRandom, TestScopeAssertContext, TestBody, TestScope, ThrowingTestBody, ThrowingTestScope } from '../../engine/test-scope.ts';
|
|
76
72
|
export { stampTestNodeFamily, testNodeFamily } from '../../engine/test-node.ts';
|
|
77
73
|
export { attachTestBodyResourceAttachments, hasAttachedResourceDescriptors, hasTestBodyResourceAttachments, readTestBodyResourceAttachments } from '../../engine/test-body-resource-attachment.ts';
|
|
78
|
-
export { CaseRunnerError, isCaseRunnerError, isPermissionDeniedRunnerError } from '../../engine/run-result.ts';
|
|
79
|
-
export type { PermissionDeniedRunnerError, PermissionDeniedRunnerErrorCause } from '../../engine/run-result.ts';
|
|
80
74
|
export type { ResourceAttachedTestBody, ResourceFreeTestBody, TestBodyDirectResourceAttachmentSummary, TestBodyExecutionRequirementSummary, TestBodyLeafRuntimeSummary, TestBodyResourceAttachments, TestBodyResourceSummary, TestBodyRuntimeScenarioBindingSummary, TestBodyRuntimeSummary, TestBodyScenarioSlotSummary } from '../../engine/test-body-resource-attachment.ts';
|
|
81
|
-
export type { CaptureMode, DuplicateExecutionControl, TestAnnotations, TestAnnotationsInput, TestControls, TestControlsInput
|
|
82
|
-
export type { TestPlan, TestPlanCase, TestPlanCaseBody, TestPlanCaseExecution } from '../../engine/test-plan.ts';
|
|
75
|
+
export type { CaptureMode, DuplicateExecutionControl, TestAnnotations, TestAnnotationsInput, TestControls, TestControlsInput } from '../../engine/test-data.ts';
|
|
83
76
|
export type { WorkloadInput, WorkloadParameters } from '../../engine/workload-input.ts';
|
|
84
77
|
export { attachTestBodyWorkloadResolver, forwardTestBodyResources } from '../../engine/test-body.ts';
|
|
85
78
|
export { observeResourceOwnerAcquisition, releaseResourceOwner } from '../../engine/resource-owner-observation.ts';
|
|
@@ -94,10 +87,18 @@ export { propertyScopeContractFailure, propertyObservationContractFailure } from
|
|
|
94
87
|
export { createEngine } from '../../engine/standard-engine.ts';
|
|
95
88
|
export type { TestContractFailureCode } from '../../engine/test-contract-failure-code.ts';
|
|
96
89
|
export { propertyFailureIdentity, matchPropertyFailure, propertyTrialEvidence } from '../../engine/property-failure.ts';
|
|
97
|
-
export type { PropertyCaseEvidence } from '../../engine/run-result.ts';
|
|
98
90
|
export type { PropertyInvocationSummary, PropertyTrialPosition, PropertyPhase, PropertyInvocationEvidence, PropertyFailureObservation, PropertyShrinkStatus } from '../../engine/property-failure-evidence.ts';
|
|
99
91
|
export type { PropertyWitnessFile } from '../../engine/witness-file.ts';
|
|
100
92
|
export type { PropertyCorpusSnapshot } from '../../engine/property-corpus.ts';
|
|
101
93
|
export { parseWitnessFile } from '../../engine/witness-file.ts';
|
|
102
94
|
export type { EncodedPropertyInput, WitnessHeader, PropertyWitnessTarget, SimulationWitnessFile, WitnessFile } from '../../engine/witness-file.ts';
|
|
95
|
+
export { createRunResult } from '../../engine/execution-result.ts';
|
|
96
|
+
export { isTestControlError } from '../../engine/test-control-error.ts';
|
|
97
|
+
export { defineTestFamily, isDefinedTestFamily } from '../../engine/test-family.ts';
|
|
98
|
+
export type { TestFamily, TestFamilyDefinition, DefinedTestFamily, FamilyValue, FamilyModuleReference, FamilyFeatures, FamilyVariant, FamilyPreparationInput, FamilyBackend, FamilyPreparation, FamilyCollectionInput, FamilyCollection, FamilyEvent, FamilyAnalysisContext } from '../../engine/test-family.ts';
|
|
99
|
+
export { inconclusivePropertyTrial } from '../../engine/property-inconclusive.ts';
|
|
100
|
+
export { defaultFailureArtifactPolicy, type FailureArtifactPolicy } from '../../engine/failure-artifact-policy.ts';
|
|
101
|
+
export type { ExecuteDebugSelection, DebugRecordingProvider, TestDebugScope, TimelineEntry, DebugStats } from '../../engine/test-debug.ts';
|
|
102
|
+
export type { TestPlanCollectionPolicy } from '../../engine/plan-collection-policy.ts';
|
|
103
|
+
export type { TestRoot } from '../../engine/test-node.ts';
|
|
103
104
|
//# sourceMappingURL=engine.entry-point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/engine/engine.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,KAAK,EACR,uBAAuB,EACvB,wBAAwB,EACxB,WAAW,EACX,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,
|
|
1
|
+
{"version":3,"file":"engine.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/engine/engine.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,KAAK,EACR,uBAAuB,EACvB,wBAAwB,EACxB,WAAW,EACX,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,uBAAuB,EACvB,uBAAuB,EAC1B,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACR,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EAC5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC5G,OAAO,EACH,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAE1F,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AC;AAExH,YAAY,EACR,yBAAyB,EACzB,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,0BAA0B,EAC1B,oBAAoB,EACvB,MAAM,2CAA2C,CAAC;AAEnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,YAAY,EACR,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACd,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACpF,YAAY,EACR,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,sBAAsB,EACtB,aAAa,EACb,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,qBAAqB,EACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAElF,OAAO,EAAE,4BAA4B,EAAE,KAAK,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEnH,YAAY,EACR,qBAAqB,EACrB,sBAAsB,EACtB,cAAc,EACd,aAAa,EACb,UAAU,EACb,MAAM,4BAA4B,CAAC;AAEpC,YAAY,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,YAAY,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defaultEngine } from "../../engine/standard-engine.js";
|
|
2
2
|
export { attachTestBodyFamily, forwardTestBodyFamily, readTestBodyFamily } from "../../engine/test-body.js";
|
|
3
|
+
export { attachTestBodyOrigin, captureTestBodyOrigin, forwardTestBodyOrigin, readTestBodyOrigin, isTableBodyOrigin } from "../../engine/test-body.js";
|
|
3
4
|
export function createPropertyTestCase(options) {
|
|
4
5
|
return defaultEngine.createPropertyTestCase(options);
|
|
5
6
|
}
|
|
@@ -31,30 +32,25 @@ export function createThrowingTestCase(options) {
|
|
|
31
32
|
export function createWorkloadTestCase(options) {
|
|
32
33
|
return defaultEngine.createWorkloadTestCase(options);
|
|
33
34
|
}
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
export
|
|
38
|
-
return defaultEngine.createTestPlanFromTestFiles(options);
|
|
39
|
-
}
|
|
40
|
-
export async function execute(testPlan, options) {
|
|
41
|
-
return await defaultEngine.execute(testPlan, options);
|
|
42
|
-
}
|
|
35
|
+
export const createTestPlan = defaultEngine.createTestPlan;
|
|
36
|
+
export const createTestPlanFromTestFiles = defaultEngine.createTestPlanFromTestFiles;
|
|
37
|
+
export const execute = defaultEngine.execute;
|
|
38
|
+
export const prepareFamily = defaultEngine.prepareFamily;
|
|
43
39
|
export function ownsTestNode(value) {
|
|
44
40
|
return defaultEngine.ownsTestNode(value);
|
|
45
41
|
}
|
|
46
42
|
export { formatCaseId, workIdentityKey } from "../../engine/identity.js";
|
|
47
43
|
export { canonicalIdentityJson } from "../../canonical-identity.js";
|
|
48
44
|
export { snapshotValidatedJson } from "../../attachments/json-snapshot.js";
|
|
49
|
-
export { formatAssertionSourceLocations, formatDefinitionLocations, formatSourceLocation, relativizeSourceLocationPath } from "../../engine/reporting-context.js";
|
|
50
45
|
export { defineReporter, isReporter, ReporterSinkConflictError, validateReporterSinks } from "../../engine/reporter.js";
|
|
46
|
+
export { formatAssertionSourceLocations, formatDefinitionLocations, formatSourceLocation, relativizeSourceLocationPath } from "../../engine/reporting-context.js";
|
|
51
47
|
export { createPlainOutputRenderer, defineOutputRenderer, isOutputRenderer } from "../../engine/reporter-output.js";
|
|
52
48
|
export { defaultSerializationBudget, serializeValue, serializeValueWithBudget } from "../../compare/serialized-value.js";
|
|
53
49
|
export { captureSourceLocation, resolveSourceLocation, unknownSourceLocation } from "../../assertion-protocol/source-location.js";
|
|
54
50
|
export { forwardAssertionSourceLocations } from "../../assertion-protocol/source-location-forwarding.js";
|
|
51
|
+
export { CaseRunnerError, isCaseRunnerError, isPermissionDeniedRunnerError, singleAttemptResult, isTestDebugArtifact } from "../../engine/run-result.js";
|
|
55
52
|
export { stampTestNodeFamily, testNodeFamily } from "../../engine/test-node.js";
|
|
56
53
|
export { attachTestBodyResourceAttachments, hasAttachedResourceDescriptors, hasTestBodyResourceAttachments, readTestBodyResourceAttachments } from "../../engine/test-body-resource-attachment.js";
|
|
57
|
-
export { CaseRunnerError, isCaseRunnerError, isPermissionDeniedRunnerError } from "../../engine/run-result.js";
|
|
58
54
|
export { attachTestBodyWorkloadResolver, forwardTestBodyResources } from "../../engine/test-body.js";
|
|
59
55
|
export { observeResourceOwnerAcquisition, releaseResourceOwner } from "../../engine/resource-owner-observation.js";
|
|
60
56
|
export { snapshotWorkloadInput, workloadParameterIdentity } from "../../engine/workload-input.js";
|
|
@@ -64,4 +60,9 @@ export { propertyScopeContractFailure, propertyObservationContractFailure } from
|
|
|
64
60
|
export { createEngine } from "../../engine/standard-engine.js";
|
|
65
61
|
export { propertyFailureIdentity, matchPropertyFailure, propertyTrialEvidence } from "../../engine/property-failure.js";
|
|
66
62
|
export { parseWitnessFile } from "../../engine/witness-file.js";
|
|
63
|
+
export { createRunResult } from "../../engine/execution-result.js";
|
|
64
|
+
export { isTestControlError } from "../../engine/test-control-error.js";
|
|
65
|
+
export { defineTestFamily, isDefinedTestFamily } from "../../engine/test-family.js";
|
|
66
|
+
export { inconclusivePropertyTrial } from "../../engine/property-inconclusive.js";
|
|
67
|
+
export { defaultFailureArtifactPolicy } from "../../engine/failure-artifact-policy.js";
|
|
67
68
|
//# sourceMappingURL=engine.entry-point.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/engine/engine.entry-point.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"engine.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/engine/engine.entry-point.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAqBhE,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC5G,OAAO,EACH,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,2BAA2B,CAAC;AAWnC,MAAM,UAAU,sBAAsB,CAAC,OAAgC;IACnE,OAAO,aAAa,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,uBAAuB,CACnC,OAAiC;IAEjC,OAAO,aAAa,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;AAC1D,CAAC;AAED,OAAO,EAAE,8BAA8B,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9G,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AACrG,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AA6BjG,MAAM,UAAU,UAAU,CAAC,OAAoB;IAC3C,OAAO,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,OAAqB;IAC7C,OAAO,aAAa,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,OAA+B;IACjE,OAAO,aA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,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAkBpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAElF,OAAO,EAAE,4BAA4B,EAA8B,MAAM,yCAAyC,CAAC"}
|
package/readme.md
CHANGED
|
@@ -20,6 +20,9 @@ Top-level API:
|
|
|
20
20
|
- `createTable(options)`
|
|
21
21
|
- `createTestPlan(root)`
|
|
22
22
|
- `execute(testPlan)`
|
|
23
|
+
- `defineTestFamily(definition)`
|
|
24
|
+
- `prepareFamily(request)`
|
|
25
|
+
- `execute(collectedFamilyRun, options)`
|
|
23
26
|
- `createEngine()`
|
|
24
27
|
- `formatCaseId(caseId)`
|
|
25
28
|
- `workIdentityKey(workId)`
|
|
@@ -38,7 +41,7 @@ Top-level API:
|
|
|
38
41
|
- `RequireAssertionFacade`, `FailedCheck`, `TestFailure`, `RunnerError`
|
|
39
42
|
- `Diff`, `DiffPathSegment`, `SerializedValue`, `SerializationBudget`
|
|
40
43
|
- `TestAnnotations`, `TestAnnotationsInput`, `TestControls`, `TestControlsInput`
|
|
41
|
-
- `
|
|
44
|
+
- `TestFamilyId`, `CaptureMode`
|
|
42
45
|
|
|
43
46
|
The top-level constructors share one default engine instance, including
|
|
44
47
|
installed package copies in the same process. Use
|
|
@@ -285,3 +288,84 @@ Property invocation evidence includes a nullable `summary` with phase accounting
|
|
|
285
288
|
seeds, input coverage, and exhaustive traversal state. `original` and `retained`
|
|
286
289
|
observations are jointly present or jointly null. Progress snapshots use the same
|
|
287
290
|
shape as final case and attempt results; historical summaries may be unavailable.
|
|
291
|
+
|
|
292
|
+
## Family Definitions
|
|
293
|
+
|
|
294
|
+
`defineTestFamily` creates a branded `TestFamily<Settings>` with an implementation
|
|
295
|
+
ID/version, explicit module reference (or `null` for local use), supported
|
|
296
|
+
features, a settings parser, and a lazy backend loader. Importing or inspecting a
|
|
297
|
+
definition does not load its backend. Definitions do not register global state.
|
|
298
|
+
|
|
299
|
+
`parseSettings` returns a deeply frozen JSON copy. Unsupported values and cycles
|
|
300
|
+
are rejected; nested containers use the shared JSON snapshot depth limit of 64.
|
|
301
|
+
`TestFamilyId` is the stable string stored in plans and results.
|
|
302
|
+
|
|
303
|
+
Executable work, work units, and artifacts carry a nullable `familyVariant`.
|
|
304
|
+
Non-null variants distinguish implementations' executable targets while retaining
|
|
305
|
+
logical case identity. Neutral variants preserve existing identity keys.
|
|
306
|
+
|
|
307
|
+
## Failure artifact policy
|
|
308
|
+
|
|
309
|
+
`execute` accepts `failureArtifacts` with captured-output, assertion serialization,
|
|
310
|
+
and human rendering limits. Omission uses `defaultFailureArtifactPolicy`.
|
|
311
|
+
Concurrent and nested executions keep their serialization budgets isolated;
|
|
312
|
+
diagnostic policy does not change collected test identity.
|
|
313
|
+
|
|
314
|
+
Reporter contexts from older runners may omit `failureArtifacts`. Rendering then
|
|
315
|
+
uses the active execution policy or its defaults.
|
|
316
|
+
|
|
317
|
+
`RunArtifact` includes `WorkerCrashArtifact` and `ProcessExhaustionArtifact`.
|
|
318
|
+
They preserve active `WorkId` and `AttemptId` evidence, unavailable metadata as
|
|
319
|
+
`null`, and capture provenance. Case-owned artifacts accompany `test-end`;
|
|
320
|
+
run-scoped artifacts accompany the final result. These variants need no
|
|
321
|
+
attachment backend or standalone files. Existing runner-error classifications
|
|
322
|
+
and case verdicts remain authoritative.
|
|
323
|
+
|
|
324
|
+
### Debug diagnostics
|
|
325
|
+
|
|
326
|
+
Supplied execution options require `debug: { mode: 'off' }`,
|
|
327
|
+
`debug: { mode: 'all' }`, or `debug: { mode: 'selected', work: [...] }`.
|
|
328
|
+
Calling `execute(plan)` keeps debug recording off. Selected identities never
|
|
329
|
+
change which tests execute.
|
|
330
|
+
|
|
331
|
+
Both test scopes expose `scope.debug.includeRecording({ name, recorded })`.
|
|
332
|
+
The callback returns application-owned event arrays and is never invoked when
|
|
333
|
+
debug is off. Provider failures are artifact runner errors; case verdicts remain
|
|
334
|
+
intact.
|
|
335
|
+
|
|
336
|
+
`TestDebugArtifact` is a typed, JSON-safe result artifact. Measurements identify
|
|
337
|
+
shared observation windows and sampling limits. Incomplete `debug-checkpoint`
|
|
338
|
+
events are diagnostic progress; completed evidence appears in `test-end.artifacts`
|
|
339
|
+
and `RunResult.artifacts`. Direct engine execution keeps this evidence in memory.
|
|
340
|
+
|
|
341
|
+
## Direct family execution
|
|
342
|
+
|
|
343
|
+
Use an engine-created plan, an explicit family definition, and an absolute
|
|
344
|
+
project root. Read immutable identity, settings, and preparation evidence from
|
|
345
|
+
`prepared.facts` before selection. Select work by its prepared identity. The engine
|
|
346
|
+
rejects empty,
|
|
347
|
+
unknown, or duplicate selections. Authored skips remain in the result.
|
|
348
|
+
|
|
349
|
+
```ts
|
|
350
|
+
await using prepared = await engine.prepareFamily({
|
|
351
|
+
testPlan,
|
|
352
|
+
testFamily,
|
|
353
|
+
settings,
|
|
354
|
+
projectRoot,
|
|
355
|
+
signal
|
|
356
|
+
});
|
|
357
|
+
const collected = await prepared.collect({
|
|
358
|
+
workIds: prepared.testPlan.cases.map((testCase) => testCase.workId),
|
|
359
|
+
signal
|
|
360
|
+
});
|
|
361
|
+
const result = await engine.execute(collected, { ...executionOptions, signal });
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
Preparations are single-use: collect once and execute once. Failed collection
|
|
365
|
+
closes the preparation. Execution disposes family resources before final delivery;
|
|
366
|
+
cleanup failures remain in the failed result. Explicit disposal cancels and awaits
|
|
367
|
+
active work, and is a no-op after engine cleanup. Prepare again for each rerun.
|
|
368
|
+
|
|
369
|
+
Runtime families use ordinary body execution. Analysis families supply evidence
|
|
370
|
+
through the engine and never invoke test bodies. Both use the same reporters.
|
|
371
|
+
The top-level functions use the default engine.
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.125"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@overkill-dev/engine",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@overkill-dev/engine@0.0.
|
|
21
|
-
"purl": "pkg:npm/@overkill-dev/engine@0.0.
|
|
19
|
+
"version": "0.0.79",
|
|
20
|
+
"bom-ref": "pkg:npm/@overkill-dev/engine@0.0.79",
|
|
21
|
+
"purl": "pkg:npm/@overkill-dev/engine@0.0.79"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"ref": "pkg:npm/@enormora/clock@0.0.3"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
"ref": "pkg:npm/@overkill-dev/engine@0.0.
|
|
109
|
+
"ref": "pkg:npm/@overkill-dev/engine@0.0.79",
|
|
110
110
|
"dependsOn": [
|
|
111
111
|
"pkg:npm/@enormora/clock@0.0.3",
|
|
112
112
|
"pkg:npm/diff@9.0.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type ExecuteProcessBudgets = {
|
|
2
|
-
readonly activeResourceCount: number | null;
|
|
3
|
-
readonly javaScriptEngineHeapBytes: number | null;
|
|
4
|
-
readonly residentSetBytes: number | null;
|
|
5
|
-
readonly residentSetGrowthBytesPerSecond: number | null;
|
|
6
|
-
};
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=execution-process-budget-breach.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"execution-process-budget-breach.d.ts","sourceRoot":"","sources":["../../../../source/engine/execution-process-budget-breach.ts"],"names":[],"mappings":"MAGM,MAAM,qBAAqB,GAAG;IAChC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3D,CAAC;MAII,CAA4B,EAKjC,CAAC"}
|