testeranto 0.197.0 → 0.198.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.
Files changed (301) hide show
  1. package/.vscode/settings.json +7 -2
  2. package/design-editor/DesignEditor.tsx +9 -5
  3. package/dist/common/design-editor/DesignEditor.js +8 -5
  4. package/dist/common/src/App.js +29 -5
  5. package/dist/common/src/Node.js +3 -2
  6. package/dist/common/src/PM/main.js +1 -1
  7. package/dist/common/src/Pure.js +2 -2
  8. package/dist/common/src/Web.js +2 -2
  9. package/dist/common/src/components/DesignEditorPage.js +55 -19
  10. package/dist/common/src/lib/BaseGiven.js +99 -0
  11. package/dist/common/src/lib/BaseSuite.test/mock.js +9 -5
  12. package/dist/common/src/lib/BaseThen.js +64 -0
  13. package/dist/common/src/lib/BaseWhen.js +45 -0
  14. package/dist/common/src/lib/Tiposkripto.js +149 -0
  15. package/dist/common/src/lib/{core.test/MockCore.js → Tiposkripto.test/MockTiposkripto.js} +5 -8
  16. package/dist/common/src/lib/{core.test/core.test.adapter.js → Tiposkripto.test/Tiposkripto.adapter.js} +10 -8
  17. package/dist/common/src/lib/{classBuilder.test/classBuilder.test.implementation.js → Tiposkripto.test/Tiposkripto.implementation.js} +44 -61
  18. package/dist/common/src/lib/Tiposkripto.test/Tiposkripto.js +11 -0
  19. package/dist/common/src/lib/{classBuilder.test/classBuilder.test.specification.js → Tiposkripto.test/Tiposkripto.specification.js} +13 -9
  20. package/dist/common/src/lib/abstractBase.test/MockGiven.js +10 -3
  21. package/dist/common/src/lib/abstractBase.test/MockThen.js +6 -3
  22. package/dist/common/src/lib/abstractBase.test/MockWhen.js +10 -3
  23. package/dist/common/src/lib/abstractBase.test/adapter.js +18 -6
  24. package/dist/common/src/lib/abstractBase.test/implementation.js +3 -3
  25. package/dist/common/src/lib/mocks.test.js +10 -8
  26. package/dist/common/src/run.js +15 -4
  27. package/dist/common/testeranto.config.js +12 -36
  28. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  29. package/dist/module/design-editor/DesignEditor.js +8 -5
  30. package/dist/module/src/App.js +29 -5
  31. package/dist/module/src/Node.js +3 -2
  32. package/dist/module/src/PM/main.js +1 -1
  33. package/dist/module/src/Pure.js +2 -2
  34. package/dist/module/src/Web.js +2 -2
  35. package/dist/module/src/components/DesignEditorPage.js +55 -19
  36. package/dist/module/src/lib/BaseGiven.js +95 -0
  37. package/dist/module/src/lib/BaseSuite.test/mock.js +6 -2
  38. package/dist/module/src/lib/BaseThen.js +60 -0
  39. package/dist/module/src/lib/BaseWhen.js +41 -0
  40. package/dist/module/src/lib/Tiposkripto.js +146 -0
  41. package/dist/module/src/lib/{core.test/MockCore.js → Tiposkripto.test/MockTiposkripto.js} +3 -6
  42. package/dist/module/src/lib/{core.test/core.test.adapter.js → Tiposkripto.test/Tiposkripto.adapter.js} +10 -8
  43. package/dist/module/src/lib/{classBuilder.test/classBuilder.test.implementation.js → Tiposkripto.test/Tiposkripto.implementation.js} +44 -58
  44. package/dist/module/src/lib/Tiposkripto.test/Tiposkripto.js +6 -0
  45. package/dist/module/src/lib/{classBuilder.test/classBuilder.test.specification.js → Tiposkripto.test/Tiposkripto.specification.js} +12 -8
  46. package/dist/module/src/lib/abstractBase.test/MockGiven.js +9 -2
  47. package/dist/module/src/lib/abstractBase.test/MockThen.js +5 -2
  48. package/dist/module/src/lib/abstractBase.test/MockWhen.js +9 -2
  49. package/dist/module/src/lib/abstractBase.test/adapter.js +18 -6
  50. package/dist/module/src/lib/abstractBase.test/implementation.js +3 -3
  51. package/dist/module/src/lib/mocks.test.js +11 -5
  52. package/dist/module/src/run.js +15 -4
  53. package/dist/module/testeranto.config.js +12 -36
  54. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  55. package/dist/prebuild/App.js +1461 -8949
  56. package/dist/prebuild/run.mjs +25 -14
  57. package/dist/tsconfig.tsbuildinfo +1 -0
  58. package/dist/types/src/Node.d.ts +2 -2
  59. package/dist/types/src/PM/__tests__/nodeSidecar.testeranto.d.ts +1 -15
  60. package/dist/types/src/PM/__tests__/pureSidecar.testeranto.d.ts +1 -15
  61. package/dist/types/src/PM/__tests__/webSidecar.testeranto.d.ts +1 -15
  62. package/dist/types/src/Pure.d.ts +2 -2
  63. package/dist/types/src/Pure.test.d.ts +1 -58
  64. package/dist/types/src/ReportServer.test.ts/index.d.ts +1 -28
  65. package/dist/types/src/Types.d.ts +3 -1
  66. package/dist/types/src/Web.d.ts +2 -2
  67. package/dist/types/src/components/pure/AppFrame.test/index.d.ts +1 -3
  68. package/dist/types/src/components/pure/FeaturesReporterView.test/index.d.ts +1 -1
  69. package/dist/types/src/components/pure/ModalContent.test/index.d.ts +1 -2
  70. package/dist/types/src/components/pure/ProjectPageView.test/index.d.ts +1 -1
  71. package/dist/types/src/components/pure/TestPageView.test/index.d.ts +1 -1
  72. package/dist/types/src/lib/BaseGiven.d.ts +44 -0
  73. package/dist/types/src/lib/BaseSuite.d.ts +12 -7
  74. package/dist/types/src/lib/BaseSuite.test/mock.d.ts +3 -1
  75. package/dist/types/src/lib/BaseSuite.test/node.test.d.ts +1 -2
  76. package/dist/types/src/lib/BaseSuite.test/pure.test.d.ts +1 -2
  77. package/dist/types/src/lib/BaseSuite.test/web.test.d.ts +1 -2
  78. package/dist/types/src/lib/BaseThen.d.ts +27 -0
  79. package/dist/types/src/lib/BaseWhen.d.ts +27 -0
  80. package/dist/types/src/lib/Tiposkripto.d.ts +35 -0
  81. package/dist/types/src/lib/{core.test/MockCore.d.ts → Tiposkripto.test/MockTiposkripto.d.ts} +3 -3
  82. package/dist/types/src/lib/{core.test/core.test.adapter.d.ts → Tiposkripto.test/Tiposkripto.adapter.d.ts} +1 -1
  83. package/dist/types/src/lib/Tiposkripto.test/Tiposkripto.d.ts +2 -0
  84. package/dist/types/src/lib/{core.test/core.test.implementation.d.ts → Tiposkripto.test/Tiposkripto.implementation.d.ts} +1 -1
  85. package/dist/types/src/lib/{core.test/core.test.specification.d.ts → Tiposkripto.test/Tiposkripto.specification.d.ts} +1 -1
  86. package/dist/types/src/lib/{classBuilder.test/classBuilder.test.types.d.ts → Tiposkripto.test/Tiposkripto.types.d.ts} +11 -9
  87. package/dist/types/src/lib/abstractBase.test/MockGiven.d.ts +3 -1
  88. package/dist/types/src/lib/abstractBase.test/MockThen.d.ts +1 -1
  89. package/dist/types/src/lib/abstractBase.test/MockWhen.d.ts +1 -1
  90. package/dist/types/src/lib/abstractBase.test/index.d.ts +1 -2
  91. package/dist/types/src/lib/abstractBase.test/types.d.ts +3 -3
  92. package/dist/types/src/lib/index.d.ts +1 -1
  93. package/dist/types/src/lib/mocks.test.d.ts +0 -2
  94. package/dist/types/src/lib/pmProxy.test/index.d.ts +1 -2
  95. package/dist/types/src/lib/types.d.ts +3 -1
  96. package/dist/types/src/mothership/test.d.ts +1 -18
  97. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  98. package/package.json +4 -4
  99. package/src/App.tsx +27 -5
  100. package/src/Node.ts +3 -2
  101. package/src/PM/main.ts +1 -1
  102. package/src/Pure.ts +3 -2
  103. package/src/Types.ts +5 -3
  104. package/src/Web.ts +2 -2
  105. package/src/components/DesignEditorPage.tsx +54 -21
  106. package/src/lib/BaseGiven.ts +193 -0
  107. package/src/lib/BaseSuite.test/mock.ts +9 -2
  108. package/src/lib/BaseSuite.ts +14 -1
  109. package/src/lib/BaseThen.ts +108 -0
  110. package/src/lib/BaseWhen.ts +91 -0
  111. package/src/lib/{core.test/MockCore.ts → Tiposkripto.test/MockTiposkripto.ts} +4 -7
  112. package/src/lib/{core.test/core.test.adapter.ts → Tiposkripto.test/Tiposkripto.adapter.ts} +12 -11
  113. package/src/lib/{classBuilder.test/classBuilder.test.implementation.ts → Tiposkripto.test/Tiposkripto.implementation.ts} +75 -78
  114. package/src/lib/Tiposkripto.test/Tiposkripto.specification.ts +109 -0
  115. package/src/lib/Tiposkripto.test/Tiposkripto.ts +15 -0
  116. package/src/lib/{classBuilder.test/classBuilder.test.types.ts → Tiposkripto.test/Tiposkripto.types.ts} +12 -9
  117. package/src/lib/Tiposkripto.ts +325 -0
  118. package/src/lib/abstractBase.test/MockGiven.ts +12 -2
  119. package/src/lib/abstractBase.test/MockThen.ts +7 -2
  120. package/src/lib/abstractBase.test/MockWhen.ts +10 -2
  121. package/src/lib/abstractBase.test/adapter.ts +20 -6
  122. package/src/lib/abstractBase.test/implementation.ts +6 -6
  123. package/src/lib/abstractBase.test/types.ts +3 -3
  124. package/src/lib/index.ts +9 -3
  125. package/src/lib/mocks.test.ts +10 -9
  126. package/src/lib/types.ts +3 -1
  127. package/src/run.ts +19 -4
  128. package/testeranto/App.js +1461 -8949
  129. package/testeranto/bundles/node/core/src/lib/BaseSuite.test/node.test.mjs +1121 -9
  130. package/testeranto/bundles/pure/core/src/lib/BaseSuite.test/pure.test.mjs +979 -8
  131. package/testeranto/bundles/{pure/core/chunk-62UVCSQC.mjs → web/core/src/lib/BaseSuite.test/web.test.mjs} +721 -431
  132. package/testeranto/metafiles/node/core.json +264 -2180
  133. package/testeranto/metafiles/pure/core.json +147 -288
  134. package/testeranto/metafiles/web/core.json +16949 -18
  135. package/testeranto/reports/core/config.json +8 -40
  136. package/testeranto/reports/core/src/Pure.test/pure/type_errors.txt +8 -13
  137. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/error.log +66 -2
  138. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/info.log +2 -0
  139. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/prompt.txt +16 -0
  140. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/tests.json +68 -0
  141. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/type_errors.txt +56 -0
  142. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/error.log +22 -3
  143. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/info.log +2 -0
  144. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +13 -0
  145. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/prompt.txt +16 -0
  146. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/tests.json +88 -0
  147. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +45 -0
  148. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/error.log +0 -3
  149. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/info.log +2 -0
  150. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/lint_errors.txt +47 -0
  151. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/prompt.txt +17 -0
  152. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/tests.json +57 -0
  153. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/type_errors.txt +99 -0
  154. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/prompt.txt +1 -0
  155. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/tests.json +7 -9
  156. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/type_errors.txt +11 -16
  157. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +11 -16
  158. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/error.log +0 -2
  159. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/prompt.txt +15 -0
  160. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/tests.json +29 -0
  161. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/type_errors.txt +56 -0
  162. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/exit.log +1 -0
  163. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/message.txt +17 -0
  164. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/prompt.txt +17 -0
  165. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/stderr.log +18 -0
  166. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/type_errors.txt +32 -0
  167. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/exit.log +1 -1
  168. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/stderr.log +60 -82
  169. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/type_errors.txt +8 -13
  170. package/testeranto/reports/core/summary.json +23 -36
  171. package/testeranto.config.ts +14 -41
  172. package/tsc.log +274 -455
  173. package/dist/common/src/lib/abstractBase.js +0 -196
  174. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +0 -25
  175. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +0 -113
  176. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.mock.js +0 -46
  177. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.node.js +0 -12
  178. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.pure.js +0 -12
  179. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.specification.js +0 -18
  180. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.web.js +0 -12
  181. package/dist/common/src/lib/basebuilder.js +0 -88
  182. package/dist/common/src/lib/classBuilder.js +0 -36
  183. package/dist/common/src/lib/classBuilder.test/classBuilder.test.adapter.js +0 -23
  184. package/dist/common/src/lib/classBuilder.test/classBuilder.test.js +0 -12
  185. package/dist/common/src/lib/classBuilder.test/classBuilder.test.types.js +0 -2
  186. package/dist/common/src/lib/classBuilder.test/mock.js +0 -17
  187. package/dist/common/src/lib/core.js +0 -45
  188. package/dist/common/src/lib/core.test/core.test.implementation.js +0 -121
  189. package/dist/common/src/lib/core.test/core.test.js +0 -63
  190. package/dist/common/src/lib/core.test/core.test.specification.js +0 -53
  191. package/dist/common/src/lib/core.test/core.test.types.js +0 -2
  192. package/dist/module/src/lib/abstractBase.js +0 -190
  193. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +0 -22
  194. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +0 -110
  195. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.mock.js +0 -42
  196. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.node.js +0 -7
  197. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.pure.js +0 -7
  198. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.specification.js +0 -14
  199. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.web.js +0 -7
  200. package/dist/module/src/lib/basebuilder.js +0 -84
  201. package/dist/module/src/lib/classBuilder.js +0 -32
  202. package/dist/module/src/lib/classBuilder.test/classBuilder.test.adapter.js +0 -20
  203. package/dist/module/src/lib/classBuilder.test/classBuilder.test.js +0 -7
  204. package/dist/module/src/lib/classBuilder.test/classBuilder.test.types.js +0 -1
  205. package/dist/module/src/lib/classBuilder.test/mock.js +0 -14
  206. package/dist/module/src/lib/core.js +0 -42
  207. package/dist/module/src/lib/core.test/core.test.implementation.js +0 -118
  208. package/dist/module/src/lib/core.test/core.test.js +0 -58
  209. package/dist/module/src/lib/core.test/core.test.specification.js +0 -49
  210. package/dist/module/src/lib/core.test/core.test.types.js +0 -1
  211. package/dist/types/src/lib/abstractBase.d.ts +0 -70
  212. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.adapter.d.ts +0 -3
  213. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.implementation.d.ts +0 -3
  214. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.mock.d.ts +0 -15
  215. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.node.d.ts +0 -3
  216. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.pure.d.ts +0 -3
  217. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.specification.d.ts +0 -3
  218. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.types.d.ts +0 -22
  219. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.web.d.ts +0 -3
  220. package/dist/types/src/lib/basebuilder.d.ts +0 -23
  221. package/dist/types/src/lib/classBuilder.d.ts +0 -15
  222. package/dist/types/src/lib/classBuilder.test/classBuilder.test.adapter.d.ts +0 -3
  223. package/dist/types/src/lib/classBuilder.test/classBuilder.test.d.ts +0 -3
  224. package/dist/types/src/lib/classBuilder.test/classBuilder.test.implementation.d.ts +0 -3
  225. package/dist/types/src/lib/classBuilder.test/classBuilder.test.specification.d.ts +0 -3
  226. package/dist/types/src/lib/classBuilder.test/mock.d.ts +0 -14
  227. package/dist/types/src/lib/core.d.ts +0 -12
  228. package/dist/types/src/lib/core.test/core.test.d.ts +0 -3
  229. package/dist/types/src/lib/core.test/core.test.types.d.ts +0 -46
  230. package/src/lib/abstractBase.ts +0 -351
  231. package/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts +0 -29
  232. package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +0 -139
  233. package/src/lib/baseBuilder.test/baseBuilder.test.mock.ts +0 -90
  234. package/src/lib/baseBuilder.test/baseBuilder.test.node.ts +0 -16
  235. package/src/lib/baseBuilder.test/baseBuilder.test.pure.ts +0 -16
  236. package/src/lib/baseBuilder.test/baseBuilder.test.specification.ts +0 -35
  237. package/src/lib/baseBuilder.test/baseBuilder.test.types.ts +0 -36
  238. package/src/lib/baseBuilder.test/baseBuilder.test.web.ts +0 -16
  239. package/src/lib/basebuilder.ts +0 -187
  240. package/src/lib/classBuilder.test/classBuilder.test.adapter.ts +0 -25
  241. package/src/lib/classBuilder.test/classBuilder.test.specification.ts +0 -104
  242. package/src/lib/classBuilder.test/classBuilder.test.ts +0 -14
  243. package/src/lib/classBuilder.test/mock.ts +0 -83
  244. package/src/lib/classBuilder.ts +0 -120
  245. package/src/lib/core.test/core.test.implementation.ts +0 -155
  246. package/src/lib/core.test/core.test.specification.ts +0 -113
  247. package/src/lib/core.test/core.test.ts +0 -72
  248. package/src/lib/core.test/core.test.types.ts +0 -68
  249. package/src/lib/core.ts +0 -125
  250. package/testeranto/bundles/node/core/chunk-4CSH4UJE.mjs +0 -872
  251. package/testeranto/bundles/node/core/chunk-4JTDLQVA.mjs +0 -253
  252. package/testeranto/bundles/node/core/chunk-C3APFDUV.mjs +0 -70
  253. package/testeranto/bundles/node/core/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +0 -243
  254. package/testeranto/bundles/node/core/src/lib/classBuilder.test/classBuilder.test.mjs +0 -411
  255. package/testeranto/bundles/node/core/src/lib/core.test/core.test.mjs +0 -494
  256. package/testeranto/bundles/node/core/src/lib/pmProxy.test/index.mjs +0 -4755
  257. package/testeranto/bundles/pure/core/src/Pure.test.mjs +0 -410
  258. package/testeranto/bundles/pure/core/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +0 -241
  259. package/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.html +0 -15
  260. package/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.html +0 -15
  261. package/testeranto/bundles/web/core/src/components/pure/TestPageView.test/index.html +0 -15
  262. package/testeranto/bundles/web/core/src/lib/baseBuilder.test/baseBuilder.test.web.html +0 -15
  263. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/exit.log +0 -1
  264. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +0 -10
  265. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +0 -17
  266. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/stdout.log +0 -6
  267. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-0/butThen/hello.txt +0 -1
  268. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-1/butThen/artifact_test.txt +0 -1
  269. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +0 -71
  270. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +0 -42
  271. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +0 -10
  272. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +0 -17
  273. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +0 -42
  274. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/debug.log +0 -0
  275. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/error.log +0 -3
  276. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/exit.log +0 -1
  277. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/info.log +0 -0
  278. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/warn.log +0 -0
  279. package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/exit.log +0 -1
  280. package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/prompt.txt +0 -17
  281. package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/stderr.log +0 -0
  282. package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/stdout.log +0 -619
  283. package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/tests.json +0 -165
  284. package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +0 -88
  285. package/testeranto/reports/core/src/lib/core.test/core.test/node/exit.log +0 -1
  286. package/testeranto/reports/core/src/lib/core.test/core.test/node/lint_errors.txt +0 -21
  287. package/testeranto/reports/core/src/lib/core.test/core.test/node/prompt.txt +0 -19
  288. package/testeranto/reports/core/src/lib/core.test/core.test/node/stderr.log +0 -0
  289. package/testeranto/reports/core/src/lib/core.test/core.test/node/type_errors.txt +0 -45
  290. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/tests.json +0 -152
  291. package/testeranto/reportsweb_build_errors +0 -546
  292. /package/dist/common/src/lib/{baseBuilder.test/baseBuilder.test.types.js → Tiposkripto.test/Tiposkripto.types.js} +0 -0
  293. /package/dist/module/src/lib/{baseBuilder.test/baseBuilder.test.types.js → Tiposkripto.test/Tiposkripto.types.js} +0 -0
  294. /package/testeranto/reports/core/src/{lib/classBuilder.test/classBuilder.test/node → components/pure/FeaturesReporterView.test/index/web}/lint_errors.txt +0 -0
  295. /package/testeranto/reports/core/src/{lib/baseBuilder.test/baseBuilder.test.node/node → components/pure/FeaturesReporterView.test/index/web}/message.txt +0 -0
  296. /package/testeranto/reports/core/src/{lib/baseBuilder.test/baseBuilder.test.pure/pure → components/pure/ProjectPageView.test/index/web}/message.txt +0 -0
  297. /package/testeranto/reports/core/src/{lib/classBuilder.test/classBuilder.test/node → components/pure/TestPageView.test/index/web}/message.txt +0 -0
  298. /package/testeranto/reports/core/src/lib/{baseBuilder.test/baseBuilder.test.node/node/stderr.log → BaseSuite.test/web.test/web/lint_errors.txt} +0 -0
  299. /package/testeranto/reports/core/src/lib/{core.test/core.test/node → BaseSuite.test/web.test/web}/message.txt +0 -0
  300. /package/testeranto/reports/core/src/lib/{baseBuilder.test/baseBuilder.test.pure/pure/exit.log → TipoSkripto.test/TipoSkripto/node/lint_errors.txt} +0 -0
  301. /package/testeranto/reports/core/src/lib/{core.test/core.test → TipoSkripto.test/TipoSkripto}/node/stdout.log +0 -0
@@ -1,3 +0,0 @@
1
- import { I, O, M } from "./classBuilder.test.types";
2
- declare const _default: Promise<import("../core").default<I, O, M>>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { ITestImplementation } from "../../CoreTypes";
2
- import { I, O, M } from "./classBuilder.test.types";
3
- export declare const implementation: ITestImplementation<I, O, M>;
@@ -1,3 +0,0 @@
1
- import { ITestSpecification } from "../../CoreTypes";
2
- import { I, O } from "./classBuilder.test.types";
3
- export declare const specification: ITestSpecification<I, O>;
@@ -1,14 +0,0 @@
1
- import { Ibdd_in_any, Ibdd_out_any, ITestImplementation, ITestSpecification } from "../../CoreTypes";
2
- import { ClassBuilder } from "../classBuilder";
3
- import { ISuiteKlasser, IGivenKlasser, IWhenKlasser, IThenKlasser } from "../types";
4
- import { ITTestResourceRequest } from "..";
5
- /**
6
- * Concrete testable implementation of ClassBuilder for testing
7
- */
8
- export default class TestClassBuilderMock<I extends Ibdd_in_any, O extends Ibdd_out_any, M = unknown> extends ClassBuilder<I, O, M> {
9
- testJobs: any[];
10
- specs: any[];
11
- artifacts: any[];
12
- summary: Record<string, any>;
13
- constructor(testImplementation: ITestImplementation<I, O, M>, testSpecification: ITestSpecification<I, O>, input: I["iinput"], suiteKlasser: ISuiteKlasser<I, O>, givenKlasser: IGivenKlasser<I>, whenKlasser: IWhenKlasser<I>, thenKlasser: IThenKlasser<I>, testResourceRequirement: ITTestResourceRequest);
14
- }
@@ -1,12 +0,0 @@
1
- import type { Ibdd_in_any, Ibdd_out_any, ITestImplementation, ITestAdapter, ITestSpecification } from "../CoreTypes";
2
- import { IFinalResults, ITTestResourceRequest } from "./index.js";
3
- import { ClassBuilder } from "./classBuilder.js";
4
- export default abstract class TesterantoCore<I extends Ibdd_in_any, O extends Ibdd_out_any, M> extends ClassBuilder<I, O, M> {
5
- constructor(input: I["iinput"], testSpecification: ITestSpecification<I, O>, testImplementation: ITestImplementation<I, O, M> & {
6
- suites: Record<string, any>;
7
- givens: Record<string, any>;
8
- whens: Record<string, any>;
9
- thens: Record<string, any>;
10
- }, testResourceRequirement: ITTestResourceRequest | undefined, testAdapter: Partial<ITestAdapter<I>>, uberCatcher: (cb: () => void) => void);
11
- abstract receiveTestResourceConfig(partialTestResource: string): Promise<IFinalResults>;
12
- }
@@ -1,3 +0,0 @@
1
- import { I, M } from "./core.test.types";
2
- declare const _default: Promise<number | import("../core").default<I, any, M>>;
3
- export default _default;
@@ -1,46 +0,0 @@
1
- import { Ibdd_in, Ibdd_out, ITestAdapter } 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
- WithCustomAdapter: [adapter: Partial<ITestAdapter<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
- };
@@ -1,351 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- /* eslint-disable @typescript-eslint/no-explicit-any */
3
-
4
- // Do not add logging to this file as it is used by the pure runtime.
5
-
6
- import type { Ibdd_in_any } from "../CoreTypes";
7
-
8
- import { ITestArtifactory, ITLog, ITTestResourceConfiguration } from ".";
9
- import { IPM } from "./types.js";
10
- import {
11
- afterEachProxy,
12
- andWhenProxy,
13
- beforeEachProxy,
14
- butThenProxy,
15
- } from "./pmProxy.js";
16
-
17
- export type IGivens<I extends Ibdd_in_any> = Record<string, BaseGiven<I>>;
18
-
19
- export abstract class BaseGiven<I extends Ibdd_in_any> {
20
- name: string;
21
- features: string[];
22
- whens: BaseWhen<I>[];
23
- thens: BaseThen<I>[];
24
- error: Error;
25
- fail: any;
26
- store: I["istore"];
27
- recommendedFsPath: string;
28
- givenCB: I["given"];
29
- initialValues: any;
30
- key: string;
31
- failed: boolean;
32
- artifacts: string[] = [];
33
-
34
- addArtifact(path: string) {
35
- const normalizedPath = path.replace(/\\/g, "/"); // Normalize path separators
36
- this.artifacts.push(normalizedPath);
37
- }
38
-
39
- constructor(
40
- name: string,
41
- features: string[],
42
- whens: BaseWhen<I>[],
43
- thens: BaseThen<I>[],
44
- givenCB: I["given"],
45
- initialValues: any
46
- ) {
47
- this.name = name;
48
- this.features = features;
49
- this.whens = whens;
50
- this.thens = thens;
51
- this.givenCB = givenCB;
52
- this.initialValues = initialValues;
53
- }
54
-
55
- beforeAll(store: I["istore"]) {
56
- return store;
57
- }
58
-
59
- toObj() {
60
- return {
61
- key: this.key,
62
- name: this.name,
63
- whens: this.whens.map((w) => {
64
- if (w && w.toObj) return w.toObj();
65
-
66
- console.error("w is not as expected!", JSON.stringify(w));
67
- return {};
68
- }),
69
- thens: this.thens.map((t) => t.toObj()),
70
- error: this.error ? [this.error, this.error.stack] : null,
71
- failed: this.failed,
72
- features: this.features,
73
- artifacts: this.artifacts,
74
- };
75
- }
76
-
77
- abstract givenThat(
78
- subject: I["isubject"],
79
- testResourceConfiguration,
80
- artifactory: ITestArtifactory,
81
- givenCB: I["given"],
82
- initialValues: any,
83
- pm: IPM
84
- ): Promise<I["istore"]>;
85
-
86
- async afterEach(
87
- store: I["istore"],
88
- key: string,
89
- artifactory: ITestArtifactory,
90
- pm: IPM
91
- ): Promise<unknown> {
92
- return store;
93
- }
94
-
95
- abstract uberCatcher(e);
96
-
97
- async give(
98
- subject: I["isubject"],
99
- key: string,
100
- testResourceConfiguration: ITTestResourceConfiguration,
101
- tester: (t: Awaited<I["then"]> | undefined) => boolean,
102
- artifactory: ITestArtifactory,
103
- tLog: ITLog,
104
- pm: IPM,
105
- suiteNdx: number
106
- ) {
107
- this.key = key;
108
-
109
- tLog(`\n ${this.key}`);
110
- tLog(`\n Given: ${this.name}`);
111
-
112
- const givenArtifactory = (fPath: string, value: unknown) =>
113
- artifactory(`given-${key}/${fPath}`, value);
114
-
115
- this.uberCatcher((e) => {
116
- console.error(e.toString());
117
- this.error = e.error;
118
- tLog(e.stack);
119
- });
120
-
121
- try {
122
- // Ensure addArtifact is properly bound to 'this'
123
- const addArtifact = this.addArtifact.bind(this);
124
- const proxiedPm = beforeEachProxy(pm, suiteNdx.toString(), addArtifact);
125
- this.store = await this.givenThat(
126
- subject,
127
- testResourceConfiguration,
128
- givenArtifactory,
129
- this.givenCB,
130
- this.initialValues,
131
- proxiedPm
132
- );
133
- } catch (e) {
134
- // console.error("Given failure: ", e.stack);
135
- this.failed = true;
136
- this.error = e.stack;
137
- // throw e;
138
- }
139
-
140
- try {
141
- // tLog(`\n Given this.store`, this.store);
142
-
143
- for (const [whenNdx, whenStep] of this.whens.entries()) {
144
- await whenStep.test(
145
- this.store,
146
- testResourceConfiguration,
147
- tLog,
148
- pm,
149
- `suite-${suiteNdx}/given-${key}/when/${whenNdx}`
150
- );
151
- }
152
-
153
- for (const [thenNdx, thenStep] of this.thens.entries()) {
154
- const t = await thenStep.test(
155
- this.store,
156
- testResourceConfiguration,
157
- tLog,
158
- pm,
159
- `suite-${suiteNdx}/given-${key}/then-${thenNdx}`
160
- );
161
- tester(t);
162
- }
163
- } catch (e) {
164
- this.error = e.stack;
165
- this.failed = true;
166
- // tLog(e.stack);
167
- // throw e;
168
- } finally {
169
- try {
170
- // Ensure addArtifact is properly bound to 'this'
171
- const addArtifact = this.addArtifact.bind(this);
172
- const proxiedPm = afterEachProxy(
173
- pm,
174
- suiteNdx.toString(),
175
- key,
176
- addArtifact
177
- );
178
- // (proxiedPm as any).currentStep = this;
179
- await this.afterEach(this.store, this.key, givenArtifactory, proxiedPm);
180
- } catch (e) {
181
- this.failed = e;
182
- throw e;
183
- // this.error = e.message;
184
- }
185
- }
186
-
187
- return this.store;
188
- }
189
- }
190
-
191
- export abstract class BaseWhen<I extends Ibdd_in_any> {
192
- public name: string;
193
- whenCB: (x: I["iselection"]) => I["then"];
194
- error: Error;
195
- artifacts: string[] = [];
196
-
197
- addArtifact(path: string) {
198
- const normalizedPath = path.replace(/\\/g, "/"); // Normalize path separators
199
- this.artifacts.push(normalizedPath);
200
- }
201
-
202
- constructor(name: string, whenCB: (xyz: I["iselection"]) => I["then"]) {
203
- this.name = name;
204
- this.whenCB = whenCB;
205
- }
206
-
207
- abstract andWhen(
208
- store: I["istore"],
209
- whenCB: (x: I["iselection"]) => I["then"],
210
- testResource,
211
- pm: IPM
212
- ): Promise<any>;
213
-
214
- toObj() {
215
- const obj = {
216
- name: this.name,
217
- error: this.error
218
- ? `${this.error.name}: ${this.error.message}\n${this.error.stack}`
219
- : null,
220
- artifacts: this.artifacts || [],
221
- };
222
- console.log(
223
- `[TOOBJ] Serializing ${this.constructor.name} with artifacts:`,
224
- obj.artifacts
225
- );
226
- return obj;
227
- }
228
-
229
- async test(
230
- store: I["istore"],
231
- testResourceConfiguration,
232
- tLog: ITLog,
233
- pm: IPM,
234
- filepath: string
235
- ) {
236
- try {
237
- // tLog(" When:", this.name);
238
- // Ensure addArtifact is properly bound to 'this'
239
- const addArtifact = this.addArtifact.bind(this);
240
- const proxiedPm = andWhenProxy(pm, filepath, addArtifact);
241
-
242
- // (proxiedPm as any).currentStep = this;
243
- const result = await this.andWhen(
244
- store,
245
- this.whenCB,
246
- testResourceConfiguration,
247
- proxiedPm
248
- );
249
-
250
- return result;
251
- } catch (e: any) {
252
- console.error(
253
- "[ERROR] When step failed:",
254
- this.name.toString(),
255
- e.toString()
256
- );
257
- this.error = e;
258
- throw e;
259
- }
260
- }
261
- }
262
-
263
- export abstract class BaseThen<I extends Ibdd_in_any> {
264
- public name: string;
265
- thenCB: (storeState: I["iselection"], pm: IPM) => Promise<I["then"]>;
266
- error: boolean;
267
- artifacts: string[] = [];
268
-
269
- constructor(
270
- name: string,
271
- thenCB: (val: I["iselection"]) => Promise<I["then"]>
272
- ) {
273
- this.name = name;
274
- this.thenCB = thenCB;
275
- this.error = false;
276
- this.artifacts = [];
277
- }
278
-
279
- addArtifact(path: string) {
280
- const normalizedPath = path.replace(/\\/g, "/"); // Normalize path separators
281
- this.artifacts.push(normalizedPath);
282
- }
283
-
284
- toObj() {
285
- const obj = {
286
- name: this.name,
287
- error: this.error,
288
- artifacts: this.artifacts,
289
- };
290
- return obj;
291
- }
292
-
293
- abstract butThen(
294
- store: I["istore"],
295
- thenCB: (s: I["iselection"]) => Promise<I["isubject"]>,
296
- testResourceConfiguration: ITTestResourceConfiguration,
297
- pm: IPM,
298
- ...args: any[]
299
- ): Promise<I["iselection"]>;
300
-
301
- async test(
302
- store: I["istore"],
303
- testResourceConfiguration,
304
- tLog: ITLog,
305
- pm: IPM,
306
- filepath: string
307
- ): Promise<I["then"] | undefined> {
308
- // Ensure addArtifact is properly bound to 'this'
309
- const addArtifact = this.addArtifact.bind(this);
310
- const proxiedPm = butThenProxy(pm, filepath, addArtifact);
311
- return this.butThen(
312
- store,
313
- async (s: I["iselection"]) => {
314
- try {
315
- if (typeof this.thenCB === "function") {
316
- // Add debug logging to see what's being passed to thenCB
317
-
318
- // Check if the thenCB is spreading the arguments incorrectly
319
- // Wrap the proxy to see what's happening when writeFileSync is called
320
- const wrappedPm = new Proxy(proxiedPm, {
321
- get: (target, prop, receiver) => {
322
- if (prop === "writeFileSync") {
323
- return (...args) => {
324
- console.log(
325
- `[DEBUG] writeFileSync called with args:`,
326
- args
327
- );
328
- return target[prop](...args);
329
- };
330
- }
331
- return target[prop];
332
- },
333
- });
334
- const result = await this.thenCB(s, wrappedPm);
335
-
336
- return result;
337
- } else {
338
- return this.thenCB;
339
- }
340
- } catch (e) {
341
- console.error(e.stack);
342
- }
343
- },
344
- testResourceConfiguration,
345
- proxiedPm
346
- ).catch((e) => {
347
- this.error = e.stack;
348
- // throw e;
349
- });
350
- }
351
- }
@@ -1,29 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/no-unused-vars */
3
- import { ITestAdapter } from "../../CoreTypes";
4
- import { I } from "./baseBuilder.test.types";
5
- import { ITTestResourceConfiguration } from "..";
6
- import { IPM } from "../types";
7
-
8
- export const testAdapter: ITestAdapter<I> = {
9
- beforeAll: async (input, testResource, pm) => {
10
- return input;
11
- },
12
- beforeEach: async (subject, initializer, testResource, initialValues, pm) => {
13
- const result = initializer()();
14
- return result;
15
- },
16
- andWhen: async (store, whenCB, testResource, utils) => {
17
- const result = whenCB(store, utils);
18
- return result;
19
- },
20
- butThen: async (store, thenCB, testResource, pm) => {
21
- const result = thenCB(store, pm);
22
- return result;
23
- },
24
- afterEach: async (store, key, pm) => {
25
- return store;
26
- },
27
- afterAll: (store, pm) => {},
28
- assertThis: (x: any) => x,
29
- };
@@ -1,139 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-empty-object-type */
2
- /* eslint-disable @typescript-eslint/no-explicit-any */
3
- import { ITestImplementation } from "../../CoreTypes";
4
- import { MockBaseBuilder } from "./baseBuilder.test.mock";
5
-
6
- import { I, O } from "./baseBuilder.test.types";
7
- import { ITestJob, ITTestResourceRequest } from "..";
8
- import { BaseBuilder } from "../basebuilder";
9
- import { IPM } from "../types";
10
-
11
- // Define our test subject type
12
- type TestSubject = MockBaseBuilder<any, any, any, any, any, any>;
13
-
14
- export const implementation: ITestImplementation<I, O, {}> = {
15
- suites: {
16
- Default: "BaseBuilder test suite",
17
- },
18
-
19
- givens: {
20
- "the default BaseBuilder": () => () => {
21
- return new MockBaseBuilder(
22
- {}, // input
23
- {}, // suitesOverrides
24
- {}, // givenOverrides
25
- {}, // whenOverrides
26
- {}, // thenOverrides
27
- { ports: 0 }, // testResourceRequirement
28
- () => [] // testSpecification
29
- );
30
- },
31
- "a BaseBuilder with TestInput": (input: any) => () => {
32
- return new MockBaseBuilder(
33
- input,
34
- {},
35
- {},
36
- {},
37
- {},
38
- { ports: [] },
39
- () => []
40
- );
41
- },
42
- "a BaseBuilder with Test Resource Requirements": (
43
- requirements: ITTestResourceRequest
44
- ) => () => {
45
- return new MockBaseBuilder({}, {}, {}, {}, {}, requirements, () => []);
46
- },
47
- },
48
-
49
- whens: {
50
- addArtifact: (artifact: Promise<any>) => (builder: TestSubject, utils: IPM) => {
51
- builder.artifacts.push(artifact);
52
- return builder;
53
- },
54
- setTestJobs: (jobs: ITestJob[]) => (builder: TestSubject, utils: IPM) => {
55
- builder.testJobs = jobs;
56
- return builder;
57
- },
58
- },
59
-
60
- thens: {
61
- "it is initialized": () => (builder: TestSubject, utils: IPM) => {
62
- utils.writeFileSync("hello.txt", "world");
63
-
64
- if (!(builder instanceof BaseBuilder)) {
65
- console.error("Builder instance:", builder);
66
- throw new Error(
67
- `Builder was not properly initialized - expected BaseBuilder instance but got ${builder?.constructor?.name}`
68
- );
69
- }
70
-
71
- // Verify required properties exist
72
- [
73
- "artifacts",
74
- "testJobs",
75
- "specs",
76
- "suitesOverrides",
77
- "givenOverides",
78
- "whenOverides",
79
- "thenOverides",
80
- ].forEach((prop) => {
81
- if (!(prop in builder)) {
82
- throw new Error(`Builder missing required property: ${prop}`);
83
- }
84
- });
85
-
86
- return builder;
87
- },
88
- "it generates TestSpecifications": () => (builder: TestSubject, utils: IPM) => {
89
- if (!Array.isArray(builder.specs)) {
90
- throw new Error("Specs were not generated");
91
- }
92
- return builder;
93
- },
94
- "it creates jobs": () => (builder: TestSubject, utils: IPM) => {
95
- if (!Array.isArray(builder.testJobs)) {
96
- throw new Error("Test jobs were not created");
97
- }
98
- return builder;
99
- },
100
- "it tracks artifacts": () => (builder: TestSubject, utils: IPM) => {
101
- if (!Array.isArray(builder.artifacts)) {
102
- throw new Error("Artifacts array not initialized");
103
- }
104
- // Verify we can write artifacts
105
- utils.writeFileSync("artifact_test.txt", "test");
106
- return builder;
107
- },
108
- resourceRequirementsSet: () => (builder: TestSubject, utils: IPM) => {
109
- if (!builder.testResourceRequirement) {
110
- throw new Error("Resource requirements not set");
111
- }
112
- return builder;
113
- },
114
- suitesOverridesConfigured: () => (builder: TestSubject, utils: IPM) => {
115
- if (!builder.suitesOverrides) {
116
- throw new Error("Suites overrides not configured");
117
- }
118
- return builder;
119
- },
120
- givensOverridesConfigured: () => (builder: TestSubject, utils: IPM) => {
121
- if (!builder.givenOverides) {
122
- throw new Error("Givens overrides not configured");
123
- }
124
- return builder;
125
- },
126
- whensOverridesConfigured: () => (builder: TestSubject, utils: IPM) => {
127
- if (!builder.whenOverides) {
128
- throw new Error("Whens overrides not configured");
129
- }
130
- return builder;
131
- },
132
- thensOverridesConfigured: () => (builder: TestSubject, utils: IPM) => {
133
- if (!builder.thenOverides) {
134
- throw new Error("Thens overrides not configured");
135
- }
136
- return builder;
137
- },
138
- },
139
- };