@qualflare/cucumberjs 0.1.0 → 0.3.0
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 +55 -14
- package/dist/formatter/index.cjs +230 -303
- package/dist/formatter/index.cjs.map +1 -1
- package/dist/formatter/index.d.cts +14 -1
- package/dist/formatter/index.d.ts +14 -1
- package/dist/formatter/index.js +230 -303
- package/dist/formatter/index.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -2
- package/dist/index.d.ts +33 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -10,12 +10,25 @@ declare class QualflareCucumberFormatter extends Formatter {
|
|
|
10
10
|
private readonly attemptTracker;
|
|
11
11
|
private readonly runHookTracker;
|
|
12
12
|
private readonly finishedCases;
|
|
13
|
+
/** One promise per `testCaseFinished` envelope, resolving once that
|
|
14
|
+
* scenario's `AttemptTracker.finish()` (which itself awaits any pending
|
|
15
|
+
* video uploads — see its doc comment) has settled and, if it produced a
|
|
16
|
+
* result, been pushed into `finishedCases`. `finished()` awaits all of
|
|
17
|
+
* these before building/uploading the Collect payload, so a scenario
|
|
18
|
+
* whose only attachment is a still-uploading video is never silently
|
|
19
|
+
* dropped from the report. */
|
|
20
|
+
private readonly pendingCaseBuilds;
|
|
13
21
|
constructor(options: IFormatterOptions);
|
|
14
22
|
private onEnvelope;
|
|
15
23
|
private dispatch;
|
|
16
24
|
private onGherkinDocument;
|
|
17
25
|
finished(): Promise<void>;
|
|
18
|
-
|
|
26
|
+
/** Writes this process's Collect payload into `outputDir` under a unique
|
|
27
|
+
* filename. Never uploads: `qualflare-cli collect <outputDir>` does that,
|
|
28
|
+
* merging every file it finds there into one Launch. Multiple shards can
|
|
29
|
+
* therefore share one directory safely — the UUID filename is what keeps
|
|
30
|
+
* them from overwriting each other. */
|
|
31
|
+
private writeResults;
|
|
19
32
|
}
|
|
20
33
|
|
|
21
34
|
export { QualflareCucumberFormatter as default };
|
|
@@ -10,12 +10,25 @@ declare class QualflareCucumberFormatter extends Formatter {
|
|
|
10
10
|
private readonly attemptTracker;
|
|
11
11
|
private readonly runHookTracker;
|
|
12
12
|
private readonly finishedCases;
|
|
13
|
+
/** One promise per `testCaseFinished` envelope, resolving once that
|
|
14
|
+
* scenario's `AttemptTracker.finish()` (which itself awaits any pending
|
|
15
|
+
* video uploads — see its doc comment) has settled and, if it produced a
|
|
16
|
+
* result, been pushed into `finishedCases`. `finished()` awaits all of
|
|
17
|
+
* these before building/uploading the Collect payload, so a scenario
|
|
18
|
+
* whose only attachment is a still-uploading video is never silently
|
|
19
|
+
* dropped from the report. */
|
|
20
|
+
private readonly pendingCaseBuilds;
|
|
13
21
|
constructor(options: IFormatterOptions);
|
|
14
22
|
private onEnvelope;
|
|
15
23
|
private dispatch;
|
|
16
24
|
private onGherkinDocument;
|
|
17
25
|
finished(): Promise<void>;
|
|
18
|
-
|
|
26
|
+
/** Writes this process's Collect payload into `outputDir` under a unique
|
|
27
|
+
* filename. Never uploads: `qualflare-cli collect <outputDir>` does that,
|
|
28
|
+
* merging every file it finds there into one Launch. Multiple shards can
|
|
29
|
+
* therefore share one directory safely — the UUID filename is what keeps
|
|
30
|
+
* them from overwriting each other. */
|
|
31
|
+
private writeResults;
|
|
19
32
|
}
|
|
20
33
|
|
|
21
34
|
export { QualflareCucumberFormatter as default };
|