testeranto 0.121.1 → 0.125.1

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 (381) hide show
  1. package/.aider.chat.history.md +97001 -0
  2. package/.aider.conf.yml +5 -0
  3. package/.aider.input.history +9 -0
  4. package/.aider.tags.cache.v3/b7/e6/5be87b62aeaf2bc244ff41c1b61a.val +0 -0
  5. package/.aider.tags.cache.v3/cache.db +0 -0
  6. package/.aider.tags.cache.v3/e3/e6/3501625caf5d5eb171f0d248462e.val +0 -0
  7. package/.aider.tags.cache.v3/ec/c0/161c249c35be853cc40cf11f9267.val +0 -0
  8. package/README.md +9 -0
  9. package/dist/common/{Init.js → src/Init.js} +1 -32
  10. package/dist/common/src/Node.js +49 -0
  11. package/dist/common/src/PM/base.js +230 -0
  12. package/dist/common/{PM → src/PM}/main.js +300 -233
  13. package/dist/common/src/PM/node.js +161 -0
  14. package/dist/common/{PM/node.js → src/PM/pure.js} +27 -18
  15. package/dist/common/{PM → src/PM}/web.js +14 -47
  16. package/dist/common/{Node.js → src/Pure.js} +11 -9
  17. package/dist/common/{SubPackages/react/component/web.js → src/SubPackages/react/component/index.js} +5 -4
  18. package/dist/common/src/SubPackages/react/component/node.js +10 -0
  19. package/dist/common/src/SubPackages/react/component/pure.js +10 -0
  20. package/dist/common/{SubPackages/react/jsx → src/SubPackages/react/component}/web.js +2 -2
  21. package/dist/common/src/SubPackages/react/jsx/index.js +64 -0
  22. package/dist/common/src/SubPackages/react/jsx/pure.js +10 -0
  23. package/dist/common/src/SubPackages/react/jsx/web.js +10 -0
  24. package/dist/common/{SubPackages/react-dom/component/web.js → src/SubPackages/react-dom/component/dynamic.js} +8 -14
  25. package/dist/common/src/SubPackages/react-dom/component/node.js +10 -0
  26. package/dist/common/src/SubPackages/react-dom/component/pure.js +10 -0
  27. package/dist/common/src/SubPackages/react-dom/component/static.js +26 -0
  28. package/dist/common/src/SubPackages/react-dom/component/web.js +16 -0
  29. package/dist/common/src/SubPackages/react-dom/jsx/dynamic.js +31 -0
  30. package/dist/common/src/SubPackages/react-dom/jsx/node.js +10 -0
  31. package/dist/common/src/SubPackages/react-dom/jsx/pure.js +10 -0
  32. package/dist/common/src/SubPackages/react-dom/jsx/static.js +59 -0
  33. package/dist/common/src/SubPackages/react-dom/jsx/web.js +16 -0
  34. package/dist/common/src/SubPackages/react-test-renderer/component/index.js +15 -0
  35. package/dist/common/src/SubPackages/react-test-renderer/component/pure.js +8 -0
  36. package/dist/common/src/SubPackages/react-test-renderer/component/test/implementation.js +57 -0
  37. package/dist/common/src/SubPackages/react-test-renderer/component/test/node.js +10 -0
  38. package/dist/common/src/SubPackages/react-test-renderer/component/test/pure.js +10 -0
  39. package/dist/common/src/SubPackages/react-test-renderer/component/test/web.js +10 -0
  40. package/dist/common/src/SubPackages/react-test-renderer/jsx/pure.js +10 -0
  41. package/dist/common/{Web.js → src/Web.js} +1 -4
  42. package/dist/common/{build.js → src/build.js} +37 -57
  43. package/dist/common/{defaultConfig.js → src/defaultConfig.js} +1 -3
  44. package/dist/common/{esbuildConfigs → src/esbuildConfigs}/node.js +5 -4
  45. package/dist/common/src/esbuildConfigs/pure.js +41 -0
  46. package/dist/common/{esbuildConfigs → src/esbuildConfigs}/web.js +5 -2
  47. package/dist/common/src/examples/react/component/index.js +33 -0
  48. package/dist/common/src/examples/react/component/test.js +36 -0
  49. package/dist/common/{lib → src/lib}/abstractBase.js +50 -52
  50. package/dist/common/{lib → src/lib}/basebuilder.js +18 -13
  51. package/dist/common/{lib → src/lib}/core.js +5 -43
  52. package/dist/common/{lib → src/lib}/index.js +1 -1
  53. package/dist/common/{run.js → src/run.js} +5 -5
  54. package/dist/common/{utils.js → src/utils.js} +35 -1
  55. package/dist/common/testeranto.config.js +41 -0
  56. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  57. package/dist/module/{Init.js → src/Init.js} +1 -32
  58. package/dist/module/src/Node.js +42 -0
  59. package/dist/module/src/PM/base.js +223 -0
  60. package/dist/module/{PM → src/PM}/main.js +301 -234
  61. package/dist/module/src/PM/node.js +154 -0
  62. package/dist/module/{PM/node.js → src/PM/pure.js} +25 -16
  63. package/dist/module/{PM → src/PM}/web.js +14 -47
  64. package/dist/module/{Project.js → src/Project.js} +6 -3
  65. package/dist/module/{Node.js → src/Pure.js} +9 -7
  66. package/dist/module/{ReportClient.js → src/ReportClient.js} +1 -1
  67. package/dist/module/{SubPackages/react/component/web.js → src/SubPackages/react/component/index.js} +3 -4
  68. package/dist/module/src/SubPackages/react/component/node.js +5 -0
  69. package/dist/module/src/SubPackages/react/component/pure.js +5 -0
  70. package/dist/module/{SubPackages/react/jsx → src/SubPackages/react/component}/web.js +3 -3
  71. package/dist/module/src/SubPackages/react/jsx/index.js +58 -0
  72. package/dist/module/{SubPackages → src/SubPackages}/react/jsx/node.js +1 -1
  73. package/dist/module/src/SubPackages/react/jsx/pure.js +5 -0
  74. package/dist/module/src/SubPackages/react/jsx/web.js +5 -0
  75. package/dist/module/{SubPackages/react-dom/component/web.js → src/SubPackages/react-dom/component/dynamic.js} +5 -13
  76. package/dist/module/src/SubPackages/react-dom/component/node.js +5 -0
  77. package/dist/module/src/SubPackages/react-dom/component/pure.js +5 -0
  78. package/dist/module/src/SubPackages/react-dom/component/static.js +22 -0
  79. package/dist/module/src/SubPackages/react-dom/component/web.js +11 -0
  80. package/dist/module/{SubPackages/react-dom/jsx/node.js → src/SubPackages/react-dom/jsx/dynamic.js} +3 -7
  81. package/dist/module/src/SubPackages/react-dom/jsx/node.js +5 -0
  82. package/dist/module/src/SubPackages/react-dom/jsx/pure.js +5 -0
  83. package/dist/module/src/SubPackages/react-dom/jsx/static.js +53 -0
  84. package/dist/module/src/SubPackages/react-dom/jsx/web.js +11 -0
  85. package/dist/module/src/SubPackages/react-test-renderer/component/index.js +14 -0
  86. package/dist/module/src/SubPackages/react-test-renderer/component/pure.js +3 -0
  87. package/dist/module/src/SubPackages/react-test-renderer/component/test/implementation.js +54 -0
  88. package/dist/module/src/SubPackages/react-test-renderer/component/test/node.js +5 -0
  89. package/dist/module/src/SubPackages/react-test-renderer/component/test/pure.js +5 -0
  90. package/dist/module/src/SubPackages/react-test-renderer/component/test/web.js +5 -0
  91. package/dist/module/src/SubPackages/react-test-renderer/jsx/pure.js +5 -0
  92. package/dist/module/{TestReport.js → src/TestReport.js} +19 -16
  93. package/dist/module/{Web.js → src/Web.js} +1 -4
  94. package/dist/module/{build.js → src/build.js} +37 -57
  95. package/dist/module/{defaultConfig.js → src/defaultConfig.js} +1 -3
  96. package/dist/module/{esbuildConfigs → src/esbuildConfigs}/node.js +5 -4
  97. package/dist/module/src/esbuildConfigs/pure.js +36 -0
  98. package/dist/module/{esbuildConfigs → src/esbuildConfigs}/web.js +5 -2
  99. package/dist/module/src/examples/react/component/index.js +26 -0
  100. package/dist/module/src/examples/react/component/test.js +32 -0
  101. package/dist/module/{lib → src/lib}/abstractBase.js +50 -52
  102. package/dist/module/{lib → src/lib}/basebuilder.js +18 -13
  103. package/dist/module/{lib → src/lib}/core.js +5 -43
  104. package/dist/module/{lib → src/lib}/index.js +1 -1
  105. package/dist/module/{run.js → src/run.js} +5 -5
  106. package/dist/module/src/utils.js +53 -0
  107. package/dist/module/testeranto.config.js +39 -0
  108. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  109. package/dist/prebuild/Project.js +5 -2
  110. package/dist/prebuild/ReportClient.js +1 -1
  111. package/dist/prebuild/TestReport.js +4 -1
  112. package/dist/prebuild/build.mjs +115 -65
  113. package/dist/prebuild/init-docs.mjs +1 -0
  114. package/dist/prebuild/run.mjs +418 -382
  115. package/dist/tsconfig.tsbuildinfo +1 -1
  116. package/dist/types/src/Node.d.ts +9 -0
  117. package/dist/types/src/PM/base.d.ts +34 -0
  118. package/dist/types/{PM → src/PM}/index.d.ts +21 -22
  119. package/dist/types/{PM → src/PM}/main.d.ts +15 -10
  120. package/dist/types/src/PM/node.d.ts +38 -0
  121. package/dist/types/{PM/node.d.ts → src/PM/pure.d.ts} +16 -17
  122. package/dist/types/{PM → src/PM}/web.d.ts +10 -15
  123. package/dist/types/src/Pure.d.ts +9 -0
  124. package/dist/types/src/SubPackages/react/component/index.d.ts +4 -0
  125. package/dist/types/src/SubPackages/react/component/node.d.ts +4 -0
  126. package/dist/types/src/SubPackages/react/component/pure.d.ts +4 -0
  127. package/dist/types/src/SubPackages/react/component/web.d.ts +4 -0
  128. package/dist/types/src/SubPackages/react/jsx/index.d.ts +5 -0
  129. package/dist/types/src/SubPackages/react/jsx/node.d.ts +4 -0
  130. package/dist/types/src/SubPackages/react/jsx/pure.d.ts +4 -0
  131. package/dist/types/src/SubPackages/react/jsx/web.d.ts +4 -0
  132. package/dist/types/src/SubPackages/react-dom/component/dynamic.d.ts +20 -0
  133. package/dist/types/src/SubPackages/react-dom/component/node.d.ts +4 -0
  134. package/dist/types/src/SubPackages/react-dom/component/pure.d.ts +4 -0
  135. package/dist/types/src/SubPackages/react-dom/component/static.d.ts +9 -0
  136. package/dist/types/src/SubPackages/react-dom/component/web.d.ts +4 -0
  137. package/dist/types/src/SubPackages/react-dom/jsx/dynamic.d.ts +5 -0
  138. package/dist/types/src/SubPackages/react-dom/jsx/node.d.ts +4 -0
  139. package/dist/types/src/SubPackages/react-dom/jsx/pure.d.ts +4 -0
  140. package/dist/types/src/SubPackages/react-dom/jsx/static.d.ts +5 -0
  141. package/dist/types/src/SubPackages/react-dom/jsx/web.d.ts +5 -0
  142. package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/MemoExoticComponent/node.d.ts +1 -1
  143. package/dist/types/src/SubPackages/react-test-renderer/component/index.d.ts +5 -0
  144. package/dist/types/src/SubPackages/react-test-renderer/component/interface.d.ts +3 -0
  145. package/dist/types/src/SubPackages/react-test-renderer/component/node.d.ts +4 -0
  146. package/dist/types/src/SubPackages/react-test-renderer/component/pure.d.ts +4 -0
  147. package/dist/types/src/SubPackages/react-test-renderer/component/test/implementation.d.ts +4 -0
  148. package/dist/types/src/SubPackages/react-test-renderer/component/test/node.d.ts +3 -0
  149. package/dist/types/src/SubPackages/react-test-renderer/component/test/pure.d.ts +4 -0
  150. package/dist/types/src/SubPackages/react-test-renderer/component/test/web.d.ts +3 -0
  151. package/dist/types/src/SubPackages/react-test-renderer/component/web.d.ts +4 -0
  152. package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/fc/node.d.ts +1 -1
  153. package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/fc/web.d.ts +1 -1
  154. package/dist/types/src/SubPackages/react-test-renderer/jsx/index.d.ts +11 -0
  155. package/dist/types/src/SubPackages/react-test-renderer/jsx/node.d.ts +4 -0
  156. package/dist/types/src/SubPackages/react-test-renderer/jsx/pure.d.ts +4 -0
  157. package/dist/types/src/SubPackages/react-test-renderer/jsx/web.d.ts +4 -0
  158. package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/node.d.ts +1 -1
  159. package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/web.d.ts +1 -1
  160. package/dist/types/src/Types.d.ts +88 -0
  161. package/dist/types/src/Web.d.ts +9 -0
  162. package/dist/types/src/defaultConfig.d.ts +3 -0
  163. package/dist/types/src/esbuildConfigs/index.d.ts +4 -0
  164. package/dist/types/{esbuildConfigs → src/esbuildConfigs}/inputFilesPlugin.d.ts +2 -1
  165. package/dist/types/src/esbuildConfigs/node.d.ts +4 -0
  166. package/dist/types/src/esbuildConfigs/pure.d.ts +4 -0
  167. package/dist/types/src/esbuildConfigs/web.d.ts +4 -0
  168. package/dist/types/src/examples/react/component/index.d.ts +13 -0
  169. package/dist/types/src/examples/react/component/test.d.ts +17 -0
  170. package/dist/types/{lib → src/lib}/abstractBase.d.ts +35 -30
  171. package/dist/types/{lib → src/lib}/basebuilder.d.ts +7 -8
  172. package/dist/types/src/lib/classBuilder.d.ts +9 -0
  173. package/dist/types/src/lib/core.d.ts +7 -0
  174. package/dist/types/{lib → src/lib}/index.d.ts +14 -36
  175. package/dist/types/src/lib/types.d.ts +15 -0
  176. package/dist/types/src/utils.d.ts +18 -0
  177. package/dist/types/testeranto.config.d.ts +3 -0
  178. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  179. package/eslint.config.mjs +111 -0
  180. package/package.json +32 -8
  181. package/src/Init.ts +1 -39
  182. package/src/Node.ts +42 -46
  183. package/src/PM/base.ts +179 -181
  184. package/src/PM/index.ts +28 -21
  185. package/src/PM/main.ts +359 -318
  186. package/src/PM/node.ts +88 -44
  187. package/src/PM/pure.ts +209 -0
  188. package/src/PM/web.ts +19 -121
  189. package/src/Project.tsx +8 -5
  190. package/src/Pure.ts +69 -0
  191. package/src/ReportClient.tsx +8 -3
  192. package/src/SubPackages/react/component/index.ts +28 -0
  193. package/src/SubPackages/react/component/node.ts +12 -82
  194. package/src/SubPackages/react/component/pure.ts +17 -0
  195. package/src/SubPackages/react/component/web.ts +12 -81
  196. package/src/SubPackages/react/jsx/index.ts +56 -52
  197. package/src/SubPackages/react/jsx/node.ts +12 -29
  198. package/src/SubPackages/react/jsx/pure.ts +23 -0
  199. package/src/SubPackages/react/jsx/web.ts +17 -36
  200. package/src/SubPackages/react-dom/component/dynamic.ts +107 -0
  201. package/src/SubPackages/react-dom/component/node.ts +11 -116
  202. package/src/SubPackages/react-dom/component/pure.ts +17 -0
  203. package/src/SubPackages/react-dom/component/static.ts +41 -0
  204. package/src/SubPackages/react-dom/component/web.ts +7 -113
  205. package/src/SubPackages/react-dom/jsx/dynamic.ts +46 -0
  206. package/src/SubPackages/react-dom/jsx/node.ts +10 -58
  207. package/src/SubPackages/react-dom/jsx/pure.ts +18 -0
  208. package/src/SubPackages/react-dom/jsx/static.ts +87 -0
  209. package/src/SubPackages/react-dom/jsx/web.ts +7 -135
  210. package/src/SubPackages/react-test-renderer/component/index.ts +27 -51
  211. package/src/SubPackages/react-test-renderer/component/interface.ts +7 -5
  212. package/src/SubPackages/react-test-renderer/component/node.ts +7 -25
  213. package/src/SubPackages/react-test-renderer/component/pure.ts +18 -0
  214. package/src/SubPackages/react-test-renderer/component/test/implementation.ts +63 -0
  215. package/src/SubPackages/react-test-renderer/component/test/node.ts +14 -0
  216. package/src/SubPackages/react-test-renderer/component/test/pure.ts +14 -0
  217. package/src/SubPackages/react-test-renderer/component/test/web.ts +14 -0
  218. package/src/SubPackages/react-test-renderer/component/web.ts +7 -23
  219. package/src/SubPackages/react-test-renderer/jsx/index.ts +13 -46
  220. package/src/SubPackages/react-test-renderer/jsx/node.ts +9 -15
  221. package/src/SubPackages/react-test-renderer/jsx/pure.ts +31 -0
  222. package/src/SubPackages/react-test-renderer/jsx/web.ts +9 -14
  223. package/src/TestReport.tsx +7 -4
  224. package/src/Types.ts +114 -140
  225. package/src/Web.ts +13 -48
  226. package/src/build.ts +52 -78
  227. package/src/defaultConfig.ts +3 -5
  228. package/src/esbuildConfigs/index.ts +2 -2
  229. package/src/esbuildConfigs/inputFilesPlugin.ts +2 -1
  230. package/src/esbuildConfigs/node.ts +7 -5
  231. package/src/esbuildConfigs/pure.ts +72 -0
  232. package/src/esbuildConfigs/web.ts +8 -5
  233. package/src/examples/react/component/index.tsx +35 -0
  234. package/src/examples/react/component/test.ts +83 -0
  235. package/src/lib/abstractBase.ts +100 -192
  236. package/src/lib/basebuilder.ts +40 -40
  237. package/src/lib/classBuilder.ts +18 -26
  238. package/src/lib/core.ts +22 -77
  239. package/src/lib/index.ts +31 -66
  240. package/src/lib/types.ts +20 -90
  241. package/src/run.ts +3 -6
  242. package/src/utils.ts +50 -5
  243. package/testeranto/Project.css +11367 -0
  244. package/testeranto/Project.js +24643 -0
  245. package/testeranto/ReportClient.css +11367 -0
  246. package/testeranto/ReportClient.js +24641 -0
  247. package/testeranto/TestReport.css +11367 -0
  248. package/testeranto/TestReport.js +27485 -0
  249. package/testeranto/bundles/node/react/metafile.json +627 -0
  250. package/testeranto/bundles/node/react/src/SubPackages/react-test-renderer/component/test/node.mjs +24687 -0
  251. package/testeranto/bundles/pure/react/metafile.json +8 -0
  252. package/testeranto/bundles/pure/react/src/SubPackages/react-test-renderer/component/test/pure.mjs +24625 -0
  253. package/testeranto/bundles/web/react/metafile.json +8 -0
  254. package/testeranto/bundles/web/react/src/SubPackages/react-test-renderer/component/test/web.html +19 -0
  255. package/testeranto/bundles/web/react/src/SubPackages/react-test-renderer/component/test/web.mjs +21290 -0
  256. package/testeranto/index.html +28 -0
  257. package/testeranto/reports/react/config.json +22 -0
  258. package/testeranto/reports/react/index.html +24 -0
  259. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/node/node/console_log.txt +0 -0
  260. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/bdd_errors.txt +1 -0
  261. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/featurePrompt.txt +0 -0
  262. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/lint_errors.json +3381 -0
  263. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/littleBoard.html +20 -0
  264. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/log.txt +40 -0
  265. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/prompt.txt +24 -0
  266. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/tests.json +132 -0
  267. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/type_errors.txt +17 -0
  268. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/bdd_errors.txt +1 -0
  269. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/console_log.txt +1 -0
  270. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/lint_errors.json +2947 -0
  271. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/littleBoard.html +20 -0
  272. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/log.txt +40 -0
  273. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/prompt.txt +23 -0
  274. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/tests.json +132 -0
  275. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/type_errors.txt +18 -0
  276. package/testeranto/reports/react/summary.json +8 -0
  277. package/testeranto.config.ts +45 -0
  278. package/tsc.log +52 -64
  279. package/type-fix.txt +2 -0
  280. package/dist/common/PM/base.js +0 -233
  281. package/dist/common/SubPackages/react/component/node.js +0 -19
  282. package/dist/common/SubPackages/react/jsx/index.js +0 -21
  283. package/dist/common/SubPackages/react-dom/component/node.js +0 -88
  284. package/dist/common/SubPackages/react-dom/jsx/node.js +0 -39
  285. package/dist/common/SubPackages/react-dom/jsx/web.js +0 -128
  286. package/dist/common/SubPackages/react-test-renderer/component/index.js +0 -2
  287. package/dist/module/PM/base.js +0 -226
  288. package/dist/module/SubPackages/react/component/node.js +0 -14
  289. package/dist/module/SubPackages/react/jsx/index.js +0 -15
  290. package/dist/module/SubPackages/react-dom/component/node.js +0 -80
  291. package/dist/module/SubPackages/react-dom/jsx/web.js +0 -90
  292. package/dist/module/SubPackages/react-test-renderer/component/index.js +0 -1
  293. package/dist/module/utils.js +0 -20
  294. package/dist/types/Node.d.ts +0 -12
  295. package/dist/types/PM/base.d.ts +0 -38
  296. package/dist/types/SubPackages/react/component/node.d.ts +0 -7
  297. package/dist/types/SubPackages/react/component/web.d.ts +0 -7
  298. package/dist/types/SubPackages/react/jsx/index.d.ts +0 -12
  299. package/dist/types/SubPackages/react/jsx/node.d.ts +0 -4
  300. package/dist/types/SubPackages/react/jsx/web.d.ts +0 -4
  301. package/dist/types/SubPackages/react-dom/component/node.d.ts +0 -11
  302. package/dist/types/SubPackages/react-dom/component/web.d.ts +0 -20
  303. package/dist/types/SubPackages/react-dom/jsx/node.d.ts +0 -7
  304. package/dist/types/SubPackages/react-dom/jsx/web.d.ts +0 -5
  305. package/dist/types/SubPackages/react-test-renderer/component/index.d.ts +0 -13
  306. package/dist/types/SubPackages/react-test-renderer/component/interface.d.ts +0 -9
  307. package/dist/types/SubPackages/react-test-renderer/component/node.d.ts +0 -4
  308. package/dist/types/SubPackages/react-test-renderer/component/web.d.ts +0 -4
  309. package/dist/types/SubPackages/react-test-renderer/jsx/index.d.ts +0 -16
  310. package/dist/types/SubPackages/react-test-renderer/jsx/node.d.ts +0 -9
  311. package/dist/types/SubPackages/react-test-renderer/jsx/web.d.ts +0 -9
  312. package/dist/types/Types.d.ts +0 -61
  313. package/dist/types/Web.d.ts +0 -9
  314. package/dist/types/defaultConfig.d.ts +0 -3
  315. package/dist/types/esbuildConfigs/index.d.ts +0 -4
  316. package/dist/types/esbuildConfigs/node.d.ts +0 -4
  317. package/dist/types/esbuildConfigs/web.d.ts +0 -4
  318. package/dist/types/lib/classBuilder.d.ts +0 -7
  319. package/dist/types/lib/core.d.ts +0 -7
  320. package/dist/types/lib/types.d.ts +0 -11
  321. package/dist/types/utils.d.ts +0 -12
  322. /package/dist/common/{PM → src/PM}/index.js +0 -0
  323. /package/dist/common/{ReportServer.js → src/ReportServer.js} +0 -0
  324. /package/dist/common/{SubPackages → src/SubPackages}/react/jsx/node.js +0 -0
  325. /package/dist/common/{SubPackages → src/SubPackages}/react-dom/jsx/index.js +0 -0
  326. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/MemoExoticComponent/node.js +0 -0
  327. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/component/interface.js +0 -0
  328. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/component/node.js +0 -0
  329. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/component/web.js +0 -0
  330. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/fc/node.js +0 -0
  331. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/fc/web.js +0 -0
  332. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx/index.js +0 -0
  333. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx/node.js +0 -0
  334. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx/web.js +0 -0
  335. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/index.js +0 -0
  336. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/node.js +0 -0
  337. /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/web.js +0 -0
  338. /package/dist/common/{Types.js → src/Types.js} +0 -0
  339. /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/eslint-formatter-testeranto.js +0 -0
  340. /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/featuresPlugin.js +0 -0
  341. /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/index.js +0 -0
  342. /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/inputFilesPlugin.js +0 -0
  343. /package/dist/common/{init-docs.js → src/init-docs.js} +0 -0
  344. /package/dist/common/{lib → src/lib}/classBuilder.js +0 -0
  345. /package/dist/common/{lib → src/lib}/types.js +0 -0
  346. /package/dist/common/{web.html.js → src/web.html.js} +0 -0
  347. /package/dist/module/{Footer.js → src/Footer.js} +0 -0
  348. /package/dist/module/{PM → src/PM}/index.js +0 -0
  349. /package/dist/module/{ReportServer.js → src/ReportServer.js} +0 -0
  350. /package/dist/module/{SubPackages → src/SubPackages}/react-dom/jsx/index.js +0 -0
  351. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/MemoExoticComponent/node.js +0 -0
  352. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/component/interface.js +0 -0
  353. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/component/node.js +0 -0
  354. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/component/web.js +0 -0
  355. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/fc/node.js +0 -0
  356. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/fc/web.js +0 -0
  357. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx/index.js +0 -0
  358. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx/node.js +0 -0
  359. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx/web.js +0 -0
  360. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/index.js +0 -0
  361. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/node.js +0 -0
  362. /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/web.js +0 -0
  363. /package/dist/module/{Types.js → src/Types.js} +0 -0
  364. /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/eslint-formatter-testeranto.js +0 -0
  365. /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/featuresPlugin.js +0 -0
  366. /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/index.js +0 -0
  367. /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/inputFilesPlugin.js +0 -0
  368. /package/dist/module/{init-docs.js → src/init-docs.js} +0 -0
  369. /package/dist/module/{lib → src/lib}/classBuilder.js +0 -0
  370. /package/dist/module/{lib → src/lib}/types.js +0 -0
  371. /package/dist/module/{web.html.js → src/web.html.js} +0 -0
  372. /package/dist/types/{Init.d.ts → src/Init.d.ts} +0 -0
  373. /package/dist/types/{ReportServer.d.ts → src/ReportServer.d.ts} +0 -0
  374. /package/dist/types/{SubPackages → src/SubPackages}/react-dom/jsx/index.d.ts +0 -0
  375. /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/index.d.ts +0 -0
  376. /package/dist/types/{build.d.ts → src/build.d.ts} +0 -0
  377. /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/eslint-formatter-testeranto.d.ts +0 -0
  378. /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/featuresPlugin.d.ts +0 -0
  379. /package/dist/types/{init-docs.d.ts → src/init-docs.d.ts} +0 -0
  380. /package/dist/types/{run.d.ts → src/run.d.ts} +0 -0
  381. /package/dist/types/{web.html.d.ts → src/web.html.d.ts} +0 -0
package/src/Pure.ts ADDED
@@ -0,0 +1,69 @@
1
+ import Testeranto from "./lib/core.js";
2
+ import {
3
+ defaultTestResourceRequirement,
4
+ ITTestResourceConfiguration,
5
+ ITTestResourceRequest,
6
+ } from "./lib/index.js";
7
+ import type {
8
+ Ibdd_in,
9
+ Ibdd_out,
10
+ INodeTestInterface,
11
+ IT,
12
+ ITestImplementation,
13
+ ITestInterface,
14
+ ITestSpecification,
15
+ OT,
16
+ } from "./Types.js";
17
+
18
+ import { PM_Pure } from "./PM/pure.js";
19
+
20
+ export class PureTesteranto<I extends IT, O extends OT, M> extends Testeranto<
21
+ I,
22
+ O,
23
+ M
24
+ > {
25
+ constructor(
26
+ input: I["iinput"],
27
+ testSpecification: ITestSpecification<I, O>,
28
+ testImplementation: ITestImplementation<I, O, M>,
29
+ testResourceRequirement: ITTestResourceRequest,
30
+ testInterface: Partial<ITestInterface<I>>
31
+ ) {
32
+ super(
33
+ input,
34
+ testSpecification,
35
+ testImplementation,
36
+ testResourceRequirement,
37
+ testInterface,
38
+ () => {
39
+ // no-op
40
+ }
41
+ );
42
+ }
43
+
44
+ async receiveTestResourceConfig(partialTestResource: string) {
45
+ const t: ITTestResourceConfiguration = JSON.parse(partialTestResource);
46
+ const pm = new PM_Pure(t);
47
+ return await this.testJobs[0].receiveTestResourceConfig(pm);
48
+ // const { failed, artifacts, logPromise, features, fails } =
49
+ // await this.testJobs[0].receiveTestResourceConfig(pm);
50
+ // // pm.customclose();
51
+ // return { features, failed, fails };
52
+ }
53
+ }
54
+
55
+ export default async <I extends IT, O extends OT, M>(
56
+ input: I["iinput"],
57
+ testSpecification: ITestSpecification<I, O>,
58
+ testImplementation: ITestImplementation<I, O, M>,
59
+ testInterface: Partial<INodeTestInterface<I>>,
60
+ testResourceRequirement: ITTestResourceRequest = defaultTestResourceRequirement
61
+ ): Promise<Testeranto<I, O, M>> => {
62
+ return new PureTesteranto<I, O, M>(
63
+ input,
64
+ testSpecification,
65
+ testImplementation,
66
+ testResourceRequirement,
67
+ testInterface
68
+ );
69
+ };
@@ -7,8 +7,13 @@ import "./style.css"
7
7
  import { IRunTime, ITestTypes, IBuiltConfig } from "./lib";
8
8
  import { Footer } from "./Footer";
9
9
  import { Table } from "react-bootstrap";
10
- import { ISummary } from "./utils";
11
10
 
11
+ type ISummary = {
12
+ runTimeError: number | "?";
13
+ typeErrors: number | "?";
14
+ staticErrors: number | "?";
15
+ prompt: string | "?";
16
+ };
12
17
 
13
18
  type ICollation = {
14
19
  name: string;
@@ -30,7 +35,7 @@ const BigBoard = () => {
30
35
  const [configs, setConfigs] = useState<IBuiltConfig>();
31
36
  useEffect(() => {
32
37
  (async () => {
33
- fetch(`/kokomoBay/testeranto/reports${t}/config.json`)
38
+ fetch(`/kokomoBay/testeranto/reports/${window.location.pathname.split('/').pop()}/config.json`)
34
39
  .then(response => response.json())
35
40
  .then(json => {
36
41
  setConfigs(json)
@@ -162,4 +167,4 @@ document.addEventListener("DOMContentLoaded", function () {
162
167
  }
163
168
  });
164
169
 
165
- console.log("hello BigBoard!")
170
+ console.log("hello BigBoard!")
@@ -0,0 +1,28 @@
1
+ import React from "react";
2
+
3
+ import { Ibdd_in, IPartialInterface } from "../../../Types";
4
+
5
+ export type I = Ibdd_in<
6
+ typeof React.Component,
7
+ React.CElement<any, any>,
8
+ React.CElement<any, any>,
9
+ React.CElement<any, any>,
10
+ unknown,
11
+ () => (s: React.CElement<any, any>) => any,
12
+ unknown
13
+ >;
14
+
15
+ export const reactInterfacer = (
16
+ testInput: I["iinput"]
17
+ ): IPartialInterface<I> => {
18
+ return {
19
+ beforeEach: async () => {
20
+ return new Promise((resolve, rej) => {
21
+ resolve(React.createElement(testInput, {}, []));
22
+ });
23
+ },
24
+ andWhen: function (s, whenCB) {
25
+ return whenCB()(s);
26
+ },
27
+ };
28
+ };
@@ -1,87 +1,17 @@
1
- import React from "react";
2
-
3
1
  import Testeranto from "../../../Node.js";
2
+ import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
4
3
 
5
- import {
6
- Ibdd_in,
7
- Ibdd_out,
8
- ITestImplementation,
9
- ITestSpecification,
10
- } from "../../../Types";
11
-
12
- type IInput = typeof React.Component;
13
- type ISelection = React.CElement<any, any>;
14
- type IStore = React.CElement<any, any>;
15
- type ISubject = React.CElement<any, any>;
16
-
17
- export type IImpl<
18
- I extends Ibdd_in<
19
- unknown,
20
- unknown,
21
- unknown,
22
- unknown,
23
- unknown,
24
- unknown,
25
- unknown
26
- >,
27
- O extends Ibdd_out<
28
- Record<string, any>,
29
- Record<string, any>,
30
- Record<string, any>,
31
- Record<string, any>,
32
- Record<string, any>
33
- >
34
- > = ITestImplementation<I, O>;
35
-
36
- export type ISpec<
37
- I extends Ibdd_in<
38
- unknown,
39
- unknown,
40
- unknown,
41
- unknown,
42
- unknown,
43
- unknown,
44
- unknown
45
- >,
46
- O extends Ibdd_out<
47
- Record<string, any>,
48
- Record<string, any>,
49
- Record<string, any>,
50
- Record<string, any>,
51
- Record<string, any>
52
- >
53
- > = ITestSpecification<I, O>;
4
+ import { reactInterfacer, I } from "./index.js";
54
5
 
55
- export default <
56
- I extends Ibdd_in<
57
- unknown,
58
- unknown,
59
- unknown,
60
- unknown,
61
- unknown,
62
- unknown,
63
- unknown
64
- >,
65
- O extends Ibdd_out<
66
- Record<string, any>,
67
- Record<string, any>,
68
- Record<string, any>,
69
- Record<string, any>,
70
- Record<string, any>
71
- >
72
- >(
73
- testImplementations: ITestImplementation<I, O>,
74
- testSpecifications: ISpec<I, O>,
75
- testInput: IInput
6
+ export default <O extends OT, M>(
7
+ testImplementations: ITestImplementation<I, O, M>,
8
+ testSpecifications: ITestSpecification<I, O>,
9
+ testInput: I["iinput"]
76
10
  ) => {
77
- return Testeranto<I, O>(testInput, testSpecifications, testImplementations, {
78
- beforeEach: async (): Promise<IStore> => {
79
- return new Promise((resolve, rej) => {
80
- resolve(React.createElement(testInput, {}, []));
81
- });
82
- },
83
- andWhen: function (s: IStore, whenCB): Promise<ISelection> {
84
- return whenCB()(s);
85
- },
86
- });
11
+ return Testeranto<I, O, M>(
12
+ testInput,
13
+ testSpecifications,
14
+ testImplementations,
15
+ reactInterfacer(testInput)
16
+ );
87
17
  };
@@ -0,0 +1,17 @@
1
+ import Testeranto from "../../../Pure.js";
2
+ import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
3
+
4
+ import { reactInterfacer, I } from "./index.js";
5
+
6
+ export default <O extends OT, M>(
7
+ testImplementations: ITestImplementation<I, O, M>,
8
+ testSpecifications: ITestSpecification<I, O>,
9
+ testInput: I["iinput"]
10
+ ) => {
11
+ return Testeranto<I, O, M>(
12
+ testInput,
13
+ testSpecifications,
14
+ testImplementations,
15
+ reactInterfacer(testInput)
16
+ );
17
+ };
@@ -1,86 +1,17 @@
1
- import React from "react";
2
-
3
1
  import Testeranto from "../../../Web.js";
2
+ import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
4
3
 
5
- import {
6
- Ibdd_in,
7
- Ibdd_out,
8
- ITestImplementation,
9
- ITestSpecification,
10
- } from "../../../Types";
11
-
12
- type IInput = typeof React.Component;
13
- type ISelection = React.CElement<any, any>;
14
- type Store = React.CElement<any, any>;
15
-
16
- export type IImpl<
17
- I extends Ibdd_in<
18
- unknown,
19
- unknown,
20
- unknown,
21
- unknown,
22
- unknown,
23
- unknown,
24
- unknown
25
- >,
26
- O extends Ibdd_out<
27
- Record<string, any>,
28
- Record<string, any>,
29
- Record<string, any>,
30
- Record<string, any>,
31
- Record<string, any>
32
- >
33
- > = ITestImplementation<I, O>;
34
-
35
- export type ISpec<
36
- I extends Ibdd_in<
37
- unknown,
38
- unknown,
39
- unknown,
40
- unknown,
41
- unknown,
42
- unknown,
43
- unknown
44
- >,
45
- O extends Ibdd_out<
46
- Record<string, any>,
47
- Record<string, any>,
48
- Record<string, any>,
49
- Record<string, any>,
50
- Record<string, any>
51
- >
52
- > = ITestSpecification<I, O>;
4
+ import { reactInterfacer, I } from "./index.js";
53
5
 
54
- export default <
55
- I extends Ibdd_in<
56
- unknown,
57
- unknown,
58
- unknown,
59
- unknown,
60
- unknown,
61
- unknown,
62
- unknown
63
- >,
64
- O extends Ibdd_out<
65
- Record<string, any>,
66
- Record<string, any>,
67
- Record<string, any>,
68
- Record<string, any>,
69
- Record<string, any>
70
- >
71
- >(
72
- testImplementations: ITestImplementation<I, O>,
73
- testSpecifications: ISpec<I, O>,
74
- testInput: IInput
6
+ export default <O extends OT, M>(
7
+ testImplementations: ITestImplementation<I, O, M>,
8
+ testSpecifications: ITestSpecification<I, O>,
9
+ testInput: I["iinput"]
75
10
  ) => {
76
- return Testeranto<I, O>(testInput, testSpecifications, testImplementations, {
77
- beforeEach: async (): Promise<Store> => {
78
- return new Promise((resolve, rej) => {
79
- resolve(React.createElement(testInput, {}, []));
80
- });
81
- },
82
- andWhen: function (s: Store, whenCB): Promise<ISelection> {
83
- return whenCB()(s);
84
- },
85
- });
11
+ return Testeranto<I, O, M>(
12
+ testInput,
13
+ testSpecifications,
14
+ testImplementations,
15
+ reactInterfacer(testInput)
16
+ );
86
17
  };
@@ -1,59 +1,17 @@
1
1
  import { CElement } from "react";
2
2
  import React from "react";
3
3
 
4
- import {
5
- Ibdd_in,
6
- Ibdd_out,
7
- IPartialInterface,
8
- ITestImplementation,
9
- ITestSpecification,
10
- } from "../../../Types";
4
+ import { Ibdd_in, IPartialInterface } from "../../../Types";
11
5
 
12
- export type IWhenShape = any;
13
- export type IThenShape = any;
14
- export type InitialState = unknown;
15
- export type IInput = () => JSX.Element;
16
- export type ISelection = CElement<any, any>;
17
- export type IStore = CElement<any, any>;
18
- export type ISubject = CElement<any, any>;
19
-
20
- export type ITestImpl<
21
- I extends Ibdd_in<
22
- unknown,
23
- unknown,
24
- unknown,
25
- unknown,
26
- unknown,
27
- unknown,
28
- unknown
29
- >,
30
- O extends Ibdd_out<
31
- Record<string, any>,
32
- Record<string, any>,
33
- Record<string, any>,
34
- Record<string, any>,
35
- Record<string, any>
36
- >
37
- > = ITestImplementation<I, O>;
38
-
39
- export type ITestSpec<
40
- I extends Ibdd_in<
41
- unknown,
42
- unknown,
43
- unknown,
44
- unknown,
45
- unknown,
46
- unknown,
47
- unknown
48
- >,
49
- O extends Ibdd_out<
50
- Record<string, any>,
51
- Record<string, any>,
52
- Record<string, any>,
53
- Record<string, any>,
54
- Record<string, any>
55
- >
56
- > = ITestSpecification<I, O>;
6
+ export type I = Ibdd_in<
7
+ () => JSX.Element,
8
+ CElement<any, any>,
9
+ CElement<any, any>,
10
+ CElement<any, any>,
11
+ any,
12
+ () => (s: React.CElement<any, any>) => any,
13
+ any
14
+ >;
57
15
 
58
16
  export const testInterface: IPartialInterface<any> = {
59
17
  andWhen: async (s, whenCB) => {
@@ -69,3 +27,49 @@ export const testInterface: IPartialInterface<any> = {
69
27
  });
70
28
  },
71
29
  };
30
+
31
+ // export type IWhenShape = any;
32
+ // export type IThenShape = any;
33
+ // export type InitialState = unknown;
34
+ // export type IInput = () => JSX.Element;
35
+ // export type ISelection = CElement<any, any>;
36
+ // export type IStore = CElement<any, any>;
37
+ // export type ISubject = CElement<any, any>;
38
+
39
+ // export type ITestImpl<
40
+ // I extends Ibdd_in<
41
+ // unknown,
42
+ // unknown,
43
+ // unknown,
44
+ // unknown,
45
+ // unknown,
46
+ // unknown,
47
+ // unknown
48
+ // >,
49
+ // O extends Ibdd_out<
50
+ // Record<string, any>,
51
+ // Record<string, any>,
52
+ // Record<string, any>,
53
+ // Record<string, any>,
54
+ // Record<string, any>
55
+ // >
56
+ // > = ITestImplementation<I, O>;
57
+
58
+ // export type ITestSpec<
59
+ // I extends Ibdd_in<
60
+ // unknown,
61
+ // unknown,
62
+ // unknown,
63
+ // unknown,
64
+ // unknown,
65
+ // unknown,
66
+ // unknown
67
+ // >,
68
+ // O extends Ibdd_out<
69
+ // Record<string, any>,
70
+ // Record<string, any>,
71
+ // Record<string, any>,
72
+ // Record<string, any>,
73
+ // Record<string, any>
74
+ // >
75
+ // > = ITestSpecification<I, O>;
@@ -1,37 +1,20 @@
1
1
  import Testeranto from "../../../Node.js";
2
- import { Ibdd_in, Ibdd_out, IPartialInterface } from "../../../Types";
3
-
4
2
  import {
5
- ITestImpl,
6
- ITestSpec,
7
- IInput,
8
- testInterface as baseInterface,
9
- } from "./index.js";
3
+ IPartialInterface,
4
+ ITestImplementation,
5
+ ITestSpecification,
6
+ OT,
7
+ } from "../../../Types";
8
+
9
+ import { testInterface as baseInterface, I } from "./index.js";
10
10
 
11
- export default <
12
- I extends Ibdd_in<
13
- unknown,
14
- unknown,
15
- unknown,
16
- unknown,
17
- unknown,
18
- unknown,
19
- unknown
20
- >,
21
- O extends Ibdd_out<
22
- Record<string, any>,
23
- Record<string, any>,
24
- Record<string, any>,
25
- Record<string, any>,
26
- Record<string, any>
27
- >
28
- >(
29
- testImplementations: ITestImpl<I, O>,
30
- testSpecifications: ITestSpec<I, O>,
31
- testInput: IInput,
11
+ export default <O extends OT, M = {}>(
12
+ testImplementations: ITestImplementation<I, O, M>,
13
+ testSpecifications: ITestSpecification<I, O>,
14
+ testInput: I["iinput"],
32
15
  testInterface: IPartialInterface<I> = baseInterface
33
16
  ) => {
34
- return Testeranto<I, O>(
17
+ return Testeranto<I, O, M>(
35
18
  testInput,
36
19
  testSpecifications,
37
20
  testImplementations,
@@ -0,0 +1,23 @@
1
+ import Testeranto from "../../../Pure.js";
2
+ import {
3
+ IPartialInterface,
4
+ ITestImplementation,
5
+ ITestSpecification,
6
+ OT,
7
+ } from "../../../Types";
8
+
9
+ import { testInterface as baseInterface, I } from "./index.js";
10
+
11
+ export default <O extends OT, M = {}>(
12
+ testImplementations: ITestImplementation<I, O, M>,
13
+ testSpecifications: ITestSpecification<I, O>,
14
+ testInput: I["iinput"],
15
+ testInterface: IPartialInterface<I> = baseInterface
16
+ ) => {
17
+ return Testeranto<I, O, M>(
18
+ testInput,
19
+ testSpecifications,
20
+ testImplementations,
21
+ testInterface
22
+ );
23
+ };
@@ -1,43 +1,24 @@
1
+ import Testeranto from "../../../Web.js";
2
+
1
3
  import {
2
- Ibdd_in,
3
- Ibdd_out,
4
4
  IPartialInterface,
5
- IPartialWebInterface,
5
+ ITestImplementation,
6
+ ITestSpecification,
7
+ OT,
6
8
  } from "../../../Types";
7
- import Testeranto from "../../../Web.js";
8
9
 
9
- import {
10
- ITestImpl,
11
- ITestSpec,
12
- IInput,
13
- testInterface as baseInterface,
14
- } from "./index.js";
10
+ import { testInterface as baseInterface, I } from "./index.js";
15
11
 
16
- export default <
17
- I extends Ibdd_in<
18
- unknown,
19
- unknown,
20
- unknown,
21
- unknown,
22
- unknown,
23
- unknown,
24
- unknown
25
- >,
26
- O extends Ibdd_out<
27
- Record<string, any>,
28
- Record<string, any>,
29
- Record<string, any>,
30
- Record<string, any>,
31
- Record<string, any>
32
- >
33
- >(
34
- testImplementations: ITestImpl<I, O>,
35
- testSpecifications: ITestSpec<I, O>,
36
- testInput: IInput,
37
- testInterface: IPartialWebInterface<I>
12
+ export default <O extends OT, M = {}>(
13
+ testImplementations: ITestImplementation<I, O, M>,
14
+ testSpecifications: ITestSpecification<I, O>,
15
+ testInput: I["iinput"],
16
+ testInterface: IPartialInterface<I> = baseInterface
38
17
  ) => {
39
- return Testeranto<I, O>(testInput, testSpecifications, testImplementations, {
40
- ...baseInterface,
41
- ...testInterface,
42
- });
18
+ return Testeranto<I, O, M>(
19
+ testInput,
20
+ testSpecifications,
21
+ testImplementations,
22
+ testInterface
23
+ );
43
24
  };