testeranto 0.146.2 → 0.146.5

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.
Files changed (215) hide show
  1. package/dist/common/src/Node.js +9 -6
  2. package/dist/common/src/PM/PM_WithEslintAndTsc.js +75 -58
  3. package/dist/common/src/PM/main.js +131 -79
  4. package/dist/common/src/PM/node.js +1 -14
  5. package/dist/common/src/PM/nodeSidecar.js +0 -1
  6. package/dist/common/src/Pure.js +17 -1
  7. package/dist/common/src/Pure.test.js +172 -0
  8. package/dist/common/src/build.js +0 -1
  9. package/dist/common/src/esbuildConfigs/consoleDetectorPlugin.js +22 -11
  10. package/dist/common/src/esbuildConfigs/nativeImportDetectorPlugin.js +24 -0
  11. package/dist/common/src/esbuildConfigs/pure.js +2 -1
  12. package/dist/common/src/esbuildConfigs/rebuildPlugin.js +1 -4
  13. package/dist/common/src/lib/BaseSuite.js +89 -0
  14. package/dist/common/src/lib/BaseSuite.test/node.test.js +9 -0
  15. package/dist/common/src/lib/BaseSuite.test/pure.test.js +9 -0
  16. package/dist/common/src/lib/BaseSuite.test/test.js +232 -0
  17. package/dist/common/src/lib/BaseSuite.test/web.test.js +9 -0
  18. package/dist/common/src/lib/abstractBase.js +1 -90
  19. package/dist/common/src/lib/abstractBase.test/MockGiven.js +17 -0
  20. package/dist/common/src/lib/abstractBase.test/MockThen.js +13 -0
  21. package/dist/common/src/lib/abstractBase.test/MockWhen.js +13 -0
  22. package/dist/common/src/lib/abstractBase.test/implementation.js +42 -0
  23. package/dist/common/src/lib/abstractBase.test/index.js +17 -0
  24. package/dist/common/src/lib/abstractBase.test/interface.js +12 -0
  25. package/dist/common/src/lib/abstractBase.test/specification.js +19 -0
  26. package/dist/common/src/lib/abstractBase.test/types.js +2 -0
  27. package/dist/common/src/lib/baseBuilder.test/TestBaseBuilder.js +36 -0
  28. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +97 -0
  29. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.interface.js +17 -0
  30. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.node.js +11 -0
  31. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.pure.js +11 -0
  32. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.specification.js +13 -0
  33. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.types.js +2 -0
  34. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.web.js +11 -0
  35. package/dist/common/src/lib/basebuilder.js +2 -20
  36. package/dist/common/src/lib/classBuilder.test/TestClassBuilder.js +41 -0
  37. package/dist/common/src/lib/classBuilder.test/classBuilder.test.implementation.js +182 -0
  38. package/dist/common/src/lib/classBuilder.test/classBuilder.test.interface.js +17 -0
  39. package/dist/common/src/lib/classBuilder.test/classBuilder.test.js +11 -0
  40. package/dist/common/src/lib/classBuilder.test/classBuilder.test.specification.js +41 -0
  41. package/dist/common/src/lib/classBuilder.test/classBuilder.test.types.js +2 -0
  42. package/dist/common/src/lib/core.js +4 -13
  43. package/dist/common/src/lib/core.test/MockCore.js +25 -0
  44. package/dist/common/src/lib/core.test/core.test.implementation.js +102 -0
  45. package/dist/common/src/lib/core.test/core.test.interface.js +18 -0
  46. package/dist/common/src/lib/core.test/core.test.js +17 -0
  47. package/dist/common/src/lib/core.test/core.test.specification.js +33 -0
  48. package/dist/common/src/lib/core.test/core.test.types.js +2 -0
  49. package/dist/common/src/lib/pmProxy.js +9 -166
  50. package/dist/common/src/lib/pmProxy.test/implementation.js +76 -0
  51. package/dist/common/src/lib/pmProxy.test/index.js +15 -0
  52. package/dist/common/src/lib/pmProxy.test/interface.js +37 -0
  53. package/dist/common/src/lib/pmProxy.test/mockPM.js +34 -0
  54. package/dist/common/src/lib/pmProxy.test/mockPMBase.js +115 -0
  55. package/dist/common/src/lib/pmProxy.test/specification.js +39 -0
  56. package/dist/common/src/lib/pmProxy.test/types.js +2 -0
  57. package/dist/common/src/run.js +6 -6
  58. package/dist/common/testeranto.config.js +33 -18
  59. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  60. package/dist/module/src/Node.js +9 -6
  61. package/dist/module/src/PM/PM_WithEslintAndTsc.js +75 -58
  62. package/dist/module/src/PM/main.js +131 -79
  63. package/dist/module/src/PM/node.js +1 -14
  64. package/dist/module/src/PM/nodeSidecar.js +0 -1
  65. package/dist/module/src/Pure.js +17 -1
  66. package/dist/module/src/Pure.test.js +167 -0
  67. package/dist/module/src/build.js +0 -1
  68. package/dist/module/src/esbuildConfigs/consoleDetectorPlugin.js +19 -11
  69. package/dist/module/src/esbuildConfigs/nativeImportDetectorPlugin.js +21 -0
  70. package/dist/module/src/esbuildConfigs/pure.js +2 -1
  71. package/dist/module/src/esbuildConfigs/rebuildPlugin.js +1 -4
  72. package/dist/module/src/lib/BaseSuite.js +85 -0
  73. package/dist/module/src/lib/BaseSuite.test/node.test.js +4 -0
  74. package/dist/module/src/lib/BaseSuite.test/pure.test.js +4 -0
  75. package/dist/module/src/lib/BaseSuite.test/test.js +227 -0
  76. package/dist/module/src/lib/BaseSuite.test/web.test.js +4 -0
  77. package/dist/module/src/lib/abstractBase.js +1 -89
  78. package/dist/module/src/lib/abstractBase.test/MockGiven.js +13 -0
  79. package/dist/module/src/lib/abstractBase.test/MockThen.js +9 -0
  80. package/dist/module/src/lib/abstractBase.test/MockWhen.js +9 -0
  81. package/dist/module/src/lib/abstractBase.test/implementation.js +39 -0
  82. package/dist/module/src/lib/abstractBase.test/index.js +12 -0
  83. package/dist/module/src/lib/abstractBase.test/interface.js +9 -0
  84. package/dist/module/src/lib/abstractBase.test/specification.js +15 -0
  85. package/dist/module/src/lib/abstractBase.test/types.js +1 -0
  86. package/dist/module/src/lib/baseBuilder.test/TestBaseBuilder.js +32 -0
  87. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +94 -0
  88. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.interface.js +14 -0
  89. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.node.js +6 -0
  90. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.pure.js +6 -0
  91. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.specification.js +9 -0
  92. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.types.js +1 -0
  93. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.web.js +6 -0
  94. package/dist/module/src/lib/basebuilder.js +2 -20
  95. package/dist/module/src/lib/classBuilder.test/TestClassBuilder.js +37 -0
  96. package/dist/module/src/lib/classBuilder.test/classBuilder.test.implementation.js +179 -0
  97. package/dist/module/src/lib/classBuilder.test/classBuilder.test.interface.js +14 -0
  98. package/dist/module/src/lib/classBuilder.test/classBuilder.test.js +6 -0
  99. package/dist/module/src/lib/classBuilder.test/classBuilder.test.specification.js +37 -0
  100. package/dist/module/src/lib/classBuilder.test/classBuilder.test.types.js +1 -0
  101. package/dist/module/src/lib/core.js +3 -12
  102. package/dist/module/src/lib/core.test/MockCore.js +18 -0
  103. package/dist/module/src/lib/core.test/core.test.implementation.js +99 -0
  104. package/dist/module/src/lib/core.test/core.test.interface.js +15 -0
  105. package/dist/module/src/lib/core.test/core.test.js +12 -0
  106. package/dist/module/src/lib/core.test/core.test.specification.js +29 -0
  107. package/dist/module/src/lib/core.test/core.test.types.js +1 -0
  108. package/dist/module/src/lib/pmProxy.js +9 -166
  109. package/dist/module/src/lib/pmProxy.test/implementation.js +73 -0
  110. package/dist/module/src/lib/pmProxy.test/index.js +10 -0
  111. package/dist/module/src/lib/pmProxy.test/interface.js +34 -0
  112. package/dist/module/src/lib/pmProxy.test/mockPM.js +30 -0
  113. package/dist/module/src/lib/pmProxy.test/mockPMBase.js +111 -0
  114. package/dist/module/src/lib/pmProxy.test/specification.js +35 -0
  115. package/dist/module/src/lib/pmProxy.test/types.js +1 -0
  116. package/dist/module/src/run.js +6 -6
  117. package/dist/module/testeranto.config.js +33 -18
  118. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  119. package/dist/prebuild/Project.js +16 -15
  120. package/dist/prebuild/TestReport.js +14 -12
  121. package/dist/prebuild/build.mjs +34 -34
  122. package/dist/prebuild/run.mjs +259 -173
  123. package/dist/tsconfig.tsbuildinfo +1 -1
  124. package/dist/types/src/PM/PM_WithEslintAndTsc.d.ts +2 -1
  125. package/dist/types/src/PM/main.d.ts +5 -2
  126. package/dist/types/src/Pure.d.ts +2 -2
  127. package/dist/types/src/Pure.test.d.ts +36 -0
  128. package/dist/types/src/Types.d.ts +7 -6
  129. package/dist/types/src/Web.d.ts +1 -1
  130. package/dist/types/src/esbuildConfigs/consoleDetectorPlugin.d.ts +1 -1
  131. package/dist/types/src/esbuildConfigs/nativeImportDetectorPlugin.d.ts +2 -0
  132. package/dist/types/src/lib/BaseSuite.d.ts +39 -0
  133. package/dist/types/src/lib/BaseSuite.test/node.test.d.ts +3 -0
  134. package/dist/types/src/lib/BaseSuite.test/pure.test.d.ts +3 -0
  135. package/dist/types/src/lib/BaseSuite.test/test.d.ts +42 -0
  136. package/dist/types/src/lib/BaseSuite.test/web.test.d.ts +3 -0
  137. package/dist/types/src/lib/abstractBase.d.ts +1 -36
  138. package/dist/types/src/lib/abstractBase.test/MockGiven.d.ts +7 -0
  139. package/dist/types/src/lib/abstractBase.test/MockThen.d.ts +6 -0
  140. package/dist/types/src/lib/abstractBase.test/MockWhen.d.ts +6 -0
  141. package/dist/types/src/lib/abstractBase.test/implementation.d.ts +3 -0
  142. package/dist/types/src/lib/abstractBase.test/index.d.ts +3 -0
  143. package/dist/types/src/lib/abstractBase.test/interface.d.ts +3 -0
  144. package/dist/types/src/lib/abstractBase.test/specification.d.ts +3 -0
  145. package/dist/types/src/lib/abstractBase.test/types.d.ts +39 -0
  146. package/dist/types/src/lib/baseBuilder.test/TestBaseBuilder.d.ts +15 -0
  147. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.implementation.d.ts +3 -0
  148. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.interface.d.ts +3 -0
  149. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.node.d.ts +3 -0
  150. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.pure.d.ts +3 -0
  151. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.specification.d.ts +3 -0
  152. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.types.d.ts +20 -0
  153. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.web.d.ts +3 -0
  154. package/dist/types/src/lib/classBuilder.test/TestClassBuilder.d.ts +21 -0
  155. package/dist/types/src/lib/classBuilder.test/classBuilder.test.d.ts +3 -0
  156. package/dist/types/src/lib/classBuilder.test/classBuilder.test.implementation.d.ts +3 -0
  157. package/dist/types/src/lib/classBuilder.test/classBuilder.test.interface.d.ts +3 -0
  158. package/dist/types/src/lib/classBuilder.test/classBuilder.test.specification.d.ts +3 -0
  159. package/dist/types/src/lib/classBuilder.test/classBuilder.test.types.d.ts +56 -0
  160. package/dist/types/src/lib/core.d.ts +1 -1
  161. package/dist/types/src/lib/core.test/MockCore.d.ts +10 -0
  162. package/dist/types/src/lib/core.test/core.test.d.ts +3 -0
  163. package/dist/types/src/lib/core.test/core.test.implementation.d.ts +3 -0
  164. package/dist/types/src/lib/core.test/core.test.interface.d.ts +3 -0
  165. package/dist/types/src/lib/core.test/core.test.specification.d.ts +3 -0
  166. package/dist/types/src/lib/core.test/core.test.types.d.ts +46 -0
  167. package/dist/types/src/lib/index.d.ts +2 -1
  168. package/dist/types/src/lib/pmProxy.d.ts +11 -6
  169. package/dist/types/src/lib/pmProxy.test/implementation.d.ts +3 -0
  170. package/dist/types/src/lib/pmProxy.test/index.d.ts +7 -0
  171. package/dist/types/src/lib/pmProxy.test/interface.d.ts +3 -0
  172. package/dist/types/src/lib/pmProxy.test/mockPM.d.ts +10 -0
  173. package/dist/types/src/lib/pmProxy.test/mockPMBase.d.ts +39 -0
  174. package/dist/types/src/lib/pmProxy.test/specification.d.ts +3 -0
  175. package/dist/types/src/lib/pmProxy.test/types.d.ts +42 -0
  176. package/dist/types/src/lib/types.d.ts +2 -1
  177. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  178. package/docs.html +35 -33
  179. package/index.html +23 -30
  180. package/package.json +8 -18
  181. package/src/lib/basebuilder.ts +0 -24
  182. package/testeranto/Project.css +1 -26
  183. package/testeranto/Project.js +3337 -385
  184. package/testeranto/TestReport.css +1 -26
  185. package/testeranto/TestReport.js +43 -16
  186. package/testeranto/bundles/node/allTests/metafile.json +1 -1
  187. package/testeranto/bundles/pure/allTests/metafile.json +1 -1
  188. package/testeranto/bundles/web/allTests/metafile.json +1 -1
  189. package/testeranto/index.html +1 -1
  190. package/testeranto/reports/allTests/index.html +1 -1
  191. package/testeranto/reports/allTests/src/Pure.test/pure/index.html +1 -1
  192. package/testeranto/reports/allTests/src/Pure.test/pure/lint_errors.json +137 -1539
  193. package/testeranto/reports/allTests/src/Pure.test/pure/logs.txt +2 -2
  194. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/index.html +1 -1
  195. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/lint_errors.json +58 -620
  196. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/index.html +1 -1
  197. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/lint_errors.json +58 -620
  198. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt +2 -2
  199. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/index.html +1 -1
  200. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/lint_errors.json +58 -620
  201. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/index.html +1 -1
  202. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.json +104 -966
  203. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/index.html +1 -1
  204. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.json +104 -966
  205. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/index.html +1 -1
  206. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.json +104 -966
  207. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/index.html +1 -1
  208. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/lint_errors.json +63 -791
  209. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/index.html +1 -1
  210. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/lint_errors.json +39 -416
  211. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/index.html +1 -1
  212. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/lint_errors.json +156 -1724
  213. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +3 -3
  214. package/testeranto.config.ts +1 -1
  215. package/tsc.log +36 -38
@@ -12,6 +12,7 @@ export declare abstract class PM_WithEslintAndTsc extends PM_Base {
12
12
  }) => Promise<void>;
13
13
  eslintCheck: (entrypoint: string, platform: IRunTime, addableFiles: string[]) => Promise<void>;
14
14
  makePrompt: (entryPoint: string, addableFiles: string[], platform: IRunTime) => Promise<void>;
15
+ private ensureSummaryEntry;
15
16
  typeCheckIsRunning: (src: string) => void;
16
17
  typeCheckIsNowDone: (src: string, failures: number) => void;
17
18
  lintIsRunning: (src: string) => void;
@@ -19,5 +20,5 @@ export declare abstract class PM_WithEslintAndTsc extends PM_Base {
19
20
  bddTestIsRunning: (src: string) => void;
20
21
  bddTestIsNowDone: (src: string, failures: number) => void;
21
22
  writeBigBoard: () => void;
22
- checkForShutdown: () => void;
23
+ abstract checkForShutdown(): any;
23
24
  }
@@ -6,14 +6,15 @@ import { IBuiltConfig, IRunTime, ITestTypes } from "../Types.js";
6
6
  import { Sidecar } from "../lib/Sidecar.js";
7
7
  import { PM_WithEslintAndTsc } from "./PM_WithEslintAndTsc.js";
8
8
  export declare class PM_Main extends PM_WithEslintAndTsc {
9
- ports: Record<number, boolean>;
10
- queue: any[];
9
+ ports: Record<number, string>;
10
+ queue: string[];
11
11
  webMetafileWatcher: fs.FSWatcher;
12
12
  nodeMetafileWatcher: fs.FSWatcher;
13
13
  importMetafileWatcher: fs.FSWatcher;
14
14
  pureSidecars: Record<number, Sidecar>;
15
15
  nodeSidecars: Record<number, ChildProcess>;
16
16
  webSidecars: Record<number, Page>;
17
+ launchers: Record<string, () => void>;
17
18
  constructor(configs: IBuiltConfig, name: string, mode: "once" | "dev");
18
19
  stopSideCar(uid: number): Promise<any>;
19
20
  launchSideCar(n: number, name: string): Promise<[number, ITTestResourceConfiguration]>;
@@ -41,4 +42,6 @@ export declare class PM_Main extends PM_WithEslintAndTsc {
41
42
  launchPureSideCar: (sidecar: ITestTypes) => Promise<[number, ITTestResourceConfiguration]>;
42
43
  launchWeb: (src: string, dest: string) => Promise<void>;
43
44
  receiveFeaturesV2: (reportDest: string, srcTest: string, platform: IRunTime) => void;
45
+ checkQueue(): void;
46
+ checkForShutdown: () => void;
44
47
  }
@@ -3,7 +3,7 @@ import Testeranto from "./lib/core.js";
3
3
  import { ITTestResourceRequest } from "./lib/index.js";
4
4
  export declare class PureTesteranto<I extends Ibdd_in_any, O extends Ibdd_out, M> extends Testeranto<I, O, M> {
5
5
  constructor(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testResourceRequirement: ITTestResourceRequest, testInterface: Partial<ITestInterface<I>>);
6
- receiveTestResourceConfig(partialTestResource: string): Promise<import("./lib/index.js").IFinalResults>;
6
+ receiveTestResourceConfig(partialTestResource: string): Promise<import("./lib/index.js").IFinalResults | -2>;
7
7
  }
8
- declare const _default: <I extends Ibdd_in_any, O extends Ibdd_out, M>(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testInterface: Partial<INodeTestInterface<I>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<I, O, M>>;
8
+ declare const _default: <I extends Ibdd_in_any, O extends Ibdd_out, M>(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testInterface: Partial<ITestInterface<I>>, testResourceRequirement?: ITTestResourceRequest) => Promise<number | Testeranto<I, O, M>>;
9
9
  export default _default;
@@ -0,0 +1,36 @@
1
+ import { Ibdd_in, Ibdd_out } from "./CoreTypes";
2
+ import { IPM } from "./lib/types";
3
+ type PureI = Ibdd_in<null, // No initial input needed
4
+ IPM, // Test subject is IPM
5
+ {
6
+ pm: IPM;
7
+ }, // Store contains PM instance
8
+ {
9
+ pm: IPM;
10
+ }, // Selection is same as store
11
+ () => IPM, // Given returns IPM
12
+ (store: {
13
+ pm: IPM;
14
+ }) => {
15
+ pm: IPM;
16
+ }, // When modifies store
17
+ (store: {
18
+ pm: IPM;
19
+ }) => {
20
+ pm: IPM;
21
+ }>;
22
+ type PureO = Ibdd_out<{
23
+ Default: [string];
24
+ }, {
25
+ Default: [];
26
+ }, {
27
+ applyProxy: [string];
28
+ verifyCall: [string, any];
29
+ }, {
30
+ verifyProxy: [string];
31
+ verifyNoProxy: [];
32
+ }, {
33
+ Default: [];
34
+ }>;
35
+ declare const _default: Promise<number | import("./lib/core").default<PureI, PureO, {}>>;
36
+ export default _default;
@@ -1,14 +1,15 @@
1
1
  import { Plugin } from "esbuild";
2
2
  import { ITTestResourceConfiguration } from "./lib/index.js";
3
3
  import { PM } from "./PM/index.js";
4
- import { BaseWhen, BaseThen, BaseGiven, BaseCheck, BaseSuite, IGivens } from "./lib/abstractBase.js";
4
+ import { BaseWhen, BaseThen, BaseGiven, BaseCheck, IGivens } from "./lib/abstractBase.js";
5
5
  import { Ibdd_in_any, Ibdd_out_any } from "./CoreTypes.js";
6
+ import { BaseSuite } from "./lib/BaseSuite.js";
6
7
  export type ISummary = Record<string, {
7
- runTimeError: string;
8
- typeErrors: number;
9
- staticErrors: number;
10
- prompt: string;
11
- failingFeatures: object;
8
+ runTimeErrors: number | "?" | undefined;
9
+ typeErrors: number | "?" | undefined;
10
+ staticErrors: number | "?" | undefined;
11
+ prompt: string | "?" | undefined;
12
+ failingFeatures: object | undefined;
12
13
  }>;
13
14
  export type SuiteSpecification<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
14
15
  [K in keyof O["suites"]]: (name: string, givens: IGivens<I>, checks: BaseCheck<I>[]) => BaseSuite<I, O>;
@@ -5,5 +5,5 @@ export declare class WebTesteranto<I extends Ibdd_in_any, O extends Ibdd_out, M>
5
5
  constructor(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testResourceRequirement: ITTestResourceRequest, testInterface: Partial<ITestInterface<I>>);
6
6
  receiveTestResourceConfig(partialTestResource: any): Promise<import("./lib/index.js").IFinalResults>;
7
7
  }
8
- declare const _default: <I extends Ibdd_in_any, O extends Ibdd_out, M>(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testInterface: Partial<IWebTestInterface<I>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<I, O, M>>;
8
+ declare const _default: <I extends Ibdd_in_any, O extends Ibdd_out, M>(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testInterface: Partial<ITestInterface<I>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<I, O, M>>;
9
9
  export default _default;
@@ -1,2 +1,2 @@
1
- import type { Plugin } from 'esbuild';
1
+ import type { Plugin } from "esbuild";
2
2
  export declare const consoleDetectorPlugin: Plugin;
@@ -0,0 +1,2 @@
1
+ import type { Plugin } from "esbuild";
2
+ export declare const nativeImportDetectorPlugin: Plugin;
@@ -0,0 +1,39 @@
1
+ import { ITTestResourceConfiguration, ITestArtifactory } from ".";
2
+ import { Ibdd_in_any, Ibdd_out_any } from "../CoreTypes";
3
+ import { IGivens, BaseCheck } from "./abstractBase";
4
+ import { IPM } from "./types";
5
+ export declare abstract class BaseSuite<I extends Ibdd_in_any, O extends Ibdd_out_any> {
6
+ name: string;
7
+ givens: IGivens<I>;
8
+ checks: BaseCheck<I>[];
9
+ store: I["istore"];
10
+ testResourceConfiguration: ITTestResourceConfiguration;
11
+ index: number;
12
+ failed: boolean;
13
+ fails: number;
14
+ constructor(name: string, index: number, givens?: IGivens<I>, checks?: BaseCheck<I>[]);
15
+ features(): string[];
16
+ toObj(): {
17
+ name: string;
18
+ givens: {
19
+ key: string;
20
+ name: string;
21
+ whens: {}[];
22
+ thens: {
23
+ name: string;
24
+ error: boolean;
25
+ }[];
26
+ error: (string | Error | undefined)[] | null;
27
+ failed: boolean;
28
+ features: string[];
29
+ }[];
30
+ checks: any[];
31
+ fails: number;
32
+ failed: boolean;
33
+ features: string[];
34
+ };
35
+ setup(s: I["iinput"], artifactory: ITestArtifactory, tr: ITTestResourceConfiguration, pm: IPM): Promise<I["isubject"]>;
36
+ assertThat(t: Awaited<I["then"]> | undefined): boolean;
37
+ afterAll(store: I["istore"], artifactory: ITestArtifactory, pm: IPM): I["istore"];
38
+ run(input: I["iinput"], testResourceConfiguration: ITTestResourceConfiguration, artifactory: (fPath: string, value: unknown) => void, tLog: (...string: any[]) => void, pm: IPM): Promise<BaseSuite<I, O>>;
39
+ }
@@ -0,0 +1,3 @@
1
+ import { I, O } from "./test";
2
+ declare const _default: Promise<import("../core").default<I, O, {}>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { I, O } from "./test";
2
+ declare const _default: Promise<number | import("../core").default<I, O, {}>>;
3
+ export default _default;
@@ -0,0 +1,42 @@
1
+ import { ITTestResourceConfiguration, ITestArtifactory } from "..";
2
+ import { Ibdd_in, Ibdd_out, ITestSpecification, ITestImplementation, ITestInterface } from "../../CoreTypes";
3
+ import { BaseGiven, BaseWhen, BaseThen } from "../abstractBase";
4
+ import { BaseSuite } from "../BaseSuite";
5
+ import { IPM } from "../types";
6
+ export type TestStore = {
7
+ testStore: boolean;
8
+ testSelection?: boolean;
9
+ error?: Error;
10
+ };
11
+ export type TestSelection = {
12
+ testSelection: boolean;
13
+ error?: boolean;
14
+ };
15
+ export type I = Ibdd_in<typeof BaseSuite, BaseSuite<any, any>, // isubject
16
+ TestStore, // istore
17
+ TestSelection, // iselection
18
+ () => Promise<TestStore>, // given
19
+ (store: TestStore) => Promise<TestStore>, // when
20
+ (store: TestStore) => Promise<TestSelection>>;
21
+ export type O = Ibdd_out<{
22
+ Default: [string];
23
+ }, {
24
+ Default: [];
25
+ }, {
26
+ TestWhen: [];
27
+ RunSuite: [];
28
+ }, {
29
+ TestThen: [];
30
+ FeaturesIncludes: [feature: string];
31
+ StoreValid: [];
32
+ }, {
33
+ TestCheck: [];
34
+ }>;
35
+ export declare class MockGiven extends BaseGiven<I> {
36
+ constructor(name: string, features: string[], whens: BaseWhen<I>[], thens: BaseThen<I>[]);
37
+ givenThat(subject: I["isubject"], testResourceConfiguration: ITTestResourceConfiguration, artifactory: ITestArtifactory, givenCB: I["given"], initialValues: any, pm: IPM): Promise<TestStore>;
38
+ uberCatcher(e: Error): void;
39
+ }
40
+ export declare const specification: ITestSpecification<I, O>;
41
+ export declare const implementation: ITestImplementation<I, O>;
42
+ export declare const testInterface: ITestInterface<I>;
@@ -0,0 +1,3 @@
1
+ import { I, O } from "./test";
2
+ declare const _default: Promise<import("../core").default<I, O, {}>>;
3
+ export default _default;
@@ -1,42 +1,7 @@
1
1
  import { ITestArtifactory, ITLog, ITTestResourceConfiguration } from ".";
2
2
  import { IPM } from "./types.js";
3
- import type { Ibdd_in_any, Ibdd_out_any } from "../CoreTypes";
3
+ import type { Ibdd_in_any } from "../CoreTypes";
4
4
  export type IGivens<I extends Ibdd_in_any> = Record<string, BaseGiven<I>>;
5
- export declare abstract class BaseSuite<I extends Ibdd_in_any, O extends Ibdd_out_any> {
6
- name: string;
7
- givens: IGivens<I>;
8
- checks: BaseCheck<I>[];
9
- store: I["istore"];
10
- testResourceConfiguration: ITTestResourceConfiguration;
11
- index: number;
12
- failed: boolean;
13
- fails: number;
14
- constructor(name: string, index: number, givens?: IGivens<I>, checks?: BaseCheck<I>[]);
15
- features(): string[];
16
- toObj(): {
17
- name: string;
18
- givens: {
19
- key: string;
20
- name: string;
21
- whens: {}[];
22
- thens: {
23
- name: string;
24
- error: boolean;
25
- }[];
26
- error: (string | Error | undefined)[] | null;
27
- failed: boolean;
28
- features: string[];
29
- }[];
30
- checks: any[];
31
- fails: number;
32
- failed: boolean;
33
- features: string[];
34
- };
35
- setup(s: I["iinput"], artifactory: ITestArtifactory, tr: ITTestResourceConfiguration, pm: IPM): Promise<I["isubject"]>;
36
- assertThat(t: Awaited<I["then"]> | undefined): boolean;
37
- afterAll(store: I["istore"], artifactory: ITestArtifactory, pm: IPM): I["istore"];
38
- run(input: I["iinput"], testResourceConfiguration: ITTestResourceConfiguration, artifactory: (fPath: string, value: unknown) => void, tLog: (...string: any[]) => void, pm: IPM): Promise<BaseSuite<I, O>>;
39
- }
40
5
  export declare abstract class BaseGiven<I extends Ibdd_in_any> {
41
6
  name: string;
42
7
  features: string[];
@@ -0,0 +1,7 @@
1
+ import { BaseGiven } from "../abstractBase";
2
+ import { Ibdd_in_any } from "../../CoreTypes";
3
+ export declare class MockGiven<I extends Ibdd_in_any> extends BaseGiven<I> {
4
+ constructor(name: string, features: string[], whens: BaseWhen<I>[], thens: BaseThen<I>[], givenCB: I["given"], initialValues: any);
5
+ givenThat(subject: I["isubject"], testResourceConfiguration: any, artifactory: any, givenCB: I["given"], initialValues: any, pm: any): Promise<I["istore"]>;
6
+ uberCatcher(e: Error): void;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { BaseThen } from "../abstractBase";
2
+ import { Ibdd_in_any } from "../../CoreTypes";
3
+ export declare class MockThen<I extends Ibdd_in_any> extends BaseThen<I> {
4
+ constructor(name: string, thenCB: (val: I["iselection"]) => Promise<I["then"]>);
5
+ butThen(store: I["istore"], thenCB: (s: I["iselection"]) => Promise<I["isubject"]>, testResourceConfiguration: any, pm: any): Promise<I["iselection"]>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { BaseWhen } from "../abstractBase";
2
+ import { Ibdd_in_any } from "../../CoreTypes";
3
+ export declare class MockWhen<I extends Ibdd_in_any> extends BaseWhen<I> {
4
+ constructor(name: string, whenCB: (x: I["iselection"]) => I["then"]);
5
+ andWhen(store: I["istore"], whenCB: (x: I["iselection"]) => I["then"], testResource: any, pm: any): Promise<I["istore"]>;
6
+ }
@@ -0,0 +1,3 @@
1
+ import { ITestImplementation } from "../../CoreTypes";
2
+ import { I, O } from "./types";
3
+ export declare const implementation: ITestImplementation<I, O>;
@@ -0,0 +1,3 @@
1
+ import { I, O } from "./types";
2
+ declare const _default: Promise<import("../core").default<I, O, {}>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ITestInterface } from "../../CoreTypes";
2
+ import { I } from "./types";
3
+ export declare const testInterface: ITestInterface<I>;
@@ -0,0 +1,3 @@
1
+ import { ITestSpecification } from "../../CoreTypes";
2
+ import { I, O } from "./types";
3
+ export declare const specification: ITestSpecification<I, O>;
@@ -0,0 +1,39 @@
1
+ import { Ibdd_in, Ibdd_out } from "../../CoreTypes";
2
+ export type I = Ibdd_in<{}, // iinput
3
+ {}, // isubject
4
+ {
5
+ testStore: {
6
+ value: string;
7
+ };
8
+ error?: Error;
9
+ }, // istore
10
+ {
11
+ testSelection: {
12
+ selected: boolean;
13
+ };
14
+ }, // iselection
15
+ () => {
16
+ testStore: {
17
+ value: string;
18
+ };
19
+ }, // given
20
+ (store: any) => any, // when
21
+ (store: any) => any>;
22
+ export type O = Ibdd_out<{
23
+ Default: [string];
24
+ }, // Suites
25
+ {
26
+ Default: [];
27
+ WithError: [];
28
+ }, // Givens
29
+ {
30
+ modifyStore: [string];
31
+ throwError: [];
32
+ }, // Whens
33
+ {
34
+ verifyStore: [string];
35
+ verifyError: [string];
36
+ }, // Thens
37
+ {
38
+ Default: [];
39
+ }>;
@@ -0,0 +1,15 @@
1
+ import { BaseBuilder } from "../basebuilder";
2
+ import { Ibdd_in_any, Ibdd_out_any, ITestSpecification } from "../../CoreTypes";
3
+ import { ISuiteKlasser, IGivenKlasser, IWhenKlasser, IThenKlasser, ICheckKlasser } from "../types";
4
+ import { ITTestResourceRequest } from "..";
5
+ /**
6
+ * Concrete implementation of BaseBuilder for testing purposes only
7
+ */
8
+ export declare class TestBaseBuilder<I extends Ibdd_in_any, O extends Ibdd_out_any, SuiteExtensions = {}, GivenExtensions = {}, WhenExtensions = {}, ThenExtensions = {}, CheckExtensions = {}> extends BaseBuilder<I, O, SuiteExtensions, GivenExtensions, WhenExtensions, ThenExtensions, CheckExtensions> {
9
+ summary: Record<string, any>;
10
+ constructor(input: I["iinput"], suitesOverrides?: Record<keyof SuiteExtensions, ISuiteKlasser<I, O>>, givenOverrides?: Record<keyof GivenExtensions, IGivenKlasser<I>>, whenOverrides?: Record<keyof WhenExtensions, IWhenKlasser<I>>, thenOverrides?: Record<keyof ThenExtensions, IThenKlasser<I>>, checkOverrides?: Record<keyof CheckExtensions, ICheckKlasser<I>>, testResourceRequirement?: ITTestResourceRequest, testSpecification?: ITestSpecification<I, O>);
11
+ /**
12
+ * Simplified version for testing that doesn't actually run tests
13
+ */
14
+ testRun(puppetMaster: any): Promise<any>;
15
+ }
@@ -0,0 +1,3 @@
1
+ import { ITestImplementation } from "../../CoreTypes";
2
+ import { I, O } from "./baseBuilder.test.types";
3
+ export declare const implementation: ITestImplementation<I, O, {}>;
@@ -0,0 +1,3 @@
1
+ import { ITestInterface } from "../../CoreTypes";
2
+ import { I } from "./baseBuilder.test.types";
3
+ export declare const testInterface: ITestInterface<I>;
@@ -0,0 +1,3 @@
1
+ import { I, O } from "./baseBuilder.test.types";
2
+ declare const _default: Promise<number | import("../core").default<I, O, {}>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { I, O } from "./baseBuilder.test.types";
2
+ declare const _default: Promise<number | import("../core").default<I, O, {}>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ITestSpecification } from "../../CoreTypes";
2
+ import { I, O } from "./baseBuilder.test.types";
3
+ export declare const specification: ITestSpecification<I, O>;
@@ -0,0 +1,20 @@
1
+ import { Ibdd_in, Ibdd_out } from "../../CoreTypes";
2
+ export type I = Ibdd_in<{}, // iinput
3
+ BaseBuilder<any, any, any, any, any, any>, // isubject
4
+ BaseBuilder<any, any, any, any, any, any>, // istore
5
+ BaseBuilder<any, any, any, any, any, any>, // iselection
6
+ () => BaseBuilder<any, any, any, any, any, any>, // given
7
+ (store: any) => any, // when
8
+ (store: any) => any>;
9
+ export type O = Ibdd_out<{
10
+ Default: [string];
11
+ }, {
12
+ Default: [];
13
+ }, {}, // No whens in these tests
14
+ {
15
+ initializedProperly: [];
16
+ specsGenerated: [];
17
+ jobsCreated: [];
18
+ }, {
19
+ Default: [];
20
+ }>;
@@ -0,0 +1,3 @@
1
+ import { I, O } from "./baseBuilder.test.types";
2
+ declare const _default: Promise<import("../core").default<I, O, {}>>;
3
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { BaseBuilder } from "../basebuilder";
2
+ import { Ibdd_in_any, Ibdd_out_any, ITestImplementation, ITestSpecification } from "../../CoreTypes";
3
+ import { ISuiteKlasser, IGivenKlasser, IWhenKlasser, IThenKlasser, ICheckKlasser } from "../types";
4
+ import { ITTestResourceRequest } from "..";
5
+ /**
6
+ * Concrete implementation of BaseBuilder for testing ClassBuilder
7
+ */
8
+ export declare class TestClassBuilder<I extends Ibdd_in_any, O extends Ibdd_out_any, M = unknown> extends BaseBuilder<I, O, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>> {
9
+ summary: Record<string, any>;
10
+ constructor(testImplementation: ITestImplementation<I, O, M> & {
11
+ suites: Record<string, any>;
12
+ givens: Record<string, any>;
13
+ whens: Record<string, any>;
14
+ thens: Record<string, any>;
15
+ checks: Record<string, any>;
16
+ }, testSpecification: ITestSpecification<I, O>, input: I["iinput"], suiteKlasser: ISuiteKlasser<I, O>, givenKlasser: IGivenKlasser<I>, whenKlasser: IWhenKlasser<I>, thenKlasser: IThenKlasser<I>, checkKlasser: ICheckKlasser<I>, testResourceRequirement: ITTestResourceRequest);
17
+ /**
18
+ * Simplified test run for verification
19
+ */
20
+ testRun(puppetMaster: any): Promise<any>;
21
+ }
@@ -0,0 +1,3 @@
1
+ import { I, O, M } from "./classBuilder.test.types";
2
+ declare const _default: Promise<import("../core").default<I, O, M>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ITestImplementation } from "../../CoreTypes";
2
+ import { I, O, M } from "./classBuilder.test.types";
3
+ export declare const implementation: ITestImplementation<I, O, M>;
@@ -0,0 +1,3 @@
1
+ import { ITestInterface } from "../../CoreTypes";
2
+ import { I } from "../baseBuilder.test/baseBuilder.test.types";
3
+ export declare const testInterface: ITestInterface<I>;
@@ -0,0 +1,3 @@
1
+ import { ITestSpecification } from "../../CoreTypes";
2
+ import { I, O } from "./classBuilder.test.types";
3
+ export declare const specification: ITestSpecification<I, O>;
@@ -0,0 +1,56 @@
1
+ import { Ibdd_in, Ibdd_out, ITestImplementation, ITestSpecification } from "../../CoreTypes";
2
+ import { ClassBuilder } from "../classBuilder";
3
+ import { ITestJob, ITTestResourceRequest } from "..";
4
+ export type I = Ibdd_in<{}, // iinput
5
+ ClassBuilder<any, any, any>, // isubject
6
+ ClassBuilder<any, any, any>, // istore
7
+ ClassBuilder<any, any, any>, // iselection
8
+ () => ClassBuilder<any, any, any>, // given
9
+ (store: any) => any, // when
10
+ (store: any) => any>;
11
+ export type O = Ibdd_out<{
12
+ Default: [string];
13
+ ExtendedSuite: [description: string];
14
+ }, {
15
+ Default: [];
16
+ WithCustomInput: [input: any];
17
+ WithResourceRequirements: [requirements: ITTestResourceRequest];
18
+ WithCustomImplementation: [impl: ITestImplementation<any, any>];
19
+ WithCustomSpecification: [spec: ITestSpecification<any, any>];
20
+ }, {
21
+ addArtifact: [artifact: Promise<any>];
22
+ setTestJobs: [jobs: ITestJob[]];
23
+ modifySpecs: [modifier: (specs: any[]) => any[]];
24
+ modifyJobs: [modifier: (jobs: ITestJob[]) => ITestJob[]];
25
+ triggerError: [message: string];
26
+ }, {
27
+ initializedProperly: [];
28
+ specsGenerated: [];
29
+ jobsCreated: [];
30
+ artifactsTracked: [];
31
+ resourceRequirementsSet: [];
32
+ suitesOverridesConfigured: [];
33
+ givensOverridesConfigured: [];
34
+ whensOverridesConfigured: [];
35
+ thensOverridesConfigured: [];
36
+ checksOverridesConfigured: [];
37
+ specsModified: [expectedCount: number];
38
+ jobsModified: [expectedCount: number];
39
+ errorThrown: [expectedMessage: string];
40
+ testRunSuccessful: [];
41
+ }, {
42
+ Default: [];
43
+ ImplementationCheck: [validator: (impl: any) => boolean];
44
+ SpecificationCheck: [validator: (spec: any) => boolean];
45
+ }>;
46
+ export type M = {
47
+ givens: {
48
+ [K in keyof O["givens"]]: (...args: O["givens"][K]) => ClassBuilder<any, any, any>;
49
+ };
50
+ whens: {
51
+ [K in keyof O["whens"]]: (...args: O["whens"][K]) => (builder: ClassBuilder<any, any, any>) => ClassBuilder<any, any, any>;
52
+ };
53
+ thens: {
54
+ [K in keyof O["thens"]]: (...args: O["thens"][K]) => (builder: ClassBuilder<any, any, any>) => ClassBuilder<any, any, any>;
55
+ };
56
+ };
@@ -1,7 +1,7 @@
1
1
  import { IFinalResults, ITTestResourceRequest } from "./index.js";
2
2
  import { ClassBuilder } from "./classBuilder.js";
3
3
  import type { Ibdd_in_any, Ibdd_out_any, ITestImplementation, ITestInterface, ITestSpecification } from "../CoreTypes";
4
- export default abstract class Testeranto<I extends Ibdd_in_any, O extends Ibdd_out_any, M> extends ClassBuilder<I, O, M> {
4
+ export default abstract class TesterantoCore<I extends Ibdd_in_any, O extends Ibdd_out_any, M> extends ClassBuilder<I, O, M> {
5
5
  constructor(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M> & {
6
6
  suites: Record<string, any>;
7
7
  givens: Record<string, any>;
@@ -0,0 +1,10 @@
1
+ import TesterantoCore from "../core";
2
+ import { Ibdd_in_any, Ibdd_out_any, ITestImplementation, ITestSpecification, ITestInterface } from "../../CoreTypes";
3
+ import { ITTestResourceRequest, IFinalResults } from "..";
4
+ /**
5
+ * Concrete implementation of Testeranto for testing purposes
6
+ */
7
+ export declare class MockCore<I extends Ibdd_in_any, O extends Ibdd_out_any, M = unknown> extends TesterantoCore<I, O, M> {
8
+ constructor(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testResourceRequirement?: ITTestResourceRequest, testInterface?: Partial<ITestInterface<I>>, uberCatcher?: (cb: () => void) => void);
9
+ receiveTestResourceConfig(partialTestResource: string): Promise<IFinalResults>;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { I, O, M } from "./core.test.types";
2
+ declare const _default: Promise<number | import("../core").default<I, O, M>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ITestImplementation } from "../../CoreTypes";
2
+ import { I, O, M } from "./core.test.types";
3
+ export declare const implementation: ITestImplementation<I, O, M>;
@@ -0,0 +1,3 @@
1
+ import { ITestInterface } from "../../CoreTypes";
2
+ import { I } from "./core.test.types";
3
+ export declare const testInterface: ITestInterface<I>;
@@ -0,0 +1,3 @@
1
+ import { ITestSpecification } from "../../CoreTypes";
2
+ import { I, O } from "./core.test.types";
3
+ export declare const specification: ITestSpecification<I, O>;
@@ -0,0 +1,46 @@
1
+ import { Ibdd_in, Ibdd_out, ITestInterface } from "../../CoreTypes";
2
+ import { MockCore } from "./MockCore";
3
+ import { ITTestResourceRequest } from "..";
4
+ export type I = Ibdd_in<{}, // iinput
5
+ MockCore<any, any, any>, // isubject
6
+ MockCore<any, any, any>, // istore
7
+ MockCore<any, any, any>, // iselection
8
+ () => MockCore<any, any, any>, // given
9
+ (store: any) => any, // when
10
+ (store: any) => any>;
11
+ export type O = Ibdd_out<{
12
+ Default: [string];
13
+ ExtendedSuite: [description: string];
14
+ }, {
15
+ Default: [];
16
+ WithCustomInput: [input: any];
17
+ WithResourceRequirements: [requirements: ITTestResourceRequest];
18
+ WithCustomInterface: [interface: Partial<ITestInterface<any>>];
19
+ }, {
20
+ addArtifact: [artifact: Promise<any>];
21
+ setTestJobs: [jobs: any[]];
22
+ modifySpecs: [modifier: (specs: any[]) => any[]];
23
+ triggerError: [message: string];
24
+ }, {
25
+ initializedProperly: [];
26
+ specsGenerated: [];
27
+ jobsCreated: [];
28
+ artifactsTracked: [];
29
+ resourceRequirementsSet: [];
30
+ interfaceConfigured: [];
31
+ errorThrown: [expectedMessage: string];
32
+ testRunSuccessful: [];
33
+ }, {
34
+ Default: [];
35
+ }>;
36
+ export type M = {
37
+ givens: {
38
+ [K in keyof O["givens"]]: (...args: O["givens"][K]) => MockCore<any, any, any>;
39
+ };
40
+ whens: {
41
+ [K in keyof O["whens"]]: (...args: O["whens"][K]) => (builder: MockCore<any, any, any>) => MockCore<any, any, any>;
42
+ };
43
+ thens: {
44
+ [K in keyof O["thens"]]: (...args: O["thens"][K]) => (builder: MockCore<any, any, any>) => MockCore<any, any, any>;
45
+ };
46
+ };
@@ -2,8 +2,9 @@ import { PM_Pure } from "../PM/pure.js";
2
2
  import { PM_Node } from "../PM/node.js";
3
3
  import { PM_Web } from "../PM/web.js";
4
4
  import { ITestconfig, IBuiltConfig, IRunTime, ITestTypes } from "../Types.js";
5
- import { IGivens, BaseCheck, BaseSuite } from "./abstractBase.js";
5
+ import { IGivens, BaseCheck } from "./abstractBase.js";
6
6
  import type { ITestInterface, Ibdd_in_any, Ibdd_out_any } from "../CoreTypes.js";
7
+ import { BaseSuite } from "./BaseSuite.js";
7
8
  export declare const BaseTestInterface: <T extends Ibdd_in_any>() => ITestInterface<T>;
8
9
  export declare const DefaultTestInterface: <T extends Ibdd_in_any>(p: Partial<ITestInterface<T>>) => ITestInterface<T>;
9
10
  export type ITTestResourceConfiguration = {