testeranto 0.219.14 → 0.219.15

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 (237) hide show
  1. package/package.json +1 -1
  2. package/src/testeranto.ts +1 -1
  3. package/dist/common/allTestsUtils.js +0 -17
  4. package/dist/common/package.json +0 -3
  5. package/dist/common/scripts/build-example.js +0 -105
  6. package/dist/common/src/Init.js +0 -38
  7. package/dist/common/src/Types.js +0 -63
  8. package/dist/common/src/esbuildConfigs/consoleDetectorPlugin.js +0 -38
  9. package/dist/common/src/esbuildConfigs/eslint-formatter-testeranto.js +0 -21
  10. package/dist/common/src/esbuildConfigs/featuresPlugin.js +0 -39
  11. package/dist/common/src/esbuildConfigs/index.js +0 -22
  12. package/dist/common/src/esbuildConfigs/inputFilesPlugin.js +0 -30
  13. package/dist/common/src/esbuildConfigs/nativeImportDetectorPlugin.js +0 -24
  14. package/dist/common/src/esbuildConfigs/rebuildPlugin.js +0 -19
  15. package/dist/common/src/init-docs.js +0 -9
  16. package/dist/common/src/lib/tiposkripto/BaseGiven.js +0 -96
  17. package/dist/common/src/lib/tiposkripto/BaseSuite.js +0 -134
  18. package/dist/common/src/lib/tiposkripto/BaseThen.js +0 -65
  19. package/dist/common/src/lib/tiposkripto/BaseTiposkripto.js +0 -193
  20. package/dist/common/src/lib/tiposkripto/BaseWhen.js +0 -46
  21. package/dist/common/src/lib/tiposkripto/CoreTypes.js +0 -2
  22. package/dist/common/src/lib/tiposkripto/Node.js +0 -40
  23. package/dist/common/src/lib/tiposkripto/Tiposkripto.js +0 -49
  24. package/dist/common/src/lib/tiposkripto/Types.js +0 -2
  25. package/dist/common/src/lib/tiposkripto/Web.js +0 -70
  26. package/dist/common/src/lib/tiposkripto/abstractBase.test/MockGiven.js +0 -22
  27. package/dist/common/src/lib/tiposkripto/abstractBase.test/MockThen.js +0 -16
  28. package/dist/common/src/lib/tiposkripto/abstractBase.test/MockWhen.js +0 -18
  29. package/dist/common/src/lib/tiposkripto/abstractBase.test/adapter.js +0 -24
  30. package/dist/common/src/lib/tiposkripto/abstractBase.test/implementation.js +0 -38
  31. package/dist/common/src/lib/tiposkripto/abstractBase.test/index.js +0 -17
  32. package/dist/common/src/lib/tiposkripto/abstractBase.test/specification.js +0 -19
  33. package/dist/common/src/lib/tiposkripto/abstractBase.test/types.js +0 -2
  34. package/dist/common/src/lib/tiposkripto/index.js +0 -29
  35. package/dist/common/src/runtimes.js +0 -4
  36. package/dist/common/src/server/aider/configParser.js +0 -124
  37. package/dist/common/src/server/aider/docker.js +0 -30
  38. package/dist/common/src/server/getRunnables.js +0 -36
  39. package/dist/common/src/server/htmlTemplate.js +0 -44
  40. package/dist/common/src/server/nodeVersion.js +0 -5
  41. package/dist/common/src/server/runtimes/common.js +0 -136
  42. package/dist/common/src/server/runtimes/golang/docker.js +0 -62
  43. package/dist/common/src/server/runtimes/java/docker.js +0 -46
  44. package/dist/common/src/server/runtimes/node/docker.js +0 -42
  45. package/dist/common/src/server/runtimes/node/esbuild.js +0 -40
  46. package/dist/common/src/server/runtimes/node/node.js +0 -75
  47. package/dist/common/src/server/runtimes/python/docker.js +0 -31
  48. package/dist/common/src/server/runtimes/ruby/docker.js +0 -34
  49. package/dist/common/src/server/runtimes/rust/docker.js +0 -35
  50. package/dist/common/src/server/runtimes/web/docker.js +0 -42
  51. package/dist/common/src/server/runtimes/web/esbuild.js +0 -29
  52. package/dist/common/src/server/runtimes/web/hoist.js +0 -16
  53. package/dist/common/src/server/runtimes/web/web.js +0 -157
  54. package/dist/common/src/server/serverClasees/Server.js +0 -47
  55. package/dist/common/src/server/serverClasees/Server_Base.js +0 -18
  56. package/dist/common/src/server/serverClasees/Server_Docker.js +0 -904
  57. package/dist/common/src/server/serverClasees/Server_FS.js +0 -119
  58. package/dist/common/src/server/serverClasees/Server_HTTP.js +0 -189
  59. package/dist/common/src/server/serverClasees/Server_WS.js +0 -262
  60. package/dist/common/src/server/serverManagers/DockerManager.js +0 -28
  61. package/dist/common/src/server/serverManagers/HttpManager.js +0 -114
  62. package/dist/common/src/server/serverManagers/WsManager.js +0 -230
  63. package/dist/common/src/server/serverManagers/fs.js +0 -32
  64. package/dist/common/src/server/serverManagers/tcp.js +0 -51
  65. package/dist/common/src/server/types.js +0 -2
  66. package/dist/common/src/testeranto.js +0 -75
  67. package/dist/common/src/vscode/TerminalManager.js +0 -129
  68. package/dist/common/src/vscode/TestTreeItem.js +0 -77
  69. package/dist/common/src/vscode/extension.js +0 -185
  70. package/dist/common/src/vscode/providers/FeaturesTreeDataProvider.js +0 -445
  71. package/dist/common/src/vscode/providers/FileTreeDataProvider.js +0 -190
  72. package/dist/common/src/vscode/providers/ProcessesTreeDataProvider.js +0 -270
  73. package/dist/common/src/vscode/providers/ResultsTreeDataProvider.js +0 -87
  74. package/dist/common/src/vscode/providers/TestTreeDataProvider.js +0 -309
  75. package/dist/common/src/vscode/types.js +0 -9
  76. package/dist/common/testeranto/runtimes/node/node.js +0 -7
  77. package/dist/common/testeranto/runtimes/web/web.js +0 -6
  78. package/dist/common/testeranto/testeranto.js +0 -70
  79. package/dist/common/tsconfig.common.tsbuildinfo +0 -1
  80. package/dist/module/allTestsUtils.js +0 -13
  81. package/dist/module/package.json +0 -3
  82. package/dist/module/scripts/build-example.js +0 -100
  83. package/dist/module/src/Init.js +0 -33
  84. package/dist/module/src/Types.js +0 -62
  85. package/dist/module/src/esbuildConfigs/consoleDetectorPlugin.js +0 -32
  86. package/dist/module/src/esbuildConfigs/eslint-formatter-testeranto.js +0 -18
  87. package/dist/module/src/esbuildConfigs/featuresPlugin.js +0 -34
  88. package/dist/module/src/esbuildConfigs/index.js +0 -20
  89. package/dist/module/src/esbuildConfigs/inputFilesPlugin.js +0 -25
  90. package/dist/module/src/esbuildConfigs/nativeImportDetectorPlugin.js +0 -21
  91. package/dist/module/src/esbuildConfigs/rebuildPlugin.js +0 -14
  92. package/dist/module/src/init-docs.js +0 -4
  93. package/dist/module/src/lib/tiposkripto/BaseGiven.js +0 -92
  94. package/dist/module/src/lib/tiposkripto/BaseSuite.js +0 -130
  95. package/dist/module/src/lib/tiposkripto/BaseThen.js +0 -61
  96. package/dist/module/src/lib/tiposkripto/BaseTiposkripto.js +0 -190
  97. package/dist/module/src/lib/tiposkripto/BaseWhen.js +0 -42
  98. package/dist/module/src/lib/tiposkripto/CoreTypes.js +0 -1
  99. package/dist/module/src/lib/tiposkripto/Node.js +0 -33
  100. package/dist/module/src/lib/tiposkripto/Tiposkripto.js +0 -14
  101. package/dist/module/src/lib/tiposkripto/Types.js +0 -1
  102. package/dist/module/src/lib/tiposkripto/Web.js +0 -63
  103. package/dist/module/src/lib/tiposkripto/abstractBase.test/MockGiven.js +0 -18
  104. package/dist/module/src/lib/tiposkripto/abstractBase.test/MockThen.js +0 -12
  105. package/dist/module/src/lib/tiposkripto/abstractBase.test/MockWhen.js +0 -14
  106. package/dist/module/src/lib/tiposkripto/abstractBase.test/adapter.js +0 -21
  107. package/dist/module/src/lib/tiposkripto/abstractBase.test/implementation.js +0 -35
  108. package/dist/module/src/lib/tiposkripto/abstractBase.test/index.js +0 -12
  109. package/dist/module/src/lib/tiposkripto/abstractBase.test/specification.js +0 -15
  110. package/dist/module/src/lib/tiposkripto/abstractBase.test/types.js +0 -1
  111. package/dist/module/src/lib/tiposkripto/index.js +0 -24
  112. package/dist/module/src/runtimes.js +0 -1
  113. package/dist/module/src/server/aider/configParser.js +0 -116
  114. package/dist/module/src/server/aider/docker.js +0 -28
  115. package/dist/module/src/server/getRunnables.js +0 -29
  116. package/dist/module/src/server/htmlTemplate.js +0 -40
  117. package/dist/module/src/server/nodeVersion.js +0 -2
  118. package/dist/module/src/server/runtimes/common.js +0 -127
  119. package/dist/module/src/server/runtimes/golang/docker.js +0 -55
  120. package/dist/module/src/server/runtimes/java/docker.js +0 -40
  121. package/dist/module/src/server/runtimes/node/docker.js +0 -36
  122. package/dist/module/src/server/runtimes/node/esbuild.js +0 -35
  123. package/dist/module/src/server/runtimes/node/node.js +0 -37
  124. package/dist/module/src/server/runtimes/python/docker.js +0 -25
  125. package/dist/module/src/server/runtimes/ruby/docker.js +0 -28
  126. package/dist/module/src/server/runtimes/rust/docker.js +0 -29
  127. package/dist/module/src/server/runtimes/web/docker.js +0 -36
  128. package/dist/module/src/server/runtimes/web/esbuild.js +0 -24
  129. package/dist/module/src/server/runtimes/web/hoist.js +0 -11
  130. package/dist/module/src/server/runtimes/web/web.js +0 -119
  131. package/dist/module/src/server/serverClasees/Server.js +0 -40
  132. package/dist/module/src/server/serverClasees/Server_Base.js +0 -14
  133. package/dist/module/src/server/serverClasees/Server_Docker.js +0 -897
  134. package/dist/module/src/server/serverClasees/Server_FS.js +0 -119
  135. package/dist/module/src/server/serverClasees/Server_HTTP.js +0 -182
  136. package/dist/module/src/server/serverClasees/Server_WS.js +0 -258
  137. package/dist/module/src/server/serverManagers/DockerManager.js +0 -28
  138. package/dist/module/src/server/serverManagers/HttpManager.js +0 -110
  139. package/dist/module/src/server/serverManagers/WsManager.js +0 -226
  140. package/dist/module/src/server/serverManagers/fs.js +0 -32
  141. package/dist/module/src/server/serverManagers/tcp.js +0 -47
  142. package/dist/module/src/server/types.js +0 -1
  143. package/dist/module/src/testeranto.js +0 -40
  144. package/dist/module/src/vscode/TerminalManager.js +0 -92
  145. package/dist/module/src/vscode/TestTreeItem.js +0 -40
  146. package/dist/module/src/vscode/extension.js +0 -148
  147. package/dist/module/src/vscode/providers/FeaturesTreeDataProvider.js +0 -408
  148. package/dist/module/src/vscode/providers/FileTreeDataProvider.js +0 -153
  149. package/dist/module/src/vscode/providers/ProcessesTreeDataProvider.js +0 -233
  150. package/dist/module/src/vscode/providers/ResultsTreeDataProvider.js +0 -50
  151. package/dist/module/src/vscode/providers/TestTreeDataProvider.js +0 -272
  152. package/dist/module/src/vscode/types.js +0 -6
  153. package/dist/module/testeranto/runtimes/node/node.js +0 -5
  154. package/dist/module/testeranto/runtimes/web/web.js +0 -4
  155. package/dist/module/testeranto/testeranto.js +0 -68
  156. package/dist/module/tsconfig.module.tsbuildinfo +0 -1
  157. package/dist/prebuild/chunk-QLT7PNPK.mjs +0 -162
  158. package/dist/prebuild/esbuildConfigs/eslint-formatter-testeranto.mjs +0 -20
  159. package/dist/prebuild/init-docs.mjs +0 -56
  160. package/dist/prebuild/server/runtimes/node/node.mjs +0 -80
  161. package/dist/prebuild/server/runtimes/web/hoist.mjs +0 -12
  162. package/dist/prebuild/server/runtimes/web/web.mjs +0 -162
  163. package/dist/prebuild/testeranto-6SAYRVSE.mjs +0 -72
  164. package/dist/prebuild/testeranto.mjs +0 -1692
  165. package/dist/types/src/Init.d.ts +0 -2
  166. package/dist/types/src/Types.d.ts +0 -87
  167. package/dist/types/src/esbuildConfigs/consoleDetectorPlugin.d.ts +0 -2
  168. package/dist/types/src/esbuildConfigs/eslint-formatter-testeranto.d.ts +0 -2
  169. package/dist/types/src/esbuildConfigs/featuresPlugin.d.ts +0 -5
  170. package/dist/types/src/esbuildConfigs/index.d.ts +0 -3
  171. package/dist/types/src/esbuildConfigs/inputFilesPlugin.d.ts +0 -7
  172. package/dist/types/src/esbuildConfigs/nativeImportDetectorPlugin.d.ts +0 -2
  173. package/dist/types/src/esbuildConfigs/rebuildPlugin.d.ts +0 -6
  174. package/dist/types/src/init-docs.d.ts +0 -1
  175. package/dist/types/src/lib/tiposkripto/BaseGiven.d.ts +0 -42
  176. package/dist/types/src/lib/tiposkripto/BaseSuite.d.ts +0 -46
  177. package/dist/types/src/lib/tiposkripto/BaseThen.d.ts +0 -28
  178. package/dist/types/src/lib/tiposkripto/BaseTiposkripto.d.ts +0 -35
  179. package/dist/types/src/lib/tiposkripto/BaseWhen.d.ts +0 -27
  180. package/dist/types/src/lib/tiposkripto/CoreTypes.d.ts +0 -51
  181. package/dist/types/src/lib/tiposkripto/Node.d.ts +0 -9
  182. package/dist/types/src/lib/tiposkripto/Tiposkripto.d.ts +0 -5
  183. package/dist/types/src/lib/tiposkripto/Types.d.ts +0 -9
  184. package/dist/types/src/lib/tiposkripto/Web.d.ts +0 -9
  185. package/dist/types/src/lib/tiposkripto/abstractBase.test/MockGiven.d.ts +0 -9
  186. package/dist/types/src/lib/tiposkripto/abstractBase.test/MockThen.d.ts +0 -6
  187. package/dist/types/src/lib/tiposkripto/abstractBase.test/MockWhen.d.ts +0 -6
  188. package/dist/types/src/lib/tiposkripto/abstractBase.test/adapter.d.ts +0 -3
  189. package/dist/types/src/lib/tiposkripto/abstractBase.test/implementation.d.ts +0 -3
  190. package/dist/types/src/lib/tiposkripto/abstractBase.test/index.d.ts +0 -28
  191. package/dist/types/src/lib/tiposkripto/abstractBase.test/specification.d.ts +0 -3
  192. package/dist/types/src/lib/tiposkripto/abstractBase.test/types.d.ts +0 -39
  193. package/dist/types/src/lib/tiposkripto/index.d.ts +0 -56
  194. package/dist/types/src/runtimes.d.ts +0 -2
  195. package/dist/types/src/server/aider/configParser.d.ts +0 -11
  196. package/dist/types/src/server/aider/docker.d.ts +0 -2
  197. package/dist/types/src/server/getRunnables.d.ts +0 -3
  198. package/dist/types/src/server/htmlTemplate.d.ts +0 -2
  199. package/dist/types/src/server/nodeVersion.d.ts +0 -2
  200. package/dist/types/src/server/runtimes/common.d.ts +0 -12
  201. package/dist/types/src/server/runtimes/golang/docker.d.ts +0 -5
  202. package/dist/types/src/server/runtimes/java/docker.d.ts +0 -14
  203. package/dist/types/src/server/runtimes/node/docker.d.ts +0 -14
  204. package/dist/types/src/server/runtimes/node/esbuild.d.ts +0 -4
  205. package/dist/types/src/server/runtimes/node/node.d.ts +0 -1
  206. package/dist/types/src/server/runtimes/python/docker.d.ts +0 -14
  207. package/dist/types/src/server/runtimes/ruby/docker.d.ts +0 -14
  208. package/dist/types/src/server/runtimes/rust/docker.d.ts +0 -14
  209. package/dist/types/src/server/runtimes/web/docker.d.ts +0 -15
  210. package/dist/types/src/server/runtimes/web/esbuild.d.ts +0 -4
  211. package/dist/types/src/server/runtimes/web/hoist.d.ts +0 -1
  212. package/dist/types/src/server/runtimes/web/web.d.ts +0 -1
  213. package/dist/types/src/server/serverClasees/Server.d.ts +0 -8
  214. package/dist/types/src/server/serverClasees/Server_Base.d.ts +0 -9
  215. package/dist/types/src/server/serverClasees/Server_Docker.d.ts +0 -81
  216. package/dist/types/src/server/serverClasees/Server_FS.d.ts +0 -0
  217. package/dist/types/src/server/serverClasees/Server_HTTP.d.ts +0 -20
  218. package/dist/types/src/server/serverClasees/Server_WS.d.ts +0 -23
  219. package/dist/types/src/server/serverManagers/DockerManager.d.ts +0 -0
  220. package/dist/types/src/server/serverManagers/HttpManager.d.ts +0 -9
  221. package/dist/types/src/server/serverManagers/WsManager.d.ts +0 -10
  222. package/dist/types/src/server/serverManagers/fs.d.ts +0 -0
  223. package/dist/types/src/server/serverManagers/tcp.d.ts +0 -27
  224. package/dist/types/src/server/types.d.ts +0 -68
  225. package/dist/types/src/testeranto.d.ts +0 -1
  226. package/dist/types/src/vscode/TerminalManager.d.ts +0 -18
  227. package/dist/types/src/vscode/TestTreeItem.d.ts +0 -13
  228. package/dist/types/src/vscode/extension.d.ts +0 -3
  229. package/dist/types/src/vscode/providers/FeaturesTreeDataProvider.d.ts +0 -17
  230. package/dist/types/src/vscode/providers/FileTreeDataProvider.d.ts +0 -13
  231. package/dist/types/src/vscode/providers/ProcessesTreeDataProvider.d.ts +0 -23
  232. package/dist/types/src/vscode/providers/ResultsTreeDataProvider.d.ts +0 -10
  233. package/dist/types/src/vscode/providers/TestTreeDataProvider.d.ts +0 -16
  234. package/dist/types/src/vscode/types.d.ts +0 -14
  235. package/dist/types/testeranto/testeranto.d.ts +0 -3
  236. package/dist/types/tsconfig.types.tsbuildinfo +0 -1
  237. package/dist/vscode/extension.mjs +0 -5116
@@ -1,2 +0,0 @@
1
- declare const _default: () => Promise<void>;
2
- export default _default;
@@ -1,87 +0,0 @@
1
- import { ITestResourceConfiguration } from "./lib/tiposkripto";
2
- import { BaseGiven, IGivens } from "./lib/tiposkripto/BaseGiven";
3
- import { BaseSuite } from "./lib/tiposkripto/BaseSuite";
4
- import { BaseThen } from "./lib/tiposkripto/BaseThen";
5
- import { BaseWhen } from "./lib/tiposkripto/BaseWhen";
6
- import { Ibdd_in_any, Ibdd_out_any } from "./lib/tiposkripto/CoreTypes";
7
- export type IChecks = ((x: any) => string)[];
8
- export type ISummary = Record<string, {
9
- runTimeTests: number | "?" | undefined;
10
- runTimeErrors: number | "?" | undefined;
11
- typeErrors: number | "?" | undefined;
12
- staticErrors: number | "?" | undefined;
13
- prompt: string | "?" | undefined;
14
- failingFeatures: object | undefined;
15
- }> & {
16
- nodeLogs?: string;
17
- webLogs?: string;
18
- pureLogs?: string;
19
- };
20
- export type SuiteSpecification<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
21
- [K in keyof O["suites"]]: (name: string, givens: IGivens<I>) => BaseSuite<I, O>;
22
- };
23
- export type TestSummary = {
24
- testName: string;
25
- errors?: {
26
- runtime?: number;
27
- type?: number;
28
- static?: number;
29
- };
30
- prompt?: string;
31
- failedFeatures: string[];
32
- };
33
- export type TestLifecycle<Subject, State, Selection> = {
34
- beforeAll?: (input: any) => Promise<Subject>;
35
- beforeEach?: (subject: Subject) => Promise<State>;
36
- executeStep?: (state: State) => Promise<State>;
37
- verifyStep?: (state: State) => Promise<Selection>;
38
- afterEach?: (state: State) => Promise<void>;
39
- afterAll?: (state: State) => Promise<void>;
40
- assert?: (result: Selection) => void;
41
- };
42
- export type GivenSpecification<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
43
- [K in keyof O["givens"]]: (features: string[], whens: BaseWhen<I>[], thens: BaseThen<I>[], ...xtrasB: O["givens"][K]) => BaseGiven<I>;
44
- };
45
- export type WhenSpecification<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
46
- [K in keyof O["whens"]]: (...xtrasC: O["whens"][K]) => BaseWhen<I>;
47
- };
48
- export type ThenSpecification<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
49
- [K in keyof O["thens"]]: (...xtrasD: O["thens"][K]) => BaseThen<I>;
50
- };
51
- export type TestSuiteImplementation<O extends Ibdd_out_any> = {
52
- [K in keyof O["suites"]]: string;
53
- };
54
- export type TestGivenImplementation<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
55
- [K in keyof O["givens"]]: (...Ig: O["givens"][K]) => I["given"];
56
- };
57
- export type TestWhenImplementation<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
58
- [K in keyof O["whens"]]: (...Iw: O["whens"][K]) => (zel: I["iselection"], tr: ITestResourceConfiguration) => Promise<I["when"]>;
59
- };
60
- export type TestThenImplementation<I extends Ibdd_in_any, O extends Ibdd_out_any> = {
61
- [K in keyof O["thens"]]: (...It: O["thens"][K]) => (ssel: I["iselection"]) => I["then"];
62
- };
63
- export type Modify<T, R> = Omit<T, keyof R> & R;
64
- export type TestSuiteShape = Record<string, any>;
65
- export type TestGivenShape = Record<string, any>;
66
- export type TestWhenShape = Record<string, any>;
67
- export type TestThenShape = Record<string, any>;
68
- export type IPluginFactory = (register?: (entrypoint: string, sources: string[]) => any, entrypoints?: string[]) => Plugin;
69
- export type IRunTime = `node` | `web` | `golang` | `python` | `ruby` | `java` | `rust`;
70
- export type ITestTypes = [string, IRunTime, {
71
- ports: number;
72
- }, ITestTypes[]];
73
- export type IDockerSteps = "RUN" | "WORKDIR" | "COPY";
74
- export type IBaseTestConfig = {
75
- runtime: string;
76
- tests: string[];
77
- dockerfile: string;
78
- buildOptions: string;
79
- checks: IChecks;
80
- };
81
- export type ITestconfigV2Node = IBaseTestConfig & {
82
- plugins: any[];
83
- };
84
- export type ITestconfigV2 = {
85
- featureIngestor: (s: string) => Promise<string>;
86
- runtimes: Record<string, IBaseTestConfig>;
87
- };
@@ -1,2 +0,0 @@
1
- import type { Plugin } from "esbuild";
2
- export declare const consoleDetectorPlugin: Plugin;
@@ -1,2 +0,0 @@
1
- import { LintResult } from "eslint/lib/linter";
2
- export default function (results: LintResult[]): string;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- setup(build: any): void;
4
- };
5
- export default _default;
@@ -1,3 +0,0 @@
1
- import { BuildOptions } from "esbuild";
2
- declare const _default: (config: object) => BuildOptions;
3
- export default _default;
@@ -1,7 +0,0 @@
1
- import type { Plugin } from "esbuild";
2
- import { IRunTime } from "../Types";
3
- declare const _default: (platform: IRunTime, testName: string) => {
4
- register: (entrypoint: string, sources: string[]) => void;
5
- inputFilesPluginFactory: Plugin;
6
- };
7
- export default _default;
@@ -1,2 +0,0 @@
1
- import type { Plugin } from "esbuild";
2
- export declare const nativeImportDetectorPlugin: Plugin;
@@ -1,6 +0,0 @@
1
- import { IRunTime } from "../Types";
2
- declare const _default: (r: IRunTime) => {
3
- name: string;
4
- setup: (build: any) => void;
5
- };
6
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,42 +0,0 @@
1
- import { ITestArtifactory, ITestResourceConfiguration } from ".";
2
- import { Ibdd_in_any } from "./CoreTypes";
3
- /**
4
- * Represents a collection of Given conditions keyed by their names.
5
- * Givens are typically organized as named collections because:
6
- * - They set up different initial states for tests
7
- * - Tests often need to reference specific Given conditions by name
8
- * - This allows for better organization and reuse of setup logic
9
- * - The BDD pattern often involves multiple named Given scenarios
10
- */
11
- export type IGivens<I extends Ibdd_in_any> = Record<string, BaseGiven<I>>;
12
- export declare abstract class BaseGiven<I extends Ibdd_in_any> {
13
- features: string[];
14
- whens: any[];
15
- thens: any[];
16
- error: Error;
17
- fail: any;
18
- store: I["istore"];
19
- recommendedFsPath: string;
20
- givenCB: I["given"];
21
- initialValues: any;
22
- key: string;
23
- failed: boolean;
24
- artifacts: string[];
25
- status: boolean | undefined;
26
- addArtifact(path: string): void;
27
- constructor(features: string[], whens: any[], thens: any[], givenCB: I["given"], initialValues: any);
28
- beforeAll(store: I["istore"]): I["istore"];
29
- toObj(): {
30
- key: string;
31
- whens: any[];
32
- thens: any[];
33
- error: (string | Error | undefined)[] | null;
34
- failed: boolean;
35
- features: string[];
36
- artifacts: string[];
37
- status: boolean | undefined;
38
- };
39
- abstract givenThat(subject: I["isubject"], testResourceConfiguration: any, artifactory: ITestArtifactory, givenCB: I["given"], initialValues: any): Promise<I["istore"]>;
40
- afterEach(store: I["istore"], key: string, artifactory: ITestArtifactory): Promise<I["istore"]>;
41
- give(subject: I["isubject"], key: string, testResourceConfiguration: ITestResourceConfiguration, tester: (t: Awaited<I["then"]> | undefined) => boolean, artifactory: ITestArtifactory, suiteNdx: number): Promise<I["istore"]>;
42
- }
@@ -1,46 +0,0 @@
1
- import { Ibdd_in_any, Ibdd_out_any } from "./CoreTypes";
2
- import { IGivens } from "./BaseGiven";
3
- import { ITestResourceConfiguration, ITestArtifactory } from ".";
4
- /**
5
- * Represents a collection of test suites keyed by their names.
6
- * Suites are organized as named collections because:
7
- * - Tests are typically grouped into logical suites (e.g., by feature, component)
8
- * - Suites may have different configurations or setup requirements
9
- * - Named suites allow for selective test execution and better reporting
10
- * - This supports the hierarchical structure of test organization
11
- */
12
- export type ISuites<I extends Ibdd_in_any, O extends Ibdd_out_any> = Record<string, BaseSuite<I, O>>;
13
- export declare abstract class BaseSuite<I extends Ibdd_in_any, O extends Ibdd_out_any> {
14
- name: string;
15
- givens: IGivens<I>;
16
- store: I["istore"];
17
- testResourceConfiguration: ITestResourceConfiguration;
18
- index: number;
19
- failed: boolean;
20
- fails: number;
21
- artifacts: string[];
22
- addArtifact(path: string): void;
23
- constructor(name: string, index: number, givens?: IGivens<I>);
24
- features(): any[];
25
- toObj(): {
26
- name: string;
27
- givens: {
28
- key: string;
29
- whens: any[];
30
- thens: any[];
31
- error: (string | Error | undefined)[] | null;
32
- failed: boolean;
33
- features: string[];
34
- artifacts: string[];
35
- status: boolean | undefined;
36
- }[];
37
- fails: number;
38
- failed: boolean;
39
- features: any[];
40
- artifacts: string[];
41
- };
42
- setup(s: I["iinput"], artifactory: ITestArtifactory, tr: ITestResourceConfiguration): Promise<I["isubject"]>;
43
- assertThat(t: Awaited<I["then"]> | undefined): boolean;
44
- afterAll(store: I["istore"], artifactory: ITestArtifactory): I["istore"];
45
- run(input: I["iinput"], testResourceConfiguration: ITestResourceConfiguration): Promise<BaseSuite<I, O>>;
46
- }
@@ -1,28 +0,0 @@
1
- import { Ibdd_in_any } from "./CoreTypes";
2
- import { ITestResourceConfiguration } from ".";
3
- export declare abstract class BaseThen<I extends Ibdd_in_any> {
4
- name: string;
5
- thenCB: (storeState: I["iselection"]) => Promise<I["then"]>;
6
- error: boolean;
7
- artifacts: string[];
8
- status: boolean | undefined;
9
- constructor(name: string, thenCB: (val: I["iselection"]) => Promise<I["then"]>);
10
- addArtifact(path: string): void;
11
- toObj(): {
12
- name: string;
13
- error: boolean;
14
- artifacts: string[];
15
- status: boolean | undefined;
16
- };
17
- abstract butThen(store: I["istore"], thenCB: (s: I["iselection"]) => Promise<I["isubject"]>, testResourceConfiguration: ITestResourceConfiguration): Promise<I["iselection"]>;
18
- test(store: I["istore"], testResourceConfiguration: any, filepath: string): Promise<I["then"] | undefined>;
19
- }
20
- /**
21
- * Represents a collection of Then assertions keyed by their names.
22
- * Thens are typically part of Given definitions rather than standalone collections,
23
- * but this type exists for consistency and potential future use cases where:
24
- * - Assertions might need to be reused or composed dynamically
25
- * - Custom assertion libraries could benefit from named assertion collections
26
- * - Advanced validation patterns require named Then conditions
27
- */
28
- export type IThens<I extends Ibdd_in_any> = Record<string, BaseThen<I>>;
@@ -1,35 +0,0 @@
1
- import { Ibdd_in_any, Ibdd_out_any, ITestAdapter, ITestImplementation, ITestSpecification } from "./CoreTypes";
2
- import { BaseGiven } from "./BaseGiven";
3
- import { BaseThen } from "./BaseThen.js";
4
- import { BaseWhen } from "./BaseWhen.js";
5
- import { ITestJob, ITestResourceConfiguration, ITTestResourceRequest } from "./index.js";
6
- type IExtenstions = Record<string, unknown>;
7
- export default abstract class BaseTiposkripto<I extends Ibdd_in_any = Ibdd_in_any, O extends Ibdd_out_any = Ibdd_out_any, M = unknown> {
8
- totalTests: number;
9
- artifacts: Promise<unknown>[];
10
- assertThis: (t: I["then"]) => any;
11
- givenOverrides: Record<string, any>;
12
- specs: any;
13
- suitesOverrides: Record<string, any>;
14
- testJobs: ITestJob[];
15
- testResourceRequirement: ITTestResourceRequest;
16
- testSpecification: ITestSpecification<I, O>;
17
- thenOverrides: Record<string, any>;
18
- whenOverrides: Record<string, any>;
19
- abstract writeFileSync(filename: string, payload: string): void;
20
- constructor(webOrNode: "web" | "node", input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M> & {
21
- suites: Record<string, object>;
22
- givens: Record<string, any>;
23
- whens: Record<string, any>;
24
- thens: Record<string, any>;
25
- }, testResourceRequirement?: ITTestResourceRequest, testAdapter?: Partial<ITestAdapter<I>>, testResourceConfiguration?: ITestResourceConfiguration, wsPort?: string, wsHost?: string);
26
- receiveTestResourceConfig(testResourceConfig: ITestResourceConfiguration): Promise<any>;
27
- Specs(): any;
28
- Suites(): Record<string, any>;
29
- Given(): Record<keyof IExtenstions, (name: string, features: string[], whens: BaseWhen<I>[], thens: BaseThen<I>[], gcb: I["given"]) => BaseGiven<I>>;
30
- When(): Record<keyof IExtenstions, (arg0: I["istore"], ...arg1: any) => BaseWhen<I>>;
31
- Then(): Record<keyof IExtenstions, (selection: I["iselection"], expectation: any) => BaseThen<I>>;
32
- getTestJobs(): ITestJob[];
33
- private calculateTotalTests;
34
- }
35
- export {};
@@ -1,27 +0,0 @@
1
- import { Ibdd_in_any } from "./CoreTypes";
2
- export declare abstract class BaseWhen<I extends Ibdd_in_any> {
3
- name: string;
4
- whenCB: (x: I["iselection"]) => I["then"];
5
- error: Error;
6
- artifacts: string[];
7
- status: boolean | undefined;
8
- addArtifact(path: string): void;
9
- constructor(name: string, whenCB: (xyz: I["iselection"]) => I["then"]);
10
- abstract andWhen(store: I["istore"], whenCB: (x: I["iselection"]) => I["then"], testResource: any): Promise<any>;
11
- toObj(): {
12
- name: string;
13
- status: boolean | undefined;
14
- error: string | null;
15
- artifacts: string[];
16
- };
17
- test(store: I["istore"], testResourceConfiguration: any): Promise<any>;
18
- }
19
- /**
20
- * Represents a collection of When actions keyed by their names.
21
- * Whens are typically part of Given definitions rather than standalone collections,
22
- * but this type exists for consistency and potential future use cases where:
23
- * - When actions might need to be reused across multiple Given conditions
24
- * - Dynamic composition of test steps is required
25
- * - Advanced test patterns need to reference When actions by name
26
- */
27
- export type IWhens<I extends Ibdd_in_any> = Record<string, BaseWhen<I>>;
@@ -1,51 +0,0 @@
1
- import { ITestResourceConfiguration } from "./lib/tiposkripto";
2
- import { BaseSuite } from "./lib/tiposkripto/BaseSuite";
3
- import { GivenSpecification, WhenSpecification, ThenSpecification, TestWhenImplementation, Modify, TestSuiteImplementation, TestGivenImplementation, TestThenImplementation, TestSuiteShape, TestGivenShape, TestWhenShape, TestThenShape, SuiteSpecification } from "./Types";
4
- export type ITestAdapter<I extends Ibdd_in_any> = {
5
- assertThis: (x: I["then"]) => any;
6
- andWhen: (store: I["istore"], whenCB: I["when"], testResource: ITestResourceConfiguration) => Promise<I["istore"]>;
7
- butThen: (store: I["istore"], thenCB: I["then"], testResource: ITestResourceConfiguration) => Promise<I["iselection"]>;
8
- afterAll: (store: I["istore"]) => any;
9
- afterEach: (store: I["istore"], key: string) => Promise<unknown>;
10
- beforeAll: (input: I["iinput"], testResource: ITestResourceConfiguration) => Promise<I["isubject"]>;
11
- beforeEach: (subject: I["isubject"], initializer: (c?: any) => I["given"], testResource: ITestResourceConfiguration, initialValues: any) => Promise<I["istore"]>;
12
- };
13
- export type ITestSpecification<I extends Ibdd_in_any, O extends Ibdd_out_any> = (Suite: SuiteSpecification<I, O>, Given: GivenSpecification<I, O>, When: WhenSpecification<I, O>, Then: ThenSpecification<I, O>) => BaseSuite<I, O>[];
14
- export type ITestImplementation<I extends Ibdd_in_any, O extends Ibdd_out_any, modifier = {
15
- whens: TestWhenImplementation<I, O>;
16
- }> = Modify<{
17
- suites: TestSuiteImplementation<O>;
18
- givens: TestGivenImplementation<I, O>;
19
- whens: TestWhenImplementation<I, O>;
20
- thens: TestThenImplementation<I, O>;
21
- }, modifier>;
22
- export type Ibdd_out<ISuites extends TestSuiteShape = TestSuiteShape, IGivens extends TestGivenShape = TestGivenShape, IWhens extends TestWhenShape = TestWhenShape, IThens extends TestThenShape = TestThenShape> = {
23
- suites: ISuites;
24
- givens: IGivens;
25
- whens: IWhens;
26
- thens: IThens;
27
- };
28
- export type Ibdd_out_any = Ibdd_out<TestSuiteShape, TestGivenShape, TestWhenShape, TestThenShape>;
29
- export type Ibdd_in<IInput, // Type of initial test input
30
- ISubject, // Type of object being tested
31
- IStore, // Type for storing test state between steps
32
- ISelection, // Type for selecting state for assertions
33
- IGiven, // Type for Given step functions
34
- IWhen, // Type for When step functions
35
- IThen> = {
36
- /** Initial input required to start tests */
37
- iinput: IInput;
38
- /** The subject being tested (class, function, etc) */
39
- isubject: ISubject;
40
- /** Complete test state storage */
41
- istore: IStore;
42
- /** Selected portion of state for assertions */
43
- iselection: ISelection;
44
- /** Function type for Given steps */
45
- given: IGiven;
46
- /** Function type for When steps */
47
- when: IWhen;
48
- /** Function type for Then steps */
49
- then: IThen;
50
- };
51
- export type Ibdd_in_any = Ibdd_in<unknown, unknown, unknown, unknown, unknown, unknown, unknown>;
@@ -1,9 +0,0 @@
1
- import { Ibdd_in_any, Ibdd_out, Ibdd_out_any, ITestAdapter, ITestImplementation, ITestSpecification } from "./CoreTypes.js";
2
- import Tiposkripto from "./BaseTiposkripto.js";
3
- import { ITTestResourceRequest } from "./index.js";
4
- export declare class NodeTiposkripto<I extends Ibdd_in_any, O extends Ibdd_out_any, M> extends Tiposkripto<I, O, M> {
5
- constructor(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testResourceRequirement: ITTestResourceRequest, testAdapter: Partial<ITestAdapter<I>>);
6
- writeFileSync(filename: string, payload: string): void;
7
- }
8
- declare const tiposkripto: <I extends Ibdd_in_any, O extends Ibdd_out, M>(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testAdapter: Partial<ITestAdapter<I>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Tiposkripto<I, O, M>>;
9
- export default tiposkripto;
@@ -1,5 +0,0 @@
1
- import { ITTestResourceRequest, ITestResourceConfiguration } from ".";
2
- import { ITestAdapter, ITestImplementation, ITestSpecification, Ibdd_in_any, Ibdd_out } from "./CoreTypes";
3
- import type BaseTiposkripto from "./BaseTiposkripto.js";
4
- 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>, testAdapter: Partial<ITestAdapter<I>>, testResourceRequirement?: ITTestResourceRequest, testResourceConfiguration?: ITestResourceConfiguration) => Promise<BaseTiposkripto<I, O, M>>;
5
- export default _default;
@@ -1,9 +0,0 @@
1
- import { Ibdd_in_any, Ibdd_out_any } from "./CoreTypes";
2
- import { IGivens, BaseGiven } from "./BaseGiven";
3
- import { BaseSuite } from "./BaseSuite";
4
- import { BaseThen } from "./BaseThen";
5
- import { BaseWhen } from "./BaseWhen";
6
- export type ISuiteKlasser<I extends Ibdd_in_any, O extends Ibdd_out_any> = (name: string, index: number, givens: IGivens<I>) => BaseSuite<I, O>;
7
- export type IGivenKlasser<I extends Ibdd_in_any> = (name: any, features: any, whens: any, thens: any, givenCB: any) => BaseGiven<I>;
8
- export type IWhenKlasser<I extends Ibdd_in_any> = (s: any, o: any) => BaseWhen<I>;
9
- export type IThenKlasser<I extends Ibdd_in_any> = (s: any, o: any) => BaseThen<I>;
@@ -1,9 +0,0 @@
1
- import { Ibdd_in_any, Ibdd_out, Ibdd_out_any, ITestAdapter, ITestImplementation, ITestSpecification } from "./CoreTypes.js";
2
- import Tiposkripto from "./BaseTiposkripto.js";
3
- import { ITTestResourceRequest } from "./index.js";
4
- export declare class WebTiposkripto<I extends Ibdd_in_any, O extends Ibdd_out_any, M> extends Tiposkripto<I, O, M> {
5
- constructor(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testResourceRequirement: ITTestResourceRequest, testAdapter: Partial<ITestAdapter<I>>);
6
- writeFileSync(filename: string, payload: string): void;
7
- }
8
- declare const tiposkripto: <I extends Ibdd_in_any, O extends Ibdd_out, M>(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M>, testAdapter: Partial<ITestAdapter<I>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Tiposkripto<I, O, M>>;
9
- export default tiposkripto;
@@ -1,9 +0,0 @@
1
- import { Ibdd_in_any } from ".././CoreTypes";
2
- import { BaseGiven } from "../BaseGiven";
3
- import { BaseThen } from "../BaseThen";
4
- import { BaseWhen } from "../BaseWhen";
5
- export declare class MockGiven<I extends Ibdd_in_any> extends BaseGiven<I> {
6
- constructor(name: string, features: string[], whens: BaseWhen<I>[], thens: BaseThen<I>[], givenCB: I["given"], initialValues: any);
7
- givenThat(subject: I["isubject"], testResourceConfiguration: any, artifactory: any, givenCB: I["given"], initialValues: any): Promise<I["istore"]>;
8
- uberCatcher(e: Error): void;
9
- }
@@ -1,6 +0,0 @@
1
- import { Ibdd_in_any } from ".././CoreTypes";
2
- import { BaseThen } from "../BaseThen";
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): Promise<I["iselection"]>;
6
- }
@@ -1,6 +0,0 @@
1
- import { Ibdd_in_any } from ".././CoreTypes";
2
- import { BaseWhen } from "../BaseWhen";
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): Promise<I["istore"]>;
6
- }
@@ -1,3 +0,0 @@
1
- import { ITestAdapter } from ".././CoreTypes";
2
- import { I } from "./types";
3
- export declare const testAdapter: ITestAdapter<I>;
@@ -1,3 +0,0 @@
1
- import { ITestImplementation } from "./CoreTypes";
2
- import { I, O } from "./types";
3
- export declare const implementation: ITestImplementation<I, O>;
@@ -1,28 +0,0 @@
1
- declare const _default: Promise<import("../BaseTiposkripto").default<Ibdd_in<{}, {}, {
2
- testStore: {
3
- value: string;
4
- };
5
- error?: Error;
6
- }, {
7
- testSelection: {
8
- selected: boolean;
9
- };
10
- }, () => () => {
11
- testStore: {
12
- value: string;
13
- };
14
- }, (store: any) => (store: any) => any, (store: any) => (store: any) => any>, Ibdd_out<{
15
- Default: [string];
16
- }, {
17
- Default: [];
18
- WithError: [];
19
- }, {
20
- modifyStore: [string];
21
- throwError: [];
22
- }, {
23
- verifyStore: [string];
24
- verifyError: [string];
25
- }, {
26
- Default: [];
27
- }>, {}>>;
28
- export default _default;
@@ -1,3 +0,0 @@
1
- import { ITestSpecification } from "./CoreTypes";
2
- import { I, O } from "./types";
3
- export declare const specification: ITestSpecification<I, O>;
@@ -1,39 +0,0 @@
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) => (store: any) => any, // when
21
- (store: any) => (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
- }>;
@@ -1,56 +0,0 @@
1
- import { Ibdd_in_any, ITestAdapter, Ibdd_out_any } from "./CoreTypes";
2
- import { IGivens } from "./BaseGiven";
3
- import { BaseSuite } from "./BaseSuite";
4
- export declare const BaseAdapter: <T extends Ibdd_in_any>() => ITestAdapter<T>;
5
- export declare const DefaultAdapter: <T extends Ibdd_in_any>(p: Partial<ITestAdapter<T>>) => ITestAdapter<T>;
6
- export type ITestResourceConfiguration = {
7
- name: string;
8
- fs: string;
9
- ports: number[];
10
- files: string[];
11
- timeout?: number;
12
- retries?: number;
13
- environment?: Record<string, any>;
14
- };
15
- export type ITTestResourceRequirement = {
16
- name: string;
17
- ports: number;
18
- fs: string;
19
- };
20
- export type ITTestResourceRequest = {
21
- ports: number;
22
- };
23
- type ITest = {
24
- toObj(): object;
25
- name: string;
26
- givens: IGivens<Ibdd_in_any>;
27
- testResourceConfiguration: ITestResourceConfiguration;
28
- };
29
- export type ITestJob = {
30
- toObj(): object;
31
- test: ITest;
32
- runner: (x: ITestResourceConfiguration) => Promise<BaseSuite<Ibdd_in_any, Ibdd_out_any>>;
33
- testResourceRequirement: ITTestResourceRequirement;
34
- receiveTestResourceConfig: (x: any) => IFinalResults;
35
- };
36
- export type ITestResults = Promise<{
37
- test: ITest;
38
- }>[];
39
- export declare const defaultTestResourceRequirement: ITTestResourceRequest;
40
- export type ITestArtifactory = (key: string, value: unknown) => unknown;
41
- export type IRunnables = {
42
- golangEntryPoints: Record<string, string>;
43
- nodeEntryPoints: Record<string, string>;
44
- pythonEntryPoints: Record<string, string>;
45
- webEntryPoints: Record<string, string>;
46
- };
47
- export type IFinalResults = {
48
- features: string[];
49
- failed: boolean;
50
- fails: number;
51
- artifacts: Promise<unknown>[];
52
- tests: number;
53
- runTimeTests: number;
54
- testJob: object;
55
- };
56
- export {};
@@ -1,2 +0,0 @@
1
- import { IRunTime } from "./Types";
2
- export declare const RUN_TIMES: IRunTime[];
@@ -1,11 +0,0 @@
1
- export interface AiderConfig {
2
- "openai-api-key"?: string;
3
- "anthropic-api-key"?: string;
4
- "api-key"?: string | string[];
5
- model?: string;
6
- "auto-commits"?: boolean;
7
- [key: string]: any;
8
- }
9
- export declare function parseAiderConfig(): AiderConfig | null;
10
- export declare function extractApiKeys(config: AiderConfig): Record<string, string>;
11
- export declare function getApiKeyEnvironmentVariables(config: AiderConfig): Record<string, string>;
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { IRunnables } from "../lib/tiposkripto";
2
- import { ITestconfig } from "../Types";
3
- export declare const getRunnables: (config: ITestconfig, projectName: string) => IRunnables;
@@ -1,2 +0,0 @@
1
- export declare function generateReactAppHtml(title: string, scriptPath: string, appName: string): string;
2
- export declare function generateRedirectHtml(redirectUrl: string, message: string): string;
@@ -1,2 +0,0 @@
1
- export declare const version = "20.19.4";
2
- export declare const baseNodeImage = "node:20.19.4-alpine";
@@ -1,12 +0,0 @@
1
- import { IBuiltConfig } from "../../Types";
2
- export interface BuildOptions {
3
- config: IBuiltConfig;
4
- entryPoints: string[];
5
- configPath: string;
6
- bundlesDir: string;
7
- metafileSubdir: string;
8
- }
9
- export declare function computeFilesHash(files: string[]): Promise<string>;
10
- export declare function sendSourceFilesUpdated(config: IBuiltConfig, hash: string, files: string[], testName: string, runtime: 'node' | 'web'): Promise<void>;
11
- export declare function extractInputFilesFromMetafile(metafile: any): string[];
12
- export declare function processMetafile(config: IBuiltConfig, metafile: any, runtime: 'node' | 'web'): Promise<void>;
@@ -1,5 +0,0 @@
1
- import { ITestconfigV2 } from "../../../Types";
2
- export declare const golangDockerComposeFile: (config: ITestconfigV2, container_name: string) => object;
3
- export declare const golangBuildCommand: () => string;
4
- export declare const golangBddCommand: () => string;
5
- export declare const golangTestCommand: (config: IBuiltConfig, inputfiles: string[]) => string;