testeranto 0.202.0 → 0.205.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 (1119) hide show
  1. package/.vscode/settings.json +1 -0
  2. package/Dockerfile.golang +14 -0
  3. package/Dockerfile.mothership +11 -0
  4. package/Dockerfile.node +9 -0
  5. package/Dockerfile.python +19 -0
  6. package/Dockerfile.web +9 -0
  7. package/README.md +26 -1
  8. package/UX/chache/index.md +11 -0
  9. package/bundle.js +2 -11
  10. package/dist/cjs-shim.js +2 -0
  11. package/dist/common/example/Calculator.js +105 -0
  12. package/dist/common/example/Calculator.test.adapter.js +39 -0
  13. package/dist/common/example/Calculator.test.implementation.js +50 -0
  14. package/dist/common/example/Calculator.test.js +11 -0
  15. package/dist/common/example/Calculator.test.specification.js +92 -0
  16. package/dist/common/example/Calculator.test.types.js +3 -0
  17. package/dist/common/scripts/build-example.js +105 -0
  18. package/dist/common/src/Helpo.js +55 -0
  19. package/dist/common/src/Init.js +9 -1
  20. package/dist/common/src/Node.js +0 -1
  21. package/dist/common/src/PM/golingvuBuild.js +46 -0
  22. package/dist/common/src/PM/pitonoBuild.js +46 -0
  23. package/dist/common/src/PM/utils.js +8 -1
  24. package/dist/common/src/PM/web.js +4 -8
  25. package/dist/common/src/Pure.js +0 -14
  26. package/dist/common/src/Pure.test.js +1 -6
  27. package/dist/common/src/Web.js +1 -35
  28. package/dist/common/src/WebSidecar.js +0 -1
  29. package/dist/common/src/app/FileService.js +25 -0
  30. package/dist/common/src/app/api.js +73 -0
  31. package/dist/common/src/app/backend/PM_0.js +317 -0
  32. package/dist/common/src/app/backend/PM_1_WithProcesses.js +922 -0
  33. package/dist/common/src/app/backend/PM_2_WithTCP.js +244 -0
  34. package/dist/common/src/app/backend/PM_WithBuild.js +120 -0
  35. package/dist/common/src/app/backend/PM_WithEslintAndTsc.js +133 -0
  36. package/dist/common/src/app/backend/PM_WithGit.js +586 -0
  37. package/dist/common/src/app/backend/PM_WithHelpo.js +257 -0
  38. package/dist/common/src/app/backend/PM_WithProcesses.js +1083 -0
  39. package/dist/common/src/app/backend/PM_WithTCP.js +388 -0
  40. package/dist/common/src/app/backend/getAllFilesRecursively.js +22 -0
  41. package/dist/common/src/app/backend/main.js +804 -0
  42. package/dist/common/src/app/backend/makePrompt.js +73 -0
  43. package/dist/common/src/app/backend/utils.js +144 -0
  44. package/dist/common/src/app/frontend/App.js +206 -0
  45. package/dist/common/src/app/frontend/DevelopmentFileService.js +98 -0
  46. package/dist/common/src/app/frontend/GitFileService.js +262 -0
  47. package/dist/common/src/app/frontend/GitHubAuthService.js +184 -0
  48. package/dist/common/src/app/frontend/api.js +93 -0
  49. package/dist/common/src/app/frontend/components/DesignEditorPage.js +208 -0
  50. package/dist/common/src/app/frontend/components/SunriseAnimation.js +291 -0
  51. package/dist/common/src/app/frontend/components/SunriseAnimation.test/interface.js +68 -0
  52. package/dist/common/src/app/frontend/components/pure/AppFrame.js +177 -0
  53. package/dist/common/src/app/frontend/components/pure/GitHubLoginButton.js +18 -0
  54. package/dist/common/src/app/frontend/components/pure/GitIntegrationView.js +383 -0
  55. package/dist/common/src/app/frontend/components/pure/HelpoChatDrawer.js +179 -0
  56. package/dist/common/src/app/frontend/components/pure/MagicRobotModal.js +73 -0
  57. package/dist/common/src/app/frontend/components/pure/ModalContent.test/index.js +61 -0
  58. package/dist/common/src/app/frontend/components/pure/NavBar.js +45 -0
  59. package/dist/common/src/app/frontend/components/pure/ProcessDetails.js +49 -0
  60. package/dist/common/src/app/frontend/components/pure/ProcessInput.js +62 -0
  61. package/dist/common/src/app/frontend/components/pure/ProcessList.js +52 -0
  62. package/dist/common/src/app/frontend/components/pure/ProcessLogs.js +67 -0
  63. package/dist/common/src/app/frontend/components/pure/ProcessManager.js +113 -0
  64. package/dist/common/src/app/frontend/components/pure/ProcessManagerView.js +82 -0
  65. package/dist/common/src/app/frontend/components/pure/ProcessManagerViewTypes.js +2 -0
  66. package/dist/common/src/app/frontend/components/pure/ProcessSidebar.js +56 -0
  67. package/dist/common/src/app/frontend/components/pure/ProcessTerminal.js +62 -0
  68. package/dist/common/src/app/frontend/components/pure/ProjectPageView.js +69 -0
  69. package/dist/common/src/app/frontend/components/pure/ProjectPageView.test/implementation.js +185 -0
  70. package/dist/common/src/app/frontend/components/pure/Settings.js +122 -0
  71. package/dist/common/src/app/frontend/components/pure/Settings.test.js +30 -0
  72. package/dist/common/src/app/frontend/components/pure/SignIn.js +22 -0
  73. package/dist/common/src/app/frontend/components/pure/SingleProcessView.js +126 -0
  74. package/dist/common/src/app/frontend/components/pure/TerminalInput.js +76 -0
  75. package/dist/common/src/app/frontend/components/pure/TerminalLogs.js +80 -0
  76. package/dist/common/src/app/frontend/components/stateful/DratoPage.js +319 -0
  77. package/dist/common/src/app/frontend/components/stateful/FeaturesReporter.js +22 -0
  78. package/dist/common/src/app/frontend/components/stateful/GenericXMLEditor/AttributeEditor.js +51 -0
  79. package/dist/common/src/app/frontend/components/stateful/GenericXMLEditor/Drawer.js +152 -0
  80. package/dist/common/src/app/frontend/components/stateful/GenericXMLEditor/GenericPreview.js +156 -0
  81. package/dist/common/src/app/frontend/components/stateful/GenericXMLEditor/GenericTextEditor.js +169 -0
  82. package/dist/common/src/app/frontend/components/stateful/GenericXMLEditor/GenericTree.js +30 -0
  83. package/dist/common/src/app/frontend/components/stateful/GenericXMLEditorPage.js +306 -0
  84. package/dist/common/src/app/frontend/components/stateful/GitIntegrationPage.js +252 -0
  85. package/dist/common/src/app/frontend/components/stateful/GrafeoPage.js +437 -0
  86. package/dist/common/src/app/frontend/components/stateful/ProcessManagerPage.js +113 -0
  87. package/dist/common/src/app/frontend/components/stateful/ProjectPage.js +108 -0
  88. package/dist/common/src/app/frontend/components/stateful/ProjectsPage.js +136 -0
  89. package/dist/common/src/app/frontend/components/stateful/SVGEditor/CircleForm.js +24 -0
  90. package/dist/common/src/app/frontend/components/stateful/SVGEditor/GroupForm.js +22 -0
  91. package/dist/common/src/app/frontend/components/stateful/SVGEditor/RectForm.js +25 -0
  92. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGAttributeField.js +15 -0
  93. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGAttributesEditor.js +87 -0
  94. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGEditorControls.js +23 -0
  95. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGElementForm.js +23 -0
  96. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGPreview.js +178 -0
  97. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGTextEditor.js +155 -0
  98. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGTree.js +105 -0
  99. package/dist/common/src/app/frontend/components/stateful/SVGEditor/SVGTypes.js +2 -0
  100. package/dist/common/src/app/frontend/components/stateful/SVGEditorPage.js +437 -0
  101. package/dist/common/src/app/frontend/components/stateful/SingleProcessPage.js +134 -0
  102. package/dist/common/src/app/frontend/components/stateful/SkriboPage.js +517 -0
  103. package/dist/common/src/app/frontend/fetchDataUtil.js +187 -0
  104. package/dist/common/src/app/frontend/flua/FluaPage.js +378 -0
  105. package/dist/common/src/app/frontend/testPage/ITestPageViewProps.js +2 -0
  106. package/dist/common/src/app/frontend/testPage/ProjectsTree.js +179 -0
  107. package/dist/common/src/app/frontend/testPage/TestPage.js +85 -0
  108. package/dist/common/src/app/frontend/testPage/TestPageLeftContent.js +48 -0
  109. package/dist/common/src/app/frontend/testPage/TestPageMainContent.js +82 -0
  110. package/dist/common/src/app/frontend/testPage/TestPageNavbar.js +33 -0
  111. package/dist/common/src/app/frontend/testPage/TestPageView.js +352 -0
  112. package/dist/common/src/app/frontend/testPage/TestPageView.test/implementation.js +158 -0
  113. package/dist/common/src/app/frontend/testPage/TestPageView.test/index.js +15 -0
  114. package/dist/common/src/app/frontend/testPage/TestPageView.test/specification.js +27 -0
  115. package/dist/common/src/app/frontend/testPage/TestPageView_utils.js +128 -0
  116. package/dist/common/src/app/frontend/useFileSystemSync.js +108 -0
  117. package/dist/common/src/app/frontend/useFs.js +15 -0
  118. package/dist/common/src/app/frontend/useGitMode.js +20 -0
  119. package/dist/common/src/app/frontend/useTerminalWebSocket.js +44 -0
  120. package/dist/common/src/app/frontend/useWebSocket.js +16 -0
  121. package/dist/common/src/app/types.js +2 -0
  122. package/dist/common/src/builders/golang.js +30 -0
  123. package/dist/common/src/builders/node.js +35 -0
  124. package/dist/common/src/builders/python.js +28 -0
  125. package/dist/common/src/builders/web.js +35 -0
  126. package/dist/common/src/esbuildConfigs/node.js +3 -1
  127. package/dist/common/src/lib/BaseGiven.js +95 -18
  128. package/dist/common/src/lib/BaseSuite.js +55 -8
  129. package/dist/common/src/lib/BaseSuite.test/test.js +58 -103
  130. package/dist/common/src/lib/BaseThen.js +28 -29
  131. package/dist/common/src/lib/BaseWhen.js +7 -5
  132. package/dist/common/src/lib/Tiposkripto.js +26 -11
  133. package/dist/common/src/lib/Tiposkripto.test/MockTiposkripto.js +35 -45
  134. package/dist/common/src/lib/Tiposkripto.test/Tiposkripto.implementation.js +15 -13
  135. package/dist/common/src/lib/Tiposkripto.test/Tiposkripto.specification.js +8 -5
  136. package/dist/common/src/lib/pmProxy.js +0 -33
  137. package/dist/common/src/lib/pmProxy.test/implementation.js +83 -90
  138. package/dist/common/src/lib/pmProxy.test/index.js +1 -3
  139. package/dist/common/src/lib/pmProxy.test/mockPM.js +1 -0
  140. package/dist/common/src/lib/pmProxy.test/specification.js +0 -1
  141. package/dist/common/src/mothership/index.js +164 -2
  142. package/dist/common/src/mothership/test.js +4 -2
  143. package/dist/common/src/testeranto.js +96 -97
  144. package/dist/common/src/utils/generateGolingvuMetafile.js +157 -0
  145. package/dist/common/src/utils/golingvuMetafile/fileDiscovery.js +142 -0
  146. package/dist/common/src/utils/golingvuMetafile/goList.js +103 -0
  147. package/dist/common/src/utils/golingvuMetafile/helpers.js +68 -0
  148. package/dist/common/src/utils/golingvuMetafile/importParser.js +89 -0
  149. package/dist/common/src/utils/golingvuMetafile/types.js +3 -0
  150. package/dist/common/src/utils/golingvuMetafile.js +7 -114
  151. package/dist/common/src/utils/golingvuWatcher.js +233 -0
  152. package/dist/common/src/utils/logFiles.js +9 -1
  153. package/dist/common/src/utils/pitonoMetafile.js +222 -42
  154. package/dist/common/src/utils/pitonoWatcher.js +130 -0
  155. package/dist/common/src/utils/writeGolingvuMetafile.js +324 -0
  156. package/dist/common/testeranto.config.js +28 -39
  157. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  158. package/dist/module/example/Calculator.js +101 -0
  159. package/dist/module/example/Calculator.test.adapter.js +36 -0
  160. package/dist/module/example/Calculator.test.implementation.js +47 -0
  161. package/dist/module/example/Calculator.test.js +6 -0
  162. package/dist/module/example/Calculator.test.specification.js +88 -0
  163. package/dist/module/example/Calculator.test.types.js +2 -0
  164. package/dist/module/scripts/build-example.js +100 -0
  165. package/dist/module/src/Helpo.js +48 -0
  166. package/dist/module/src/Init.js +9 -1
  167. package/dist/module/src/Node.js +0 -1
  168. package/dist/module/src/PM/golingvuBuild.js +42 -0
  169. package/dist/module/src/PM/pitonoBuild.js +42 -0
  170. package/dist/module/src/PM/utils.js +8 -1
  171. package/dist/module/src/PM/web.js +4 -8
  172. package/dist/module/src/Pure.js +0 -14
  173. package/dist/module/src/Pure.test.js +1 -6
  174. package/dist/module/src/Web.js +1 -35
  175. package/dist/module/src/WebSidecar.js +0 -1
  176. package/dist/module/src/app/FileService.js +21 -0
  177. package/dist/module/src/app/api.js +70 -0
  178. package/dist/module/src/app/backend/PM_0.js +310 -0
  179. package/dist/module/src/app/backend/PM_1_WithProcesses.js +882 -0
  180. package/dist/module/src/app/backend/PM_2_WithTCP.js +237 -0
  181. package/dist/module/src/app/backend/PM_WithBuild.js +113 -0
  182. package/dist/module/src/app/backend/PM_WithEslintAndTsc.js +126 -0
  183. package/dist/module/src/app/backend/PM_WithGit.js +546 -0
  184. package/dist/module/src/app/backend/PM_WithHelpo.js +250 -0
  185. package/dist/module/src/app/backend/PM_WithProcesses.js +1083 -0
  186. package/dist/module/src/app/backend/PM_WithTCP.js +381 -0
  187. package/dist/module/src/app/backend/getAllFilesRecursively.js +16 -0
  188. package/dist/module/src/app/backend/main.js +764 -0
  189. package/dist/module/src/app/backend/makePrompt.js +66 -0
  190. package/dist/module/src/app/backend/utils.js +131 -0
  191. package/dist/module/src/app/frontend/App.js +164 -0
  192. package/dist/module/src/app/frontend/DevelopmentFileService.js +91 -0
  193. package/dist/module/src/app/frontend/GitFileService.js +258 -0
  194. package/dist/module/src/app/frontend/GitHubAuthService.js +180 -0
  195. package/dist/module/src/app/frontend/api.js +87 -0
  196. package/dist/module/src/app/frontend/components/DesignEditorPage.js +171 -0
  197. package/dist/module/src/app/frontend/components/SunriseAnimation.js +256 -0
  198. package/dist/module/src/app/frontend/components/SunriseAnimation.test/interface.js +32 -0
  199. package/dist/module/src/app/frontend/components/pure/AppFrame.js +140 -0
  200. package/dist/module/src/app/frontend/components/pure/GitHubLoginButton.js +11 -0
  201. package/dist/module/src/app/frontend/components/pure/GitIntegrationView.js +346 -0
  202. package/dist/module/src/app/frontend/components/pure/HelpoChatDrawer.js +142 -0
  203. package/dist/module/src/app/frontend/components/pure/MagicRobotModal.js +66 -0
  204. package/dist/module/src/app/frontend/components/pure/ModalContent.test/index.js +56 -0
  205. package/dist/module/src/app/frontend/components/pure/NavBar.js +38 -0
  206. package/dist/module/src/app/frontend/components/pure/ProcessDetails.js +42 -0
  207. package/dist/module/src/app/frontend/components/pure/ProcessInput.js +25 -0
  208. package/dist/module/src/app/frontend/components/pure/ProcessList.js +45 -0
  209. package/dist/module/src/app/frontend/components/pure/ProcessLogs.js +30 -0
  210. package/dist/module/src/app/frontend/components/pure/ProcessManager.js +76 -0
  211. package/dist/module/src/app/frontend/components/pure/ProcessManagerView.js +45 -0
  212. package/dist/module/src/app/frontend/components/pure/ProcessSidebar.js +49 -0
  213. package/dist/module/src/app/frontend/components/pure/ProcessTerminal.js +25 -0
  214. package/dist/module/src/app/frontend/components/pure/ProjectPageView.js +62 -0
  215. package/dist/module/src/app/frontend/components/pure/ProjectPageView.test/implementation.js +182 -0
  216. package/dist/module/src/app/frontend/components/pure/Settings.js +85 -0
  217. package/dist/module/src/app/frontend/components/pure/Settings.test.js +30 -0
  218. package/dist/module/src/app/frontend/components/pure/SignIn.js +15 -0
  219. package/dist/module/src/app/frontend/components/pure/SingleProcessView.js +126 -0
  220. package/dist/module/src/app/frontend/components/pure/TerminalInput.js +39 -0
  221. package/dist/module/src/app/frontend/components/pure/TerminalLogs.js +43 -0
  222. package/dist/module/src/app/frontend/components/stateful/DratoPage.js +282 -0
  223. package/dist/module/src/app/frontend/components/stateful/FeaturesReporter.js +22 -0
  224. package/dist/module/src/app/frontend/components/stateful/GenericXMLEditor/AttributeEditor.js +44 -0
  225. package/dist/module/src/app/frontend/components/stateful/GenericXMLEditor/Drawer.js +115 -0
  226. package/dist/module/src/app/frontend/components/stateful/GenericXMLEditor/GenericPreview.js +119 -0
  227. package/dist/module/src/app/frontend/components/stateful/GenericXMLEditor/GenericTextEditor.js +132 -0
  228. package/dist/module/src/app/frontend/components/stateful/GenericXMLEditor/GenericTree.js +23 -0
  229. package/dist/module/src/app/frontend/components/stateful/GenericXMLEditorPage.js +269 -0
  230. package/dist/module/src/app/frontend/components/stateful/GitIntegrationPage.js +215 -0
  231. package/dist/module/src/app/frontend/components/stateful/GrafeoPage.js +400 -0
  232. package/dist/module/src/app/frontend/components/stateful/ProcessManagerPage.js +76 -0
  233. package/dist/module/src/app/frontend/components/stateful/ProjectPage.js +71 -0
  234. package/dist/module/src/app/frontend/components/stateful/ProjectsPage.js +99 -0
  235. package/dist/module/src/app/frontend/components/stateful/SVGEditor/CircleForm.js +17 -0
  236. package/dist/module/src/app/frontend/components/stateful/SVGEditor/GroupForm.js +15 -0
  237. package/dist/module/src/app/frontend/components/stateful/SVGEditor/RectForm.js +18 -0
  238. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGAttributeField.js +8 -0
  239. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGAttributesEditor.js +50 -0
  240. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGEditorControls.js +16 -0
  241. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGElementForm.js +16 -0
  242. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGPreview.js +141 -0
  243. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGTextEditor.js +118 -0
  244. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGTree.js +68 -0
  245. package/dist/module/src/app/frontend/components/stateful/SVGEditor/SVGTypes.js +1 -0
  246. package/dist/module/src/app/frontend/components/stateful/SVGEditorPage.js +400 -0
  247. package/dist/module/src/app/frontend/components/stateful/SingleProcessPage.js +134 -0
  248. package/dist/module/src/app/frontend/components/stateful/SkriboPage.js +510 -0
  249. package/dist/module/src/app/frontend/fetchDataUtil.js +187 -0
  250. package/dist/module/src/app/frontend/flua/FluaPage.js +341 -0
  251. package/dist/module/src/app/frontend/testPage/ITestPageViewProps.js +1 -0
  252. package/dist/module/src/app/frontend/testPage/ProjectsTree.js +142 -0
  253. package/dist/module/src/app/frontend/testPage/TestPage.js +48 -0
  254. package/dist/module/src/app/frontend/testPage/TestPageLeftContent.js +11 -0
  255. package/dist/module/src/app/frontend/testPage/TestPageMainContent.js +75 -0
  256. package/dist/module/src/app/frontend/testPage/TestPageNavbar.js +26 -0
  257. package/dist/module/src/app/frontend/testPage/TestPageView.js +315 -0
  258. package/dist/module/src/app/frontend/testPage/TestPageView.test/implementation.js +122 -0
  259. package/dist/module/src/app/frontend/testPage/TestPageView.test/index.js +10 -0
  260. package/dist/module/src/app/frontend/testPage/TestPageView.test/specification.js +23 -0
  261. package/dist/module/src/app/frontend/testPage/TestPageView_utils.js +120 -0
  262. package/dist/module/src/app/frontend/useFileSystemSync.js +108 -0
  263. package/dist/module/src/app/frontend/useFs.js +11 -0
  264. package/dist/module/src/app/frontend/useGitMode.js +16 -0
  265. package/dist/module/src/app/frontend/useTerminalWebSocket.js +40 -0
  266. package/dist/module/src/app/frontend/useWebSocket.js +12 -0
  267. package/dist/module/src/app/types.js +1 -0
  268. package/dist/module/src/builders/golang.js +28 -0
  269. package/dist/module/src/builders/node.js +33 -0
  270. package/dist/module/src/builders/python.js +26 -0
  271. package/dist/module/src/builders/web.js +33 -0
  272. package/dist/module/src/esbuildConfigs/node.js +3 -1
  273. package/dist/module/src/lib/BaseGiven.js +95 -18
  274. package/dist/module/src/lib/BaseSuite.js +55 -8
  275. package/dist/module/src/lib/BaseSuite.test/test.js +58 -103
  276. package/dist/module/src/lib/BaseThen.js +28 -29
  277. package/dist/module/src/lib/BaseWhen.js +7 -5
  278. package/dist/module/src/lib/Tiposkripto.js +26 -11
  279. package/dist/module/src/lib/Tiposkripto.test/MockTiposkripto.js +35 -45
  280. package/dist/module/src/lib/Tiposkripto.test/Tiposkripto.implementation.js +15 -13
  281. package/dist/module/src/lib/Tiposkripto.test/Tiposkripto.specification.js +8 -5
  282. package/dist/module/src/lib/pmProxy.js +0 -33
  283. package/dist/module/src/lib/pmProxy.test/implementation.js +83 -90
  284. package/dist/module/src/lib/pmProxy.test/index.js +1 -3
  285. package/dist/module/src/lib/pmProxy.test/mockPM.js +1 -0
  286. package/dist/module/src/lib/pmProxy.test/specification.js +0 -1
  287. package/dist/module/src/mothership/index.js +164 -2
  288. package/dist/module/src/mothership/test.js +4 -2
  289. package/dist/module/src/testeranto.js +94 -95
  290. package/dist/module/src/utils/generateGolingvuMetafile.js +151 -0
  291. package/dist/module/src/utils/golingvuMetafile/fileDiscovery.js +136 -0
  292. package/dist/module/src/utils/golingvuMetafile/goList.js +97 -0
  293. package/dist/module/src/utils/golingvuMetafile/helpers.js +59 -0
  294. package/dist/module/src/utils/golingvuMetafile/importParser.js +83 -0
  295. package/dist/module/src/utils/golingvuMetafile/types.js +2 -0
  296. package/dist/module/src/utils/golingvuMetafile.js +6 -109
  297. package/dist/module/src/utils/golingvuWatcher.js +226 -0
  298. package/dist/module/src/utils/logFiles.js +9 -1
  299. package/dist/module/src/utils/pitonoMetafile.js +224 -44
  300. package/dist/module/src/utils/pitonoWatcher.js +123 -0
  301. package/dist/module/src/utils/writeGolingvuMetafile.js +318 -0
  302. package/dist/module/testeranto.config.js +28 -39
  303. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  304. package/dist/prebuild/App.css +251 -173
  305. package/dist/prebuild/App.js +20096 -43669
  306. package/dist/prebuild/init-docs.mjs +9 -1
  307. package/dist/prebuild/testeranto.mjs +3635 -2389
  308. package/dist/types/src/Helpo.d.ts +1 -0
  309. package/dist/types/src/PM/golingvuBuild.d.ts +11 -0
  310. package/dist/types/src/PM/pitonoBuild.d.ts +11 -0
  311. package/dist/types/src/PM/web.d.ts +4 -4
  312. package/dist/types/src/Pure.d.ts +1 -1
  313. package/dist/types/src/Pure.test.d.ts +60 -1
  314. package/dist/types/src/Types.d.ts +1 -0
  315. package/dist/types/src/Web.d.ts +1 -1
  316. package/dist/types/src/app/FileService.d.ts +37 -0
  317. package/dist/types/src/app/api.d.ts +37 -0
  318. package/dist/types/src/app/backend/PM_0.d.ts +38 -0
  319. package/dist/types/src/app/backend/PM_1_WithProcesses.d.ts +149 -0
  320. package/dist/types/src/app/backend/PM_2_WithTCP.d.ts +29 -0
  321. package/dist/types/src/app/backend/PM_WithBuild.d.ts +8 -0
  322. package/dist/types/src/app/backend/PM_WithEslintAndTsc.d.ts +22 -0
  323. package/dist/types/src/app/backend/PM_WithGit.d.ts +24 -0
  324. package/dist/types/src/app/backend/PM_WithHelpo.d.ts +43 -0
  325. package/dist/types/src/app/backend/PM_WithTCP.d.ts +41 -0
  326. package/dist/types/src/app/backend/getAllFilesRecursively.d.ts +1 -0
  327. package/dist/types/src/app/backend/main.d.ts +15 -0
  328. package/dist/types/src/app/backend/makePrompt.d.ts +2 -0
  329. package/dist/types/src/app/backend/utils.d.ts +20 -0
  330. package/dist/types/src/app/frontend/App.d.ts +14 -0
  331. package/dist/types/src/app/frontend/DevelopmentFileService.d.ts +25 -0
  332. package/dist/types/src/app/frontend/GitFileService.d.ts +27 -0
  333. package/dist/types/src/app/frontend/api.d.ts +10 -0
  334. package/dist/types/src/app/frontend/components/SunriseAnimation.test/interface.d.ts +11 -0
  335. package/dist/types/src/app/frontend/components/SunriseAnimation.test/types.d.ts +39 -0
  336. package/dist/types/src/app/frontend/components/pure/AppFrame.d.ts +11 -0
  337. package/dist/types/src/app/frontend/components/pure/AppFrame.test/index.d.ts +3 -0
  338. package/dist/types/src/app/frontend/components/pure/FeaturesReporterView.d.ts +7 -0
  339. package/dist/types/src/app/frontend/components/pure/FeaturesReporterView.test/index.d.ts +2 -0
  340. package/dist/types/src/app/frontend/components/pure/GitIntegrationView.d.ts +27 -0
  341. package/dist/types/src/app/frontend/components/pure/HelpoChatDrawer.d.ts +7 -0
  342. package/dist/types/src/app/frontend/components/pure/MagicRobotModal.d.ts +16 -0
  343. package/dist/types/src/app/frontend/components/pure/ModalContent.test/index.d.ts +14 -0
  344. package/dist/types/src/app/frontend/components/pure/ProcessDetails.d.ts +8 -0
  345. package/dist/types/src/app/frontend/components/pure/ProcessInput.d.ts +10 -0
  346. package/dist/types/src/app/frontend/components/pure/ProcessList.d.ts +10 -0
  347. package/dist/types/src/app/frontend/components/pure/ProcessLogs.d.ts +6 -0
  348. package/dist/types/src/app/frontend/components/pure/ProcessManagerView.d.ts +10 -0
  349. package/dist/types/src/app/frontend/components/pure/ProcessManagerViewTypes.d.ts +10 -0
  350. package/dist/types/src/app/frontend/components/pure/ProcessSidebar.d.ts +8 -0
  351. package/dist/types/src/app/frontend/components/pure/ProcessTerminal.d.ts +8 -0
  352. package/dist/types/src/app/frontend/components/pure/ProjectPageView.d.ts +14 -0
  353. package/dist/types/src/app/frontend/components/pure/ProjectPageView.test/implementation.d.ts +3 -0
  354. package/dist/types/src/app/frontend/components/pure/ProjectPageView.test/index.d.ts +17 -0
  355. package/dist/types/src/app/frontend/components/pure/TerminalInput.d.ts +6 -0
  356. package/dist/types/src/app/frontend/components/pure/TerminalLogs.d.ts +6 -0
  357. package/dist/types/src/app/frontend/components/stateful/DratoPage.d.ts +8 -0
  358. package/dist/types/src/app/frontend/components/stateful/GenericXMLEditor/AttributeEditor.d.ts +9 -0
  359. package/dist/types/src/app/frontend/components/stateful/GenericXMLEditor/Drawer.d.ts +12 -0
  360. package/dist/types/src/app/frontend/components/stateful/GenericXMLEditor/GenericPreview.d.ts +11 -0
  361. package/dist/types/src/app/frontend/components/stateful/GenericXMLEditor/GenericTextEditor.d.ts +8 -0
  362. package/dist/types/src/app/frontend/components/stateful/GenericXMLEditor/GenericTree.d.ts +17 -0
  363. package/dist/types/src/app/frontend/components/stateful/GenericXMLEditorPage.d.ts +21 -0
  364. package/dist/types/src/app/frontend/components/stateful/GrafeoPage.d.ts +8 -0
  365. package/dist/types/src/app/frontend/components/stateful/SVGEditor/CircleForm.d.ts +8 -0
  366. package/dist/types/src/app/frontend/components/stateful/SVGEditor/GroupForm.d.ts +8 -0
  367. package/dist/types/src/app/frontend/components/stateful/SVGEditor/RectForm.d.ts +8 -0
  368. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGAttributeField.d.ts +9 -0
  369. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGAttributesEditor.d.ts +9 -0
  370. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGEditorControls.d.ts +9 -0
  371. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGElementForm.d.ts +9 -0
  372. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGPreview.d.ts +12 -0
  373. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGTextEditor.d.ts +8 -0
  374. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGTree.d.ts +20 -0
  375. package/dist/types/src/app/frontend/components/stateful/SVGEditor/SVGTypes.d.ts +30 -0
  376. package/dist/types/src/app/frontend/components/stateful/SVGEditorPage.d.ts +7 -0
  377. package/dist/types/src/app/frontend/components/stateful/SkriboPage.d.ts +1 -0
  378. package/dist/types/src/app/frontend/flua/FluaPage.d.ts +2 -0
  379. package/dist/types/src/app/frontend/testPage/ITestPageViewProps.d.ts +14 -0
  380. package/dist/types/src/app/frontend/testPage/ProjectsTree.d.ts +17 -0
  381. package/dist/types/src/app/frontend/testPage/TestPageLeftContent.d.ts +14 -0
  382. package/dist/types/src/app/frontend/testPage/TestPageMainContent.d.ts +7 -0
  383. package/dist/types/src/app/frontend/testPage/TestPageNavbar.d.ts +7 -0
  384. package/dist/types/src/app/frontend/testPage/TestPageView.d.ts +2 -0
  385. package/dist/types/src/app/frontend/testPage/TestPageView.test/implementation.d.ts +13 -0
  386. package/dist/types/src/app/frontend/testPage/TestPageView.test/index.d.ts +13 -0
  387. package/dist/types/src/app/frontend/testPage/TestPageView.test/specification.d.ts +11 -0
  388. package/dist/types/src/app/frontend/testPage/TestPageView.test/types.d.ts +65 -0
  389. package/dist/types/src/app/frontend/testPage/TestPageView_utils.d.ts +23 -0
  390. package/dist/types/src/app/frontend/useFs.d.ts +2 -0
  391. package/dist/types/src/app/frontend/useTerminalWebSocket.d.ts +4 -0
  392. package/dist/types/src/app/frontend/useWebSocket.d.ts +8 -0
  393. package/dist/types/src/app/types.d.ts +1 -0
  394. package/dist/types/src/builders/golang.d.ts +1 -0
  395. package/dist/types/src/builders/node.d.ts +1 -0
  396. package/dist/types/src/builders/python.d.ts +1 -0
  397. package/dist/types/src/builders/web.d.ts +1 -0
  398. package/dist/types/src/lib/BaseGiven.d.ts +3 -3
  399. package/dist/types/src/lib/BaseSuite.d.ts +4 -3
  400. package/dist/types/src/lib/BaseSuite.test/pure.test.d.ts +2 -1
  401. package/dist/types/src/lib/BaseSuite.test/web.test.d.ts +2 -1
  402. package/dist/types/src/lib/BaseThen.d.ts +2 -0
  403. package/dist/types/src/lib/BaseWhen.d.ts +2 -0
  404. package/dist/types/src/lib/pmProxy.test/mockPMBase.d.ts +1 -1
  405. package/dist/types/src/utils/generateGolingvuMetafile.d.ts +2 -0
  406. package/dist/types/src/utils/golingvuMetafile/fileDiscovery.d.ts +1 -0
  407. package/dist/types/src/utils/golingvuMetafile/goList.d.ts +2 -0
  408. package/dist/types/src/utils/golingvuMetafile/helpers.d.ts +7 -0
  409. package/dist/types/src/utils/golingvuMetafile/importParser.d.ts +5 -0
  410. package/dist/types/src/utils/golingvuMetafile/types.d.ts +66 -0
  411. package/dist/types/src/utils/golingvuMetafile.d.ts +4 -19
  412. package/dist/types/src/utils/golingvuWatcher.d.ts +14 -0
  413. package/dist/types/src/utils/logFiles.d.ts +29 -1
  414. package/dist/types/src/utils/pitonoMetafile.d.ts +18 -3
  415. package/dist/types/src/utils/pitonoWatcher.d.ts +13 -0
  416. package/dist/types/src/utils/writeGolingvuMetafile.d.ts +2 -0
  417. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  418. package/docker-compose.yml +74 -0
  419. package/docs/testing.prompt.txt +5 -1
  420. package/example/Calculator.go +99 -0
  421. package/example/Calculator.golingvu.adapter.go +81 -0
  422. package/example/Calculator.golingvu.implementation.go +144 -0
  423. package/example/Calculator.golingvu.specification.go +68 -0
  424. package/example/Calculator.golingvu.test.go +216 -0
  425. package/example/Calculator.pitono.adapter.py +68 -0
  426. package/example/Calculator.pitono.implementation.py +30 -0
  427. package/example/Calculator.pitono.specification.py +154 -0
  428. package/example/Calculator.pitono.test.py +132 -0
  429. package/example/Calculator.py +93 -0
  430. package/example/Calculator.test.adapter.ts +46 -0
  431. package/example/Calculator.test.implementation.ts +55 -0
  432. package/example/Calculator.test.specification.ts +213 -0
  433. package/example/Calculator.test.ts +13 -0
  434. package/example/Calculator.test.types.ts +50 -0
  435. package/example/Calculator.ts +114 -0
  436. package/example/README.md +1 -0
  437. package/example/__pycache__/Calculator.cpython-313.pyc +0 -0
  438. package/example/go.mod +7 -0
  439. package/example/go.sum +2 -0
  440. package/example/requirements.txt +9 -0
  441. package/example/single-kanban-process.xml +9 -0
  442. package/example/test_example.py +143 -74
  443. package/example/vendor/github.com/adamwong246/testeranto/src/golingvu/LICENSE +21 -0
  444. package/example/vendor/github.com/adamwong246/testeranto/src/golingvu/golingvu.go +398 -63
  445. package/example/vendor/modules.txt +1 -2
  446. package/go.mod +6 -1
  447. package/go.sum +2 -0
  448. package/golingvu.tmp.txt +68 -0
  449. package/log.txt +39 -0
  450. package/package.json +61 -44
  451. package/scripts/build-example.ts +106 -0
  452. package/src/Helpo.tsx +89 -0
  453. package/src/Init.ts +9 -1
  454. package/src/Node.ts +0 -1
  455. package/src/NodeSidecar.ts +0 -8
  456. package/src/PM/__tests__/nodeSidecar.testeranto.ts +4 -1
  457. package/src/PM/golingvuBuild.ts +56 -0
  458. package/src/PM/pitonoBuild.ts +56 -0
  459. package/src/PM/types.ts +1 -0
  460. package/src/PM/utils.ts +7 -1
  461. package/src/PM/web.ts +8 -24
  462. package/src/Pure.test.ts +18 -9
  463. package/src/Pure.ts +1 -16
  464. package/src/Types.ts +1 -0
  465. package/src/Web.ts +2 -38
  466. package/src/WebSidecar.ts +1 -1
  467. package/src/app/FileService.ts +91 -0
  468. package/src/app/api.ts +75 -0
  469. package/src/app/backend/PM_0.ts +392 -0
  470. package/src/app/backend/PM_1_WithProcesses.ts +1186 -0
  471. package/src/app/backend/PM_2_WithTCP.ts +283 -0
  472. package/src/app/backend/PM_WithBuild.ts +148 -0
  473. package/src/app/backend/PM_WithEslintAndTsc.ts +194 -0
  474. package/src/app/backend/PM_WithGit.ts +662 -0
  475. package/src/app/backend/PM_WithHelpo.ts +340 -0
  476. package/src/app/backend/PM_WithProcesses.ts +1247 -0
  477. package/src/app/backend/PM_WithTCP.ts +777 -0
  478. package/src/app/backend/getAllFilesRecursively.ts +17 -0
  479. package/src/app/backend/main.ts +1011 -0
  480. package/src/app/backend/makePrompt.ts +92 -0
  481. package/src/app/backend/utils.ts +202 -0
  482. package/src/app/frontend/App.tsx +242 -0
  483. package/src/app/frontend/DevelopmentFileService.ts +117 -0
  484. package/src/app/frontend/GitFileService.ts +285 -0
  485. package/src/app/frontend/GitHubAuthService.ts +241 -0
  486. package/src/app/frontend/api.ts +108 -0
  487. package/src/app/frontend/app.scss +119 -0
  488. package/src/app/frontend/components/DesignEditorPage.tsx +210 -0
  489. package/src/app/frontend/components/SunriseAnimation.test/interface.ts +50 -0
  490. package/src/app/frontend/components/SunriseAnimation.test/types.ts +53 -0
  491. package/src/app/frontend/components/SunriseAnimation.tsx +350 -0
  492. package/src/app/frontend/components/pure/AppFrame.tsx +445 -0
  493. package/src/app/frontend/components/pure/FeaturesReporterView.tsx +38 -0
  494. package/src/app/frontend/components/pure/GitHubLoginButton.tsx +32 -0
  495. package/src/app/frontend/components/pure/GitIntegrationView.tsx +727 -0
  496. package/src/app/frontend/components/pure/HelpoChatDrawer.tsx +223 -0
  497. package/src/app/frontend/components/pure/MagicRobotModal.tsx +135 -0
  498. package/src/app/frontend/components/pure/ModalContent.test/index.tsx +68 -0
  499. package/src/app/frontend/components/pure/NavBar.tsx +119 -0
  500. package/src/app/frontend/components/pure/ProcessDetails.tsx +99 -0
  501. package/src/app/frontend/components/pure/ProcessInput.tsx +67 -0
  502. package/src/app/frontend/components/pure/ProcessList.tsx +89 -0
  503. package/src/app/frontend/components/pure/ProcessLogs.tsx +54 -0
  504. package/src/app/frontend/components/pure/ProcessManager.tsx +109 -0
  505. package/src/app/frontend/components/pure/ProcessManagerView.tsx +89 -0
  506. package/src/app/frontend/components/pure/ProcessManagerViewTypes.ts +10 -0
  507. package/src/app/frontend/components/pure/ProcessSidebar.tsx +88 -0
  508. package/src/app/frontend/components/pure/ProcessTerminal.tsx +55 -0
  509. package/src/app/frontend/components/pure/ProjectPageView.test/implementation.tsx +216 -0
  510. package/src/app/frontend/components/pure/ProjectPageView.tsx +165 -0
  511. package/src/app/frontend/components/pure/Settings.test.tsx +34 -0
  512. package/src/app/frontend/components/pure/Settings.tsx +171 -0
  513. package/src/app/frontend/components/pure/SignIn.tsx +33 -0
  514. package/src/app/frontend/components/pure/SingleProcessView.tsx +140 -0
  515. package/src/app/frontend/components/pure/TerminalInput.tsx +73 -0
  516. package/src/app/frontend/components/pure/TerminalLogs.tsx +80 -0
  517. package/src/app/frontend/components/stateful/DratoPage.tsx +457 -0
  518. package/src/app/frontend/components/stateful/FeaturesReporter.tsx +27 -0
  519. package/src/app/frontend/components/stateful/GenericXMLEditor/AttributeEditor.tsx +105 -0
  520. package/src/app/frontend/components/stateful/GenericXMLEditor/Drawer.tsx +174 -0
  521. package/src/app/frontend/components/stateful/GenericXMLEditor/GenericPreview.tsx +234 -0
  522. package/src/app/frontend/components/stateful/GenericXMLEditor/GenericTextEditor.tsx +173 -0
  523. package/src/app/frontend/components/stateful/GenericXMLEditor/GenericTree.tsx +105 -0
  524. package/src/app/frontend/components/stateful/GenericXMLEditorPage.tsx +455 -0
  525. package/src/app/frontend/components/stateful/GitIntegrationPage.tsx +256 -0
  526. package/src/app/frontend/components/stateful/GrafeoPage.tsx +563 -0
  527. package/src/app/frontend/components/stateful/ProcessManagerPage.tsx +110 -0
  528. package/src/app/frontend/components/stateful/ProjectPage.tsx +94 -0
  529. package/src/app/frontend/components/stateful/ProjectsPage.tsx +129 -0
  530. package/src/app/frontend/components/stateful/SVGEditor/SVGAttributesEditor.tsx +91 -0
  531. package/src/app/frontend/components/stateful/SVGEditor/SVGPreview.tsx +227 -0
  532. package/src/app/frontend/components/stateful/SVGEditorPage.tsx +517 -0
  533. package/src/app/frontend/components/stateful/SingleProcessPage.tsx +144 -0
  534. package/src/app/frontend/components/stateful/SkriboPage.tsx +577 -0
  535. package/src/app/frontend/fetchDataUtil.ts +206 -0
  536. package/src/app/frontend/flua/FluaPage.tsx +458 -0
  537. package/src/app/frontend/flua/agile.xsd +32 -0
  538. package/src/app/frontend/flua/core.xsd +42 -0
  539. package/src/app/frontend/flua/kanban.xsd +21 -0
  540. package/src/app/frontend/flua/scrum.xsd +35 -0
  541. package/src/app/frontend/testPage/ITestPageViewProps.ts +14 -0
  542. package/src/app/frontend/testPage/ProjectsTree.tsx +329 -0
  543. package/src/app/frontend/testPage/TestPage.tsx +75 -0
  544. package/src/app/frontend/testPage/TestPageLeftContent.tsx +54 -0
  545. package/src/app/frontend/testPage/TestPageMainContent.tsx +181 -0
  546. package/src/app/frontend/testPage/TestPageNavbar.tsx +52 -0
  547. package/src/app/frontend/testPage/TestPageView.test/implementation.ts +209 -0
  548. package/src/app/frontend/testPage/TestPageView.test/index.tsx +22 -0
  549. package/src/app/frontend/testPage/TestPageView.test/specification.ts +60 -0
  550. package/src/app/frontend/testPage/TestPageView.test/types.ts +92 -0
  551. package/src/app/frontend/testPage/TestPageView.tsx +481 -0
  552. package/src/app/frontend/testPage/TestPageView_utils.tsx +301 -0
  553. package/src/app/frontend/testPage/index.md +14 -0
  554. package/src/app/frontend/useFileSystemSync.ts +117 -0
  555. package/src/app/frontend/useFs.ts +16 -0
  556. package/src/app/frontend/useGitMode.ts +21 -0
  557. package/src/app/frontend/useTerminalWebSocket.ts +56 -0
  558. package/src/app/frontend/useWebSocket.ts +20 -0
  559. package/src/app/trash +1697 -0
  560. package/src/app/types.ts +1 -0
  561. package/src/builders/golang.ts +29 -0
  562. package/src/builders/node.ts +34 -0
  563. package/src/builders/python.ts +28 -0
  564. package/src/builders/web.ts +34 -0
  565. package/src/cjs-shim.js +2 -0
  566. package/src/esbuildConfigs/node.ts +1 -1
  567. package/src/golingvu/PM/golang_test.go +103 -0
  568. package/src/golingvu/README.md +186 -2
  569. package/src/golingvu/base_given.go +110 -24
  570. package/src/golingvu/base_suite.go +54 -8
  571. package/src/golingvu/base_then.go +2 -2
  572. package/src/golingvu/base_when.go +2 -2
  573. package/src/golingvu/go.mod +6 -0
  574. package/src/golingvu/golingvu.go +683 -32
  575. package/src/golingvu/types.go +0 -14
  576. package/src/graphml.xsd +345 -0
  577. package/src/helpo/directives.md +5 -0
  578. package/src/helpo/prompt.txt +38 -0
  579. package/src/lib/BaseGiven.ts +106 -32
  580. package/src/lib/BaseSuite.test/test.ts +92 -180
  581. package/src/lib/BaseSuite.ts +60 -10
  582. package/src/lib/BaseThen.ts +36 -37
  583. package/src/lib/BaseWhen.ts +12 -13
  584. package/src/lib/Tiposkripto.test/MockTiposkripto.ts +59 -63
  585. package/src/lib/Tiposkripto.test/Tiposkripto.implementation.ts +33 -20
  586. package/src/lib/Tiposkripto.test/Tiposkripto.specification.ts +9 -8
  587. package/src/lib/Tiposkripto.ts +27 -15
  588. package/src/lib/pmProxy.test/implementation.ts +112 -117
  589. package/src/lib/pmProxy.test/index.ts +2 -2
  590. package/src/lib/pmProxy.test/mockPM.ts +1 -0
  591. package/src/lib/pmProxy.test/mockPMBase.ts +1 -1
  592. package/src/lib/pmProxy.test/specification.ts +0 -2
  593. package/src/lib/pmProxy.test/types.ts +1 -0
  594. package/src/lib/pmProxy.ts +0 -37
  595. package/src/mothership/index.ts +197 -2
  596. package/src/mothership/test.ts +5 -5
  597. package/src/pitono/PM/__pycache__/python.cpython-313.pyc +0 -0
  598. package/src/pitono/PM/python.py +168 -0
  599. package/src/pitono/Pitono.py +444 -0
  600. package/src/pitono/PitonoTest.py +25 -0
  601. package/src/pitono/README.md +21 -0
  602. package/src/pitono/__init__.py +6 -0
  603. package/src/pitono/__pycache__/Pitono.cpython-313.pyc +0 -0
  604. package/src/pitono/__pycache__/__init__.cpython-313.pyc +0 -0
  605. package/src/pitono/__pycache__/base_given.cpython-313.pyc +0 -0
  606. package/src/pitono/__pycache__/base_suite.cpython-313.pyc +0 -0
  607. package/src/pitono/__pycache__/base_then.cpython-313.pyc +0 -0
  608. package/src/pitono/__pycache__/base_when.cpython-313.pyc +0 -0
  609. package/src/pitono/__pycache__/core_generator.cpython-313.pyc +0 -0
  610. package/src/pitono/__pycache__/simple_adapter.cpython-313.pyc +0 -0
  611. package/src/pitono/__pycache__/types.cpython-313.pyc +0 -0
  612. package/src/pitono/base_given.py +178 -0
  613. package/src/pitono/base_suite.py +149 -0
  614. package/src/pitono/base_then.py +65 -0
  615. package/src/pitono/base_when.py +67 -0
  616. package/src/pitono/pitono.egg-info/PKG-INFO +42 -0
  617. package/src/pitono/pitono.egg-info/SOURCES.txt +8 -0
  618. package/src/pitono/types.py +87 -0
  619. package/src/style.scss +261 -2
  620. package/src/testeranto.ts +120 -153
  621. package/src/utils/generateGolingvuMetafile.ts +196 -0
  622. package/src/utils/golingvuMetafile/fileDiscovery.ts +157 -0
  623. package/src/utils/golingvuMetafile/goList.ts +106 -0
  624. package/src/utils/golingvuMetafile/helpers.ts +65 -0
  625. package/src/utils/golingvuMetafile/importParser.ts +97 -0
  626. package/src/utils/golingvuMetafile/types.ts +78 -0
  627. package/src/utils/golingvuMetafile.ts +6 -163
  628. package/src/utils/golingvuWatcher.ts +280 -0
  629. package/src/utils/logFiles.ts +10 -2
  630. package/src/utils/pitonoMetafile.ts +328 -58
  631. package/src/utils/pitonoWatcher.ts +150 -0
  632. package/src/utils/writeGolingvuMetafile.ts +386 -0
  633. package/testeranto/App.css +251 -173
  634. package/testeranto/App.js +20080 -43664
  635. package/testeranto/bundles/golang/core/example/Calculator.golingvu.test +58 -0
  636. package/testeranto/bundles/node/core/example/Calculator.test.mjs +5481 -122
  637. package/testeranto/bundles/python/core/Calculator.pitono.test.py +1 -1
  638. package/testeranto/helpo_chat_history.json +1 -0
  639. package/testeranto/metafiles/golang/core.json +144 -49
  640. package/testeranto/metafiles/node/core.json +92 -583
  641. package/testeranto/metafiles/python/core.json +50 -9
  642. package/testeranto/reports/core/config.json +5 -61
  643. package/testeranto/reports/core/example/Calculator.golingvu.test/golang/exit.log +1 -0
  644. package/testeranto/reports/core/example/Calculator.golingvu.test/golang/stderr.log +7 -0
  645. package/testeranto/reports/core/example/Calculator.pitono.test/python/message.txt +16 -0
  646. package/testeranto/reports/core/example/Calculator.pitono.test/python/prompt.txt +13 -0
  647. package/testeranto/reports/core/example/Calculator.pitono.test/python/stdout.log +26 -0
  648. package/testeranto/reports/core/example/Calculator.pitono.test/python/tests.json +255 -0
  649. package/testeranto/reports/core/example/Calculator.test/node/lint_errors.txt +2 -0
  650. package/testeranto/reports/core/example/Calculator.test/node/message.txt +16 -0
  651. package/testeranto/reports/core/example/Calculator.test/node/prompt.txt +13 -0
  652. package/testeranto/reports/core/example/Calculator.test/node/stderr.log +566 -0
  653. package/testeranto/reports/core/example/Calculator.test/node/tests.json +1163 -0
  654. package/testeranto/reports/core/example/Calculator.test/node/type_errors.txt +26 -0
  655. package/testeranto/reports/core/summary.json +7 -47
  656. package/testeranto.config.ts +33 -43
  657. package/tsc.log +305 -370
  658. package/dist/common/src/App.js +0 -219
  659. package/dist/common/src/PM/PM_WithBuild.js +0 -135
  660. package/dist/common/src/PM/PM_WithEslintAndTsc.js +0 -204
  661. package/dist/common/src/PM/PM_WithGit.js +0 -517
  662. package/dist/common/src/PM/PM_WithProcesses.js +0 -519
  663. package/dist/common/src/PM/PM_WithWebSocket.js +0 -535
  664. package/dist/common/src/PM/base.js +0 -319
  665. package/dist/common/src/PM/main.js +0 -672
  666. package/dist/common/src/PM/metafileOutputs.js +0 -78
  667. package/dist/common/src/ReportServer.js +0 -1
  668. package/dist/common/src/ReportServer.test.ts/index.js +0 -78
  669. package/dist/common/src/ReportServerLib.js +0 -1
  670. package/dist/common/src/components/DesignEditorPage.js +0 -205
  671. package/dist/common/src/components/SunriseAnimation.js +0 -291
  672. package/dist/common/src/components/SunriseAnimation.test/interface.js +0 -68
  673. package/dist/common/src/components/pure/AppFrame.js +0 -81
  674. package/dist/common/src/components/pure/GitHubLoginButton.js +0 -18
  675. package/dist/common/src/components/pure/GitIntegrationView.js +0 -342
  676. package/dist/common/src/components/pure/ModalContent.test/index.js +0 -58
  677. package/dist/common/src/components/pure/NavBar.js +0 -44
  678. package/dist/common/src/components/pure/ProcessManager.js +0 -113
  679. package/dist/common/src/components/pure/ProcessManagerView.js +0 -236
  680. package/dist/common/src/components/pure/ProjectPageView.js +0 -68
  681. package/dist/common/src/components/pure/ProjectPageView.test/implementation.js +0 -184
  682. package/dist/common/src/components/pure/Settings.js +0 -121
  683. package/dist/common/src/components/pure/Settings.test.js +0 -34
  684. package/dist/common/src/components/pure/SignIn.js +0 -22
  685. package/dist/common/src/components/pure/SingleProcessView.js +0 -167
  686. package/dist/common/src/components/pure/TestPageView.js +0 -373
  687. package/dist/common/src/components/pure/TestPageView.test/implementation.js +0 -157
  688. package/dist/common/src/components/pure/TestPageView.test/index.js +0 -15
  689. package/dist/common/src/components/pure/TestPageView.test/specification.js +0 -26
  690. package/dist/common/src/components/pure/TestPageView_utils.js +0 -117
  691. package/dist/common/src/components/stateful/FeaturesReporter.js +0 -60
  692. package/dist/common/src/components/stateful/GitIntegrationPage.js +0 -12
  693. package/dist/common/src/components/stateful/ProcessManagerPage.js +0 -110
  694. package/dist/common/src/components/stateful/ProjectPage.js +0 -102
  695. package/dist/common/src/components/stateful/ProjectsPage.js +0 -116
  696. package/dist/common/src/components/stateful/SingleProcessPage.js +0 -137
  697. package/dist/common/src/components/stateful/TestPage.js +0 -270
  698. package/dist/common/src/hooks/useGitMode.js +0 -21
  699. package/dist/common/src/services/FileService.js +0 -505
  700. package/dist/common/src/services/GitHubAuthService.js +0 -184
  701. package/dist/common/src/types/features.js +0 -34
  702. package/dist/common/src/utils/api.js +0 -93
  703. package/dist/common/src/utils/featureUtils.js +0 -29
  704. package/dist/common/src/utils/gitTest.js +0 -27
  705. package/dist/common/src/utils/makePrompt.js +0 -116
  706. package/dist/common/src/utils.js +0 -143
  707. package/dist/module/src/App.js +0 -176
  708. package/dist/module/src/PM/PM_WithBuild.js +0 -128
  709. package/dist/module/src/PM/PM_WithEslintAndTsc.js +0 -197
  710. package/dist/module/src/PM/PM_WithGit.js +0 -477
  711. package/dist/module/src/PM/PM_WithProcesses.js +0 -479
  712. package/dist/module/src/PM/PM_WithWebSocket.js +0 -528
  713. package/dist/module/src/PM/base.js +0 -312
  714. package/dist/module/src/PM/main.js +0 -632
  715. package/dist/module/src/PM/metafileOutputs.js +0 -78
  716. package/dist/module/src/ReportServer.js +0 -1
  717. package/dist/module/src/ReportServer.test.ts/index.js +0 -73
  718. package/dist/module/src/ReportServerLib.js +0 -1
  719. package/dist/module/src/components/DesignEditorPage.js +0 -168
  720. package/dist/module/src/components/SunriseAnimation.js +0 -256
  721. package/dist/module/src/components/SunriseAnimation.test/interface.js +0 -32
  722. package/dist/module/src/components/pure/AppFrame.js +0 -74
  723. package/dist/module/src/components/pure/GitHubLoginButton.js +0 -11
  724. package/dist/module/src/components/pure/GitIntegrationView.js +0 -305
  725. package/dist/module/src/components/pure/ModalContent.test/index.js +0 -53
  726. package/dist/module/src/components/pure/NavBar.js +0 -37
  727. package/dist/module/src/components/pure/ProcessManager.js +0 -76
  728. package/dist/module/src/components/pure/ProcessManagerView.js +0 -199
  729. package/dist/module/src/components/pure/ProjectPageView.js +0 -61
  730. package/dist/module/src/components/pure/ProjectPageView.test/implementation.js +0 -181
  731. package/dist/module/src/components/pure/Settings.js +0 -84
  732. package/dist/module/src/components/pure/Settings.test.js +0 -29
  733. package/dist/module/src/components/pure/SignIn.js +0 -15
  734. package/dist/module/src/components/pure/SingleProcessView.js +0 -130
  735. package/dist/module/src/components/pure/TestPageView.js +0 -336
  736. package/dist/module/src/components/pure/TestPageView.test/implementation.js +0 -121
  737. package/dist/module/src/components/pure/TestPageView.test/index.js +0 -10
  738. package/dist/module/src/components/pure/TestPageView.test/specification.js +0 -22
  739. package/dist/module/src/components/pure/TestPageView_utils.js +0 -109
  740. package/dist/module/src/components/stateful/FeaturesReporter.js +0 -23
  741. package/dist/module/src/components/stateful/GitIntegrationPage.js +0 -5
  742. package/dist/module/src/components/stateful/ProcessManagerPage.js +0 -73
  743. package/dist/module/src/components/stateful/ProjectPage.js +0 -65
  744. package/dist/module/src/components/stateful/ProjectsPage.js +0 -79
  745. package/dist/module/src/components/stateful/SingleProcessPage.js +0 -100
  746. package/dist/module/src/components/stateful/TestPage.js +0 -233
  747. package/dist/module/src/hooks/useGitMode.js +0 -17
  748. package/dist/module/src/services/FileService.js +0 -468
  749. package/dist/module/src/services/GitHubAuthService.js +0 -180
  750. package/dist/module/src/types/features.js +0 -31
  751. package/dist/module/src/utils/api.js +0 -87
  752. package/dist/module/src/utils/featureUtils.js +0 -24
  753. package/dist/module/src/utils/gitTest.js +0 -23
  754. package/dist/module/src/utils/makePrompt.js +0 -109
  755. package/dist/module/src/utils.js +0 -130
  756. package/dist/types/src/App.d.ts +0 -19
  757. package/dist/types/src/PM/PM_WithBuild.d.ts +0 -13
  758. package/dist/types/src/PM/PM_WithEslintAndTsc.d.ts +0 -22
  759. package/dist/types/src/PM/PM_WithGit.d.ts +0 -27
  760. package/dist/types/src/PM/PM_WithProcesses.d.ts +0 -29
  761. package/dist/types/src/PM/PM_WithWebSocket.d.ts +0 -108
  762. package/dist/types/src/PM/base.d.ts +0 -35
  763. package/dist/types/src/PM/main.d.ts +0 -8
  764. package/dist/types/src/ReportServer.test.ts/index.d.ts +0 -2
  765. package/dist/types/src/components/SunriseAnimation.test/interface.d.ts +0 -11
  766. package/dist/types/src/components/SunriseAnimation.test/types.d.ts +0 -39
  767. package/dist/types/src/components/pure/AppFrame.d.ts +0 -11
  768. package/dist/types/src/components/pure/AppFrame.test/index.d.ts +0 -3
  769. package/dist/types/src/components/pure/FeaturesReporterView.d.ts +0 -7
  770. package/dist/types/src/components/pure/FeaturesReporterView.test/index.d.ts +0 -2
  771. package/dist/types/src/components/pure/GitIntegrationView.d.ts +0 -1
  772. package/dist/types/src/components/pure/ModalContent.test/index.d.ts +0 -2
  773. package/dist/types/src/components/pure/ProcessManagerView.d.ts +0 -20
  774. package/dist/types/src/components/pure/ProjectPageView.d.ts +0 -14
  775. package/dist/types/src/components/pure/ProjectPageView.test/implementation.d.ts +0 -3
  776. package/dist/types/src/components/pure/ProjectPageView.test/index.d.ts +0 -2
  777. package/dist/types/src/components/pure/SingleProcessView.d.ts +0 -10
  778. package/dist/types/src/components/pure/TestPageView.d.ts +0 -16
  779. package/dist/types/src/components/pure/TestPageView.test/implementation.d.ts +0 -12
  780. package/dist/types/src/components/pure/TestPageView.test/index.d.ts +0 -3
  781. package/dist/types/src/components/pure/TestPageView.test/specification.d.ts +0 -11
  782. package/dist/types/src/components/pure/TestPageView.test/types.d.ts +0 -65
  783. package/dist/types/src/components/pure/TestPageView_utils.d.ts +0 -23
  784. package/dist/types/src/components/stateful/FeaturesReporter.d.ts +0 -2
  785. package/dist/types/src/components/stateful/SingleProcessPage.d.ts +0 -2
  786. package/dist/types/src/services/FileService.d.ts +0 -34
  787. package/dist/types/src/types/features.d.ts +0 -7
  788. package/dist/types/src/utils/api.d.ts +0 -10
  789. package/dist/types/src/utils/featureUtils.d.ts +0 -6
  790. package/dist/types/src/utils/gitTest.d.ts +0 -11
  791. package/dist/types/src/utils/makePrompt.d.ts +0 -2
  792. package/dist/types/src/utils.d.ts +0 -20
  793. package/pitono/__init__.py +0 -54
  794. package/pitono/base_given.py +0 -131
  795. package/pitono/base_suite.py +0 -95
  796. package/pitono/base_then.py +0 -50
  797. package/pitono/base_when.py +0 -52
  798. package/pitono/pitono.egg-info/PKG-INFO +0 -17
  799. package/pitono/pitono.egg-info/SOURCES.txt +0 -7
  800. package/pitono/types.py +0 -78
  801. package/src/App.tsx +0 -228
  802. package/src/PM/PM_WithBuild.ts +0 -171
  803. package/src/PM/PM_WithEslintAndTsc.ts +0 -279
  804. package/src/PM/PM_WithGit.ts +0 -585
  805. package/src/PM/PM_WithProcesses.ts +0 -639
  806. package/src/PM/PM_WithWebSocket.ts +0 -631
  807. package/src/PM/base.ts +0 -390
  808. package/src/PM/main.ts +0 -849
  809. package/src/PM/metafileOutputs.ts +0 -90
  810. package/src/ReportServer.test.ts/index.ts +0 -194
  811. package/src/app.scss +0 -19
  812. package/src/components/DesignEditorPage.tsx +0 -202
  813. package/src/components/SunriseAnimation.test/interface.ts +0 -49
  814. package/src/components/SunriseAnimation.test/types.ts +0 -53
  815. package/src/components/SunriseAnimation.tsx +0 -350
  816. package/src/components/pure/AppFrame.tsx +0 -300
  817. package/src/components/pure/FeaturesReporterView.tsx +0 -37
  818. package/src/components/pure/GitHubLoginButton.tsx +0 -31
  819. package/src/components/pure/GitIntegrationView.tsx +0 -443
  820. package/src/components/pure/ModalContent.test/index.tsx +0 -67
  821. package/src/components/pure/NavBar.tsx +0 -118
  822. package/src/components/pure/ProcessManager.tsx +0 -118
  823. package/src/components/pure/ProcessManagerView.tsx +0 -410
  824. package/src/components/pure/ProjectPageView.test/implementation.tsx +0 -213
  825. package/src/components/pure/ProjectPageView.tsx +0 -148
  826. package/src/components/pure/Settings.test.tsx +0 -34
  827. package/src/components/pure/Settings.tsx +0 -163
  828. package/src/components/pure/SignIn.tsx +0 -33
  829. package/src/components/pure/SingleProcessView.tsx +0 -231
  830. package/src/components/pure/TestPageView.test/implementation.ts +0 -162
  831. package/src/components/pure/TestPageView.test/index.tsx +0 -20
  832. package/src/components/pure/TestPageView.test/specification.ts +0 -59
  833. package/src/components/pure/TestPageView.test/types.ts +0 -92
  834. package/src/components/pure/TestPageView.tsx +0 -706
  835. package/src/components/pure/TestPageView_utils.tsx +0 -285
  836. package/src/components/stateful/FeaturesReporter.tsx +0 -26
  837. package/src/components/stateful/GitIntegrationPage.tsx +0 -8
  838. package/src/components/stateful/ProcessManagerPage.tsx +0 -104
  839. package/src/components/stateful/ProjectPage.tsx +0 -86
  840. package/src/components/stateful/ProjectsPage.tsx +0 -100
  841. package/src/components/stateful/SVGEditor/SVGAttributesEditor.tsx +0 -73
  842. package/src/components/stateful/SVGEditor/SVGPreview.tsx +0 -225
  843. package/src/components/stateful/SVGEditorPage.tsx +0 -503
  844. package/src/components/stateful/SingleProcessPage.tsx +0 -142
  845. package/src/components/stateful/TestPage.tsx +0 -268
  846. package/src/golingvu/base_suite_test.go +0 -197
  847. package/src/hooks/useGitMode.ts +0 -20
  848. package/src/services/FileService.ts +0 -542
  849. package/src/services/GitHubAuthService.ts +0 -240
  850. package/src/templates/frontpage.html +0 -340
  851. package/src/templates/frontpage.md +0 -79
  852. package/src/types/features.ts +0 -38
  853. package/src/utils/api.ts +0 -108
  854. package/src/utils/featureUtils.tsx +0 -42
  855. package/src/utils/gitTest.ts +0 -29
  856. package/src/utils/makePrompt.ts +0 -149
  857. package/src/utils.ts +0 -202
  858. package/stargazers.txt +0 -15
  859. package/testeranto/bundles/golang/core/Calculator.golingvu.go +0 -53
  860. package/testeranto/bundles/golang/core/Calculator.golingvu.golingvu.go +0 -53
  861. package/testeranto/bundles/node/core/chunk-RIM6RECA.mjs +0 -1170
  862. package/testeranto/bundles/node/core/chunk-VXVF7WFO.mjs +0 -4321
  863. package/testeranto/bundles/node/core/src/lib/BaseSuite.test/node.test.mjs +0 -270
  864. package/testeranto/bundles/node/core/src/lib/TipoSkripto.test/TipoSkripto.mjs +0 -574
  865. package/testeranto/bundles/node/core/src/lib/pmProxy.test/index.mjs +0 -482
  866. package/testeranto/bundles/pure/core/chunk-XYOCRDEQ.mjs +0 -1080
  867. package/testeranto/bundles/pure/core/src/Pure.test.mjs +0 -410
  868. package/testeranto/bundles/pure/core/src/lib/BaseSuite.test/pure.test.mjs +0 -270
  869. package/testeranto/bundles/python/core/test_example.py +0 -24
  870. package/testeranto/bundles/web/core/MPLUSRounded1c-Black-O75GP5JI.ttf +0 -0
  871. package/testeranto/bundles/web/core/MPLUSRounded1c-Bold-R524Q5BH.ttf +0 -0
  872. package/testeranto/bundles/web/core/MPLUSRounded1c-ExtraBold-C6GRMYVT.ttf +0 -0
  873. package/testeranto/bundles/web/core/MPLUSRounded1c-Light-WKN65Y2C.ttf +0 -0
  874. package/testeranto/bundles/web/core/MPLUSRounded1c-Medium-ZC4DWL7C.ttf +0 -0
  875. package/testeranto/bundles/web/core/MPLUSRounded1c-Regular-DT6EKZ3S.ttf +0 -0
  876. package/testeranto/bundles/web/core/MPLUSRounded1c-Thin-YWDNVG6M.ttf +0 -0
  877. package/testeranto/bundles/web/core/chunk-DFRN4SYZ.mjs +0 -2297
  878. package/testeranto/bundles/web/core/chunk-JMDLMADH.mjs +0 -27996
  879. package/testeranto/bundles/web/core/chunk-LQMU5NCG.mjs +0 -3082
  880. package/testeranto/bundles/web/core/chunk-Q5TONB2Z.mjs +0 -6874
  881. package/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs +0 -164
  882. package/testeranto/bundles/web/core/src/components/pure/ModalContent.test/index.css +0 -11697
  883. package/testeranto/bundles/web/core/src/components/pure/ModalContent.test/index.mjs +0 -336
  884. package/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.css +0 -11697
  885. package/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.mjs +0 -517
  886. package/testeranto/bundles/web/core/src/lib/BaseSuite.test/web.test.mjs +0 -285
  887. package/testeranto/metafiles/pure/core.json +0 -734
  888. package/testeranto/metafiles/web/core.json +0 -16501
  889. package/testeranto/reports/core/src/Pure.test/pure/message.txt +0 -17
  890. package/testeranto/reports/core/src/Pure.test/pure/prompt.txt +0 -14
  891. package/testeranto/reports/core/src/Pure.test/pure/type_errors.txt +0 -73
  892. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/error.log +0 -91
  893. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/info.log +0 -2
  894. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/tests.json +0 -68
  895. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/error.log +0 -30
  896. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/info.log +0 -2
  897. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/tests.json +0 -88
  898. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/exit.log +0 -1
  899. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/message.txt +0 -17
  900. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/prompt.txt +0 -15
  901. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/stdout.log +0 -1
  902. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/tests.json +0 -29
  903. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/type_errors.txt +0 -53
  904. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/exit.log +0 -0
  905. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/lint_errors.txt +0 -0
  906. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/message.txt +0 -17
  907. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/prompt.txt +0 -15
  908. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +0 -58
  909. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/debug.log +0 -0
  910. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/error.log +0 -1
  911. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/exit.log +0 -1
  912. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/info.log +0 -0
  913. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/tests.json +0 -29
  914. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/warn.log +0 -0
  915. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/exit.log +0 -1
  916. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/lint_errors.txt +0 -0
  917. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/message.txt +0 -17
  918. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/prompt.txt +0 -17
  919. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/stderr.log +0 -55
  920. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/stdout.log +0 -191
  921. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/type_errors.txt +0 -71
  922. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/exit.log +0 -1
  923. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/lint_errors.txt +0 -15
  924. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/message.txt +0 -17
  925. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/prompt.txt +0 -17
  926. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/stderr.log +0 -20
  927. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/stdout.log +0 -4
  928. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/type_errors.txt +0 -49
  929. package/testeranto.ts-0.0.1.tgz +0 -0
  930. package/type-fix.txt +0 -2
  931. /package/{dist/types/src/PM/metafileOutputs.d.ts → build-go.sh} +0 -0
  932. /package/dist/common/src/{components → app/frontend/components}/SunriseAnimation.test/implementation.js +0 -0
  933. /package/dist/common/src/{components → app/frontend/components}/SunriseAnimation.test/index.js +0 -0
  934. /package/dist/common/src/{components → app/frontend/components}/SunriseAnimation.test/specification.js +0 -0
  935. /package/dist/common/src/{components → app/frontend/components}/SunriseAnimation.test/types.js +0 -0
  936. /package/dist/common/src/{components → app/frontend/components}/TestStatusBadge.js +0 -0
  937. /package/dist/common/src/{components → app/frontend/components}/pure/AppFrame.test/implementation.js +0 -0
  938. /package/dist/common/src/{components → app/frontend/components}/pure/AppFrame.test/index.js +0 -0
  939. /package/dist/common/src/{components → app/frontend/components}/pure/AppFrame.test/specification.js +0 -0
  940. /package/dist/common/src/{components → app/frontend/components}/pure/AppFrame.test/types.js +0 -0
  941. /package/dist/common/src/{components → app/frontend/components}/pure/ArtifactTree.js +0 -0
  942. /package/dist/common/src/{components → app/frontend/components}/pure/BuildLogViewer.js +0 -0
  943. /package/dist/common/src/{components → app/frontend/components}/pure/DebugEnv.js +0 -0
  944. /package/dist/common/src/{components → app/frontend/components}/pure/FeaturesReporterView.js +0 -0
  945. /package/dist/common/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/implementation.js +0 -0
  946. /package/dist/common/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/index.js +0 -0
  947. /package/dist/common/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/specification.js +0 -0
  948. /package/dist/common/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/types.js +0 -0
  949. /package/dist/common/src/{components → app/frontend/components}/pure/FileTree.js +0 -0
  950. /package/dist/common/src/{components → app/frontend/components}/pure/FileTreeItem.js +0 -0
  951. /package/dist/common/src/{components → app/frontend/components}/pure/ModalContent.js +0 -0
  952. /package/dist/common/src/{components → app/frontend/components}/pure/ModalContent.test/implementation.js +0 -0
  953. /package/dist/common/src/{components → app/frontend/components}/pure/ModalContent.test/specification.js +0 -0
  954. /package/dist/common/src/{components → app/frontend/components}/pure/ModalContent.test/types.js +0 -0
  955. /package/dist/common/src/{components → app/frontend/components}/pure/ProjectPageView.test/index.js +0 -0
  956. /package/dist/common/src/{components → app/frontend/components}/pure/ProjectPageView.test/specification.js +0 -0
  957. /package/dist/common/src/{components → app/frontend/components}/pure/ProjectPageView.test/types.js +0 -0
  958. /package/dist/common/src/{components → app/frontend/components}/pure/ProjectsPageView.js +0 -0
  959. /package/dist/common/src/{components → app/frontend/components}/pure/SettingsButton.js +0 -0
  960. /package/dist/common/src/{components → app/frontend/components}/pure/TestTable.js +0 -0
  961. /package/dist/common/src/{components → app/frontend/components}/pure/ThemeCard.js +0 -0
  962. /package/dist/common/src/{components → app/frontend/components}/pure/ToastNotification.js +0 -0
  963. /package/dist/common/src/{components → app/frontend/components}/pure/UserProfile.js +0 -0
  964. /package/dist/common/src/{components → app/frontend/components}/stateful/AuthCallbackPage.js +0 -0
  965. /package/dist/common/src/{components → app/frontend/components}/stateful/FileTree.js +0 -0
  966. /package/dist/common/src/{components → app/frontend/components}/stateful/SettingsPage.js +0 -0
  967. /package/dist/common/src/{components → app/frontend/components}/stateful/TextEditorPage.js +0 -0
  968. /package/dist/common/src/{components/pure → app/frontend/testPage}/TestPageView.test/types.js +0 -0
  969. /package/dist/module/src/{components → app/frontend/components}/SunriseAnimation.test/implementation.js +0 -0
  970. /package/dist/module/src/{components → app/frontend/components}/SunriseAnimation.test/index.js +0 -0
  971. /package/dist/module/src/{components → app/frontend/components}/SunriseAnimation.test/specification.js +0 -0
  972. /package/dist/module/src/{components → app/frontend/components}/SunriseAnimation.test/types.js +0 -0
  973. /package/dist/module/src/{components → app/frontend/components}/TestStatusBadge.js +0 -0
  974. /package/dist/module/src/{components → app/frontend/components}/pure/AppFrame.test/implementation.js +0 -0
  975. /package/dist/module/src/{components → app/frontend/components}/pure/AppFrame.test/index.js +0 -0
  976. /package/dist/module/src/{components → app/frontend/components}/pure/AppFrame.test/specification.js +0 -0
  977. /package/dist/module/src/{components → app/frontend/components}/pure/AppFrame.test/types.js +0 -0
  978. /package/dist/module/src/{components → app/frontend/components}/pure/ArtifactTree.js +0 -0
  979. /package/dist/module/src/{components → app/frontend/components}/pure/BuildLogViewer.js +0 -0
  980. /package/dist/module/src/{components → app/frontend/components}/pure/DebugEnv.js +0 -0
  981. /package/dist/module/src/{components → app/frontend/components}/pure/FeaturesReporterView.js +0 -0
  982. /package/dist/module/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/implementation.js +0 -0
  983. /package/dist/module/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/index.js +0 -0
  984. /package/dist/module/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/specification.js +0 -0
  985. /package/dist/module/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/types.js +0 -0
  986. /package/dist/module/src/{components → app/frontend/components}/pure/FileTree.js +0 -0
  987. /package/dist/module/src/{components → app/frontend/components}/pure/FileTreeItem.js +0 -0
  988. /package/dist/module/src/{components → app/frontend/components}/pure/ModalContent.js +0 -0
  989. /package/dist/module/src/{components → app/frontend/components}/pure/ModalContent.test/implementation.js +0 -0
  990. /package/dist/module/src/{components → app/frontend/components}/pure/ModalContent.test/specification.js +0 -0
  991. /package/dist/module/src/{components → app/frontend/components}/pure/ModalContent.test/types.js +0 -0
  992. /package/dist/{types/src/components/pure/Settings.test.d.ts → module/src/app/frontend/components/pure/ProcessManagerViewTypes.js} +0 -0
  993. /package/dist/module/src/{components → app/frontend/components}/pure/ProjectPageView.test/index.js +0 -0
  994. /package/dist/module/src/{components → app/frontend/components}/pure/ProjectPageView.test/specification.js +0 -0
  995. /package/dist/module/src/{components → app/frontend/components}/pure/ProjectPageView.test/types.js +0 -0
  996. /package/dist/module/src/{components → app/frontend/components}/pure/ProjectsPageView.js +0 -0
  997. /package/dist/module/src/{components → app/frontend/components}/pure/SettingsButton.js +0 -0
  998. /package/dist/module/src/{components → app/frontend/components}/pure/TestTable.js +0 -0
  999. /package/dist/module/src/{components → app/frontend/components}/pure/ThemeCard.js +0 -0
  1000. /package/dist/module/src/{components → app/frontend/components}/pure/ToastNotification.js +0 -0
  1001. /package/dist/module/src/{components → app/frontend/components}/pure/UserProfile.js +0 -0
  1002. /package/dist/module/src/{components → app/frontend/components}/stateful/AuthCallbackPage.js +0 -0
  1003. /package/dist/module/src/{components → app/frontend/components}/stateful/FileTree.js +0 -0
  1004. /package/dist/module/src/{components → app/frontend/components}/stateful/SettingsPage.js +0 -0
  1005. /package/dist/module/src/{components → app/frontend/components}/stateful/TextEditorPage.js +0 -0
  1006. /package/dist/module/src/{components/pure → app/frontend/testPage}/TestPageView.test/types.js +0 -0
  1007. /package/dist/types/src/{ReportServer.d.ts → app/backend/PM_WithProcesses.d.ts} +0 -0
  1008. /package/dist/types/src/{services → app/frontend}/GitHubAuthService.d.ts +0 -0
  1009. /package/dist/types/src/{components → app/frontend/components}/DesignEditorPage.d.ts +0 -0
  1010. /package/dist/types/src/{components → app/frontend/components}/SunriseAnimation.d.ts +0 -0
  1011. /package/dist/types/src/{components → app/frontend/components}/SunriseAnimation.test/implementation.d.ts +0 -0
  1012. /package/dist/types/src/{components → app/frontend/components}/SunriseAnimation.test/index.d.ts +0 -0
  1013. /package/dist/types/src/{components → app/frontend/components}/SunriseAnimation.test/specification.d.ts +0 -0
  1014. /package/dist/types/src/{components → app/frontend/components}/TestStatusBadge.d.ts +0 -0
  1015. /package/dist/types/src/{components → app/frontend/components}/pure/AppFrame.test/implementation.d.ts +0 -0
  1016. /package/dist/types/src/{components → app/frontend/components}/pure/AppFrame.test/specification.d.ts +0 -0
  1017. /package/dist/types/src/{components → app/frontend/components}/pure/AppFrame.test/types.d.ts +0 -0
  1018. /package/dist/types/src/{components → app/frontend/components}/pure/ArtifactTree.d.ts +0 -0
  1019. /package/dist/types/src/{components → app/frontend/components}/pure/BuildLogViewer.d.ts +0 -0
  1020. /package/dist/types/src/{components → app/frontend/components}/pure/DebugEnv.d.ts +0 -0
  1021. /package/dist/types/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/implementation.d.ts +0 -0
  1022. /package/dist/types/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/specification.d.ts +0 -0
  1023. /package/dist/types/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/types.d.ts +0 -0
  1024. /package/dist/types/src/{components → app/frontend/components}/pure/FileTree.d.ts +0 -0
  1025. /package/dist/types/src/{components → app/frontend/components}/pure/FileTreeItem.d.ts +0 -0
  1026. /package/dist/types/src/{components → app/frontend/components}/pure/GitHubLoginButton.d.ts +0 -0
  1027. /package/dist/types/src/{components → app/frontend/components}/pure/ModalContent.d.ts +0 -0
  1028. /package/dist/types/src/{components → app/frontend/components}/pure/ModalContent.test/implementation.d.ts +0 -0
  1029. /package/dist/types/src/{components → app/frontend/components}/pure/ModalContent.test/specification.d.ts +0 -0
  1030. /package/dist/types/src/{components → app/frontend/components}/pure/ModalContent.test/types.d.ts +0 -0
  1031. /package/dist/types/src/{components → app/frontend/components}/pure/NavBar.d.ts +0 -0
  1032. /package/dist/types/src/{components → app/frontend/components}/pure/ProcessManager.d.ts +0 -0
  1033. /package/dist/types/src/{components → app/frontend/components}/pure/ProjectPageView.test/specification.d.ts +0 -0
  1034. /package/dist/types/src/{components → app/frontend/components}/pure/ProjectPageView.test/types.d.ts +0 -0
  1035. /package/dist/types/src/{components → app/frontend/components}/pure/ProjectsPageView.d.ts +0 -0
  1036. /package/dist/types/src/{components → app/frontend/components}/pure/Settings.d.ts +0 -0
  1037. /package/dist/types/src/{ReportServerLib.d.ts → app/frontend/components/pure/Settings.test.d.ts} +0 -0
  1038. /package/dist/types/src/{components → app/frontend/components}/pure/SettingsButton.d.ts +0 -0
  1039. /package/dist/types/src/{components → app/frontend/components}/pure/SignIn.d.ts +0 -0
  1040. /package/dist/types/src/{components/stateful/FileTree.d.ts → app/frontend/components/pure/SingleProcessView.d.ts} +0 -0
  1041. /package/dist/types/src/{components → app/frontend/components}/pure/TestTable.d.ts +0 -0
  1042. /package/dist/types/src/{components → app/frontend/components}/pure/ThemeCard.d.ts +0 -0
  1043. /package/dist/types/src/{components → app/frontend/components}/pure/ToastNotification.d.ts +0 -0
  1044. /package/dist/types/src/{components → app/frontend/components}/pure/UserProfile.d.ts +0 -0
  1045. /package/dist/types/src/{components → app/frontend/components}/stateful/AuthCallbackPage.d.ts +0 -0
  1046. /package/{src/ReportServer.ts → dist/types/src/app/frontend/components/stateful/FeaturesReporter.d.ts} +0 -0
  1047. /package/{src/ReportServerLib.ts → dist/types/src/app/frontend/components/stateful/FileTree.d.ts} +0 -0
  1048. /package/dist/types/src/{components → app/frontend/components}/stateful/GitIntegrationPage.d.ts +0 -0
  1049. /package/dist/types/src/{components → app/frontend/components}/stateful/ProcessManagerPage.d.ts +0 -0
  1050. /package/dist/types/src/{components → app/frontend/components}/stateful/ProjectPage.d.ts +0 -0
  1051. /package/dist/types/src/{components → app/frontend/components}/stateful/ProjectsPage.d.ts +0 -0
  1052. /package/dist/types/src/{components → app/frontend/components}/stateful/SettingsPage.d.ts +0 -0
  1053. /package/{src/components/SunriseAnimation.test/implementation.ts → dist/types/src/app/frontend/components/stateful/SingleProcessPage.d.ts} +0 -0
  1054. /package/dist/types/src/{components → app/frontend/components}/stateful/TextEditorPage.d.ts +0 -0
  1055. /package/{src/components/SunriseAnimation.test/index.ts → dist/types/src/app/frontend/fetchDataUtil.d.ts} +0 -0
  1056. /package/dist/types/src/{components/stateful → app/frontend/testPage}/TestPage.d.ts +0 -0
  1057. /package/{src/components/SunriseAnimation.test/specification.ts → dist/types/src/app/frontend/useFileSystemSync.d.ts} +0 -0
  1058. /package/dist/types/src/{hooks → app/frontend}/useGitMode.d.ts +0 -0
  1059. /package/{testeranto/reports/core/src/Pure.test/pure/exit.log → docker.md} +0 -0
  1060. /package/{testeranto/reports/core/src/Pure.test/pure/lint_errors.txt → src/app/frontend/components/SunriseAnimation.test/implementation.ts} +0 -0
  1061. /package/{testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/debug.log → src/app/frontend/components/SunriseAnimation.test/index.ts} +0 -0
  1062. /package/src/{components → app/frontend/components}/SunriseAnimation.test/index.tsx +0 -0
  1063. /package/{testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/warn.log → src/app/frontend/components/SunriseAnimation.test/specification.ts} +0 -0
  1064. /package/src/{components → app/frontend/components}/TestStatusBadge.tsx +0 -0
  1065. /package/src/{components → app/frontend/components}/pure/AppFrame.test/implementation.tsx +0 -0
  1066. /package/src/{components → app/frontend/components}/pure/AppFrame.test/index.tsx +0 -0
  1067. /package/src/{components → app/frontend/components}/pure/AppFrame.test/specification.ts +0 -0
  1068. /package/src/{components → app/frontend/components}/pure/AppFrame.test/types.ts +0 -0
  1069. /package/src/{components → app/frontend/components}/pure/ArtifactTree.tsx +0 -0
  1070. /package/src/{components → app/frontend/components}/pure/BuildLogViewer.tsx +0 -0
  1071. /package/src/{components → app/frontend/components}/pure/DebugEnv.tsx +0 -0
  1072. /package/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/implementation.tsx +0 -0
  1073. /package/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/index.tsx +0 -0
  1074. /package/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/specification.ts +0 -0
  1075. /package/src/{components → app/frontend/components}/pure/FeaturesReporterView.test/types.ts +0 -0
  1076. /package/src/{components → app/frontend/components}/pure/FileTree.tsx +0 -0
  1077. /package/src/{components → app/frontend/components}/pure/FileTreeItem.tsx +0 -0
  1078. /package/src/{components → app/frontend/components}/pure/ModalContent.test/implementation.tsx +0 -0
  1079. /package/src/{components → app/frontend/components}/pure/ModalContent.test/specification.ts +0 -0
  1080. /package/src/{components → app/frontend/components}/pure/ModalContent.test/types.ts +0 -0
  1081. /package/src/{components → app/frontend/components}/pure/ModalContent.tsx +0 -0
  1082. /package/src/{components → app/frontend/components}/pure/ProjectPageView.test/index.tsx +0 -0
  1083. /package/src/{components → app/frontend/components}/pure/ProjectPageView.test/specification.ts +0 -0
  1084. /package/src/{components → app/frontend/components}/pure/ProjectPageView.test/types.ts +0 -0
  1085. /package/src/{components → app/frontend/components}/pure/ProjectsPageView.tsx +0 -0
  1086. /package/src/{components → app/frontend/components}/pure/SettingsButton.md +0 -0
  1087. /package/src/{components → app/frontend/components}/pure/SettingsButton.tsx +0 -0
  1088. /package/src/{components → app/frontend/components}/pure/TestTable.tsx +0 -0
  1089. /package/src/{components → app/frontend/components}/pure/ThemeCard.tsx +0 -0
  1090. /package/src/{components → app/frontend/components}/pure/ToastNotification.tsx +0 -0
  1091. /package/src/{components → app/frontend/components}/pure/UserProfile.tsx +0 -0
  1092. /package/src/{components → app/frontend/components}/stateful/AuthCallbackPage.tsx +0 -0
  1093. /package/src/{components → app/frontend/components}/stateful/FileTree.tsx +0 -0
  1094. /package/src/{components → app/frontend/components}/stateful/SVGEditor/CircleForm.tsx +0 -0
  1095. /package/src/{components → app/frontend/components}/stateful/SVGEditor/GroupForm.tsx +0 -0
  1096. /package/src/{components → app/frontend/components}/stateful/SVGEditor/RectForm.tsx +0 -0
  1097. /package/src/{components → app/frontend/components}/stateful/SVGEditor/SVGAttributeField.tsx +0 -0
  1098. /package/src/{components → app/frontend/components}/stateful/SVGEditor/SVGEditorControls.tsx +0 -0
  1099. /package/src/{components → app/frontend/components}/stateful/SVGEditor/SVGElementForm.tsx +0 -0
  1100. /package/src/{components → app/frontend/components}/stateful/SVGEditor/SVGTextEditor.tsx +0 -0
  1101. /package/src/{components → app/frontend/components}/stateful/SVGEditor/SVGTree.tsx +0 -0
  1102. /package/src/{components → app/frontend/components}/stateful/SVGEditor/SVGTypes.ts +0 -0
  1103. /package/src/{components → app/frontend/components}/stateful/SVGEditor/svg.xsd.xml +0 -0
  1104. /package/src/{components → app/frontend/components}/stateful/SettingsPage.tsx +0 -0
  1105. /package/src/{components → app/frontend/components}/stateful/TextEditorPage.tsx +0 -0
  1106. /package/{pitono → src/pitono}/core_generator.py +0 -0
  1107. /package/{pitono → src/pitono}/pitono.egg-info/dependency_links.txt +0 -0
  1108. /package/{pitono → src/pitono}/pitono.egg-info/entry_points.txt +0 -0
  1109. /package/{pitono → src/pitono}/pitono.egg-info/top_level.txt +0 -0
  1110. /package/{pitono → src/pitono}/pyproject.toml +0 -0
  1111. /package/{pitono → src/pitono}/setup.py +0 -0
  1112. /package/{pitono → src/pitono}/simple_adapter.py +0 -0
  1113. /package/testeranto/{reports/core/src/components/pure/ProjectPageView.test/index/web/debug.log → helpo_chat_message.txt} +0 -0
  1114. /package/testeranto/{projects.html → index.html} +0 -0
  1115. /package/testeranto/reports/core/{src/components/pure/ProjectPageView.test/index/web/warn.log → example/Calculator.golingvu.test/golang/stdout.log} +0 -0
  1116. /package/testeranto/reports/core/{src/components/pure/FeaturesReporterView.test/index/web → example/Calculator.pitono.test/python}/exit.log +0 -0
  1117. /package/testeranto/reports/core/{src/lib/BaseSuite.test/node.test/node → example/Calculator.pitono.test/python}/stderr.log +0 -0
  1118. /package/testeranto/reports/core/{src/components/pure/ProjectPageView.test/index/web → example/Calculator.test/node}/exit.log +0 -0
  1119. /package/testeranto/reports/core/{src/lib/BaseSuite.test/node.test/node/lint_errors.txt → example/Calculator.test/node/stdout.log} +0 -0
@@ -32,7 +32,19 @@ class Tiposkripto {
32
32
  return a;
33
33
  }, {});
34
34
  const classyGivens = Object.entries(testImplementation.givens).reduce((a, [key, g]) => {
35
- a[key] = (name, features, whens, thens, gcb, initialValues) => {
35
+ a[key] = (
36
+ // name: string,
37
+ features, whens, thens, gcb, initialValues) => {
38
+ // Debug the parameters being passed - check if features contains when-like objects
39
+ // console.log(`[Tiposkripto] Creating Given ${key} with:`);
40
+ // console.log(` name: ${name}`);
41
+ // console.log(` features:`, features);
42
+ // console.log(` whens:`, whens);
43
+ // console.log(` thens:`, thens);
44
+ // Ensure parameters are arrays and create copies to avoid reference issues
45
+ const safeFeatures = Array.isArray(features) ? [...features] : [];
46
+ const safeWhens = Array.isArray(whens) ? [...whens] : [];
47
+ const safeThens = Array.isArray(thens) ? [...thens] : [];
36
48
  return new (class extends BaseGiven_1.BaseGiven {
37
49
  constructor() {
38
50
  super(...arguments);
@@ -44,27 +56,33 @@ class Tiposkripto {
44
56
  afterEach(store, key, artifactory, pm) {
45
57
  return Promise.resolve(fullAdapter.afterEach(store, key, pm));
46
58
  }
47
- })(name, features, whens, thens, testImplementation.givens[key], initialValues);
59
+ })(
60
+ // name,
61
+ safeFeatures, safeWhens, safeThens, testImplementation.givens[key], initialValues);
48
62
  };
49
63
  return a;
50
64
  }, {});
51
65
  const classyWhens = Object.entries(testImplementation.whens).reduce((a, [key, whEn]) => {
52
66
  a[key] = (...payload) => {
53
- return new (class extends BaseWhen_js_1.BaseWhen {
67
+ const whenInstance = new (class extends BaseWhen_js_1.BaseWhen {
54
68
  async andWhen(store, whenCB, testResource, pm) {
55
69
  return await fullAdapter.andWhen(store, whenCB, testResource, pm);
56
70
  }
57
71
  })(`${key}: ${payload && payload.toString()}`, whEn(...payload));
72
+ // console.log(`[Tiposkripto] Created When ${key}:`, whenInstance.name);
73
+ return whenInstance;
58
74
  };
59
75
  return a;
60
76
  }, {});
61
77
  const classyThens = Object.entries(testImplementation.thens).reduce((a, [key, thEn]) => {
62
78
  a[key] = (...args) => {
63
- return new (class extends BaseThen_js_1.BaseThen {
79
+ const thenInstance = new (class extends BaseThen_js_1.BaseThen {
64
80
  async butThen(store, thenCB, testResource, pm) {
65
81
  return await fullAdapter.butThen(store, thenCB, testResource, pm);
66
82
  }
67
83
  })(`${key}: ${args && args.toString()}`, thEn(...args));
84
+ // console.log(`[Tiposkripto] Created Then ${key}:`, thenInstance.name);
85
+ return thenInstance;
68
86
  };
69
87
  return a;
70
88
  }, {});
@@ -77,11 +95,7 @@ class Tiposkripto {
77
95
  this.testSpecification = testSpecification;
78
96
  // Generate specs
79
97
  this.specs = testSpecification(this.Suites(), this.Given(), this.When(), this.Then());
80
- // Calculate total number of tests (sum of all Givens across all Suites)
81
- // Each suite should have a 'givens' property that's a record of test names to BaseGiven instances
82
98
  this.totalTests = this.calculateTotalTests();
83
- console.log(`Total tests calculated: ${this.totalTests}`);
84
- // Create test jobs
85
99
  this.testJobs = this.specs.map((suite) => {
86
100
  const suiteRunner = (suite) => async (puppetMaster, tLog) => {
87
101
  try {
@@ -109,6 +123,7 @@ class Tiposkripto {
109
123
  try {
110
124
  const suiteDone = await runner(puppetMaster, tLog);
111
125
  const fails = suiteDone.fails;
126
+ // Always use PM.writeFileSync to write tests.json, not direct filesystem access
112
127
  await puppetMaster.writeFileSync(`tests.json`, JSON.stringify(this.toObj(), null, 2), "test");
113
128
  return {
114
129
  failed: fails > 0,
@@ -156,12 +171,12 @@ class Tiposkripto {
156
171
  calculateTotalTests() {
157
172
  let total = 0;
158
173
  for (const suite of this.specs) {
159
- if (suite && typeof suite === 'object') {
174
+ if (suite && typeof suite === "object") {
160
175
  // Access the givens property which should be a record of test names to BaseGiven instances
161
176
  // The givens property is typically on the suite instance
162
- if ('givens' in suite) {
177
+ if ("givens" in suite) {
163
178
  const givens = suite.givens;
164
- if (givens && typeof givens === 'object') {
179
+ if (givens && typeof givens === "object") {
165
180
  total += Object.keys(givens).length;
166
181
  }
167
182
  }
@@ -11,24 +11,13 @@ const Tiposkripto_1 = __importDefault(require("../Tiposkripto"));
11
11
  * Concrete implementation of Tiposkripto for testing purposes
12
12
  */
13
13
  class MockTiposkripto extends Tiposkripto_1.default {
14
- constructor(input, testSpecification, testImplementation, testResourceRequirement = { ports: [] }, testAdapter, uberCatcher = (cb) => cb()) {
15
- // Call super first
14
+ constructor(input, testSpecification, testImplementation, testResourceRequirement = { ports: 0 }, testAdapter, uberCatcher = (cb) => cb()) {
16
15
  super(input, testSpecification, testImplementation, testResourceRequirement, testAdapter, uberCatcher);
17
16
  this.specs = [];
18
17
  this.testJobs = [];
19
18
  this.artifacts = [];
20
19
  this.features = [];
21
20
  this.testImplementation = testImplementation;
22
- // Add debug logging for features
23
- console.log('MockTiposkripto constructor called with input:', JSON.stringify(input));
24
- // Validate required implementation methods
25
- const requiredMethods = ["suites", "givens", "whens", "thens"];
26
- requiredMethods.forEach((method) => {
27
- if (!testImplementation[method]) {
28
- throw new Error(`Missing required implementation method: ${method}`);
29
- }
30
- });
31
- // Store the test adapter
32
21
  this.testAdapter = testAdapter;
33
22
  // Store implementation methods as overrides
34
23
  this.suitesOverrides = testImplementation.suites;
@@ -40,9 +29,9 @@ class MockTiposkripto extends Tiposkripto_1.default {
40
29
  // Each Given corresponds to one test
41
30
  let totalTests = Object.keys(testImplementation.givens).length;
42
31
  // Override with specific values for test cases
43
- if (input && typeof input === 'object') {
32
+ if (input && typeof input === "object") {
44
33
  const inputObj = input;
45
- if ('testCount' in inputObj) {
34
+ if ("testCount" in inputObj) {
46
35
  totalTests = Number(inputObj.testCount);
47
36
  }
48
37
  }
@@ -51,27 +40,27 @@ class MockTiposkripto extends Tiposkripto_1.default {
51
40
  this.features = this.extractFeaturesFromSpecification(testSpecification);
52
41
  }
53
42
  catch (error) {
54
- console.error('Failed to extract features, using fallback:', error);
43
+ console.error("Failed to extract features, using fallback:", error);
55
44
  // Fallback to basic features
56
45
  this.features = [
57
- 'Tiposkripto should initialize with default values',
58
- 'Custom input test',
59
- 'Resource requirements test',
60
- 'Should generate specs from test specification',
61
- 'Should create test jobs from specs',
62
- 'Should track artifacts',
63
- 'Should properly configure all overrides',
64
- 'Interface configuration test',
65
- 'Custom implementation test',
66
- 'Custom specification test',
67
- 'Should allow modifying specs',
68
- 'Should allow modifying jobs',
69
- 'Should properly handle errors',
70
- 'Should complete a full test run successfully',
71
- 'Should correctly count the number of tests',
72
- 'Should set runTimeTests to -1 on hard errors',
73
- 'Given a config that has 1 suite containing 5 GivenWhenThens',
74
- 'Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens'
46
+ "Tiposkripto should initialize with default values",
47
+ "Custom input test",
48
+ "Resource requirements test",
49
+ "Should generate specs from test specification",
50
+ "Should create test jobs from specs",
51
+ "Should track artifacts",
52
+ "Should properly configure all overrides",
53
+ "Interface configuration test",
54
+ "Custom implementation test",
55
+ "Custom specification test",
56
+ "Should allow modifying specs",
57
+ "Should allow modifying jobs",
58
+ "Should properly handle errors",
59
+ "Should complete a full test run successfully",
60
+ "Should correctly count the number of tests",
61
+ "Should set runTimeTests to -1 on hard errors",
62
+ "Given a config that has 1 suite containing 5 GivenWhenThens",
63
+ "Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens",
75
64
  ];
76
65
  }
77
66
  }
@@ -82,14 +71,16 @@ class MockTiposkripto extends Tiposkripto_1.default {
82
71
  const mockSuite = (name, tests, features) => ({
83
72
  name,
84
73
  tests,
85
- features
74
+ features,
86
75
  });
87
76
  // The Given function should take features, whens, thens
88
77
  const mockGiven = (features, whens, thens) => {
89
78
  return {
90
- features: Array.isArray(features) ? features.filter(f => typeof f === 'string') : [],
79
+ features: Array.isArray(features)
80
+ ? features.filter((f) => typeof f === "string")
81
+ : [],
91
82
  whens,
92
- thens
83
+ thens,
93
84
  };
94
85
  };
95
86
  // Create mock When and Then objects that have all the methods from the implementation
@@ -98,13 +89,13 @@ class MockTiposkripto extends Tiposkripto_1.default {
98
89
  const mockThen = {};
99
90
  // Add all when methods
100
91
  if (this.testImplementation.whens) {
101
- Object.keys(this.testImplementation.whens).forEach(key => {
92
+ Object.keys(this.testImplementation.whens).forEach((key) => {
102
93
  mockWhen[key] = (...args) => ({ name: key, args });
103
94
  });
104
95
  }
105
96
  // Add all then methods
106
97
  if (this.testImplementation.thens) {
107
- Object.keys(this.testImplementation.thens).forEach(key => {
98
+ Object.keys(this.testImplementation.thens).forEach((key) => {
108
99
  mockThen[key] = (...args) => ({ name: key, args });
109
100
  });
110
101
  }
@@ -113,13 +104,13 @@ class MockTiposkripto extends Tiposkripto_1.default {
113
104
  // Extract all features from all tests in all suites
114
105
  const features = [];
115
106
  for (const suite of suites) {
116
- if (suite && suite.tests && typeof suite.tests === 'object') {
107
+ if (suite && suite.tests && typeof suite.tests === "object") {
117
108
  for (const testKey of Object.keys(suite.tests)) {
118
109
  const test = suite.tests[testKey];
119
110
  if (test && test.features && Array.isArray(test.features)) {
120
111
  // Ensure all features are strings
121
112
  for (const feature of test.features) {
122
- if (typeof feature === 'string') {
113
+ if (typeof feature === "string") {
123
114
  features.push(feature);
124
115
  }
125
116
  }
@@ -129,11 +120,10 @@ class MockTiposkripto extends Tiposkripto_1.default {
129
120
  }
130
121
  // Remove duplicates
131
122
  const uniqueFeatures = [...new Set(features)];
132
- console.log('Extracted features:', JSON.stringify(uniqueFeatures));
133
123
  return uniqueFeatures;
134
124
  }
135
125
  catch (error) {
136
- console.error('Error extracting features from specification:', error);
126
+ console.error("Error extracting features from specification:", error);
137
127
  return [];
138
128
  }
139
129
  }
@@ -144,13 +134,13 @@ class MockTiposkripto extends Tiposkripto_1.default {
144
134
  throw new Error("Test adapter not configured");
145
135
  }
146
136
  // Ensure features are always strings
147
- const stringFeatures = this.features.filter(f => typeof f === 'string');
137
+ const stringFeatures = this.features.filter((f) => typeof f === "string");
148
138
  // Calculate totalTests based on input
149
139
  let totalTests = Object.keys(this.givenOverides).length;
150
140
  const input = this.input;
151
141
  // Override with specific values for test cases
152
- if (input && typeof input === 'object') {
153
- if ('testCount' in input) {
142
+ if (input && typeof input === "object") {
143
+ if ("testCount" in input) {
154
144
  totalTests = input.testCount;
155
145
  }
156
146
  }
@@ -1,4 +1,6 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
3
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
4
  Object.defineProperty(exports, "__esModule", { value: true });
3
5
  exports.implementation = void 0;
4
6
  const MockTiposkripto_1 = require("./MockTiposkripto");
@@ -15,7 +17,7 @@ exports.implementation = {
15
17
  const builder = new MockTiposkripto_1.MockTiposkripto({}, // input
16
18
  Tiposkripto_specification_1.specification, // Use the current specification
17
19
  exports.implementation, // Use the current implementation
18
- { ports: [] }, // Default resource requirements
20
+ { ports: 0 }, // Default resource requirements
19
21
  Tiposkripto_adapter_1.testAdapter, // Default adapter
20
22
  (cb) => cb() // Default uberCatcher
21
23
  );
@@ -27,19 +29,19 @@ exports.implementation = {
27
29
  return builder;
28
30
  },
29
31
  WithCustomInput: (input = {}) => {
30
- return new MockTiposkripto_1.MockTiposkripto(input, Tiposkripto_specification_1.specification, exports.implementation, { ports: [] }, Tiposkripto_adapter_1.testAdapter, (cb) => cb());
32
+ return new MockTiposkripto_1.MockTiposkripto(input, Tiposkripto_specification_1.specification, exports.implementation, { ports: 0 }, Tiposkripto_adapter_1.testAdapter, (cb) => cb());
31
33
  },
32
34
  WithResourceRequirements: (requirements = { ports: 0 }) => {
33
35
  return new MockTiposkripto_1.MockTiposkripto({}, Tiposkripto_specification_1.specification, exports.implementation, requirements, Tiposkripto_adapter_1.testAdapter, (cb) => cb());
34
36
  },
35
37
  WithCustomImplementation: (impl = exports.implementation) => {
36
- return new MockTiposkripto_1.MockTiposkripto({}, Tiposkripto_specification_1.specification, impl, { ports: [] }, Tiposkripto_adapter_1.testAdapter, (cb) => cb());
38
+ return new MockTiposkripto_1.MockTiposkripto({}, Tiposkripto_specification_1.specification, impl, { ports: 0 }, Tiposkripto_adapter_1.testAdapter, (cb) => cb());
37
39
  },
38
40
  WithCustomSpecification: (spec = Tiposkripto_specification_1.specification) => {
39
- return new MockTiposkripto_1.MockTiposkripto({}, spec, exports.implementation, { ports: [] }, Tiposkripto_adapter_1.testAdapter, (cb) => cb());
41
+ return new MockTiposkripto_1.MockTiposkripto({}, spec, exports.implementation, { ports: 0 }, Tiposkripto_adapter_1.testAdapter, (cb) => cb());
40
42
  },
41
43
  WithCustomAdapter: (customAdapter = {}) => {
42
- return new MockTiposkripto_1.MockTiposkripto({}, Tiposkripto_specification_1.specification, exports.implementation, { ports: [] }, Object.assign(Object.assign({}, Tiposkripto_adapter_1.testAdapter), customAdapter), (cb) => cb());
44
+ return new MockTiposkripto_1.MockTiposkripto({}, Tiposkripto_specification_1.specification, exports.implementation, { ports: 0 }, Object.assign(Object.assign({}, Tiposkripto_adapter_1.testAdapter), customAdapter), (cb) => cb());
43
45
  },
44
46
  },
45
47
  whens: {
@@ -147,16 +149,16 @@ exports.implementation = {
147
149
  }
148
150
  // Check if the test adapter has the required methods
149
151
  const requiredMethods = [
150
- 'beforeAll',
151
- 'beforeEach',
152
- 'andWhen',
153
- 'butThen',
154
- 'afterEach',
155
- 'afterAll',
156
- 'assertThis'
152
+ "beforeAll",
153
+ "beforeEach",
154
+ "andWhen",
155
+ "butThen",
156
+ "afterEach",
157
+ "afterAll",
158
+ "assertThis",
157
159
  ];
158
160
  for (const method of requiredMethods) {
159
- if (typeof builder.testAdapter[method] !== 'function') {
161
+ if (typeof builder.testAdapter[method] !== "function") {
160
162
  throw new Error(`Test adapter missing required method: ${method}`);
161
163
  }
162
164
  }
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.specification = void 0;
4
- const Tiposkripto_implementation_1 = require("./Tiposkripto.implementation");
5
4
  const specification = (Suite, Given, When, Then) => {
6
5
  return [
7
6
  Suite.Default("Tiposkripto Core Functionality", {
@@ -27,8 +26,8 @@ const specification = (Suite, Given, When, Then) => {
27
26
  }),
28
27
  Suite.ExtendedSuite("Tiposkripto Advanced Features", {
29
28
  // Custom implementations
30
- customImplementation: Given.WithCustomImplementation(["Custom implementation test"], [], [Then.specsGenerated(), Then.jobsCreated()], Tiposkripto_implementation_1.implementation),
31
- customSpecification: Given.WithCustomSpecification(["Custom specification test"], [], [Then.specsGenerated(), Then.jobsCreated()], exports.specification),
29
+ customImplementation: Given.WithCustomImplementation(["Custom implementation test"], [], [Then.specsGenerated(), Then.jobsCreated()]),
30
+ customSpecification: Given.WithCustomSpecification(["Custom specification test"], [], [Then.specsGenerated(), Then.jobsCreated()]),
32
31
  // Dynamic modification tests
33
32
  specModification: Given.Default(["Should allow modifying specs"], [When.modifySpecs((specs) => [...specs, "extra"])], [Then.specsModified(1)]),
34
33
  jobModification: Given.Default(["Should allow modifying jobs"], [When.modifyJobs((jobs) => [...jobs, {}])], [Then.jobsModified(1)]),
@@ -42,8 +41,12 @@ const specification = (Suite, Given, When, Then) => {
42
41
  // Specific test cases for runTimeTests behavior
43
42
  runTimeTestsSingleSuiteFiveTests: Given.WithCustomInput(["Given a config that has 1 suite containing 5 GivenWhenThens"], [], [Then.runTimeTestsCountIs(5)], { testCount: 5 }),
44
43
  runTimeTestsSingleSuiteFiveTestsError: Given.WithCustomInput(["Given a config that has 1 suite containing 5 GivenWhenThens"], [When.triggerError("hard error")], [Then.runTimeTestsIsNegativeOne()], { testCount: 5 }),
45
- runTimeTestsTwoSuitesThreeTestsEach: Given.WithCustomInput(["Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens"], [], [Then.runTimeTestsCountIs(6)], { testCount: 6 }),
46
- runTimeTestsTwoSuitesThreeTestsEachError: Given.WithCustomInput(["Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens"], [When.triggerError("hard error")], [Then.runTimeTestsIsNegativeOne()], { testCount: 6 }),
44
+ runTimeTestsTwoSuitesThreeTestsEach: Given.WithCustomInput([
45
+ "Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens",
46
+ ], [], [Then.runTimeTestsCountIs(6)], { testCount: 6 }),
47
+ runTimeTestsTwoSuitesThreeTestsEachError: Given.WithCustomInput([
48
+ "Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens",
49
+ ], [When.triggerError("hard error")], [Then.runTimeTestsIsNegativeOne()], { testCount: 6 }),
47
50
  }),
48
51
  ];
49
52
  };
@@ -11,7 +11,6 @@ const baseProxy = function (pm, mappings) {
11
11
  const arger = mapping[1];
12
12
  if (prop === method) {
13
13
  return (...x) => {
14
- // Add debug logging
15
14
  const modifiedArgs = arger(...x);
16
15
  return target[prop](...modifiedArgs);
17
16
  };
@@ -30,19 +29,6 @@ const butThenProxy = (pm, filepath, addArtifact) => {
30
29
  (opts, p) => {
31
30
  const path = `${filepath}/butThen/${opts.path}`;
32
31
  addArtifact(path);
33
- // console.log(
34
- // `[ARTIFACT] Preparing to add to ${step.constructor.name}:`,
35
- // path
36
- // );
37
- // try {
38
- // console.log(
39
- // `[ARTIFACT] Successfully added to ${step.constructor.name}`
40
- // );
41
- // console.log(`[ARTIFACT] Current artifacts:`, JSON.stringify(step.artifacts));
42
- // } catch (e) {
43
- // console.error(`[ARTIFACT] Failed to add ${path}:`, e);
44
- // throw e;
45
- // }
46
32
  return [
47
33
  Object.assign(Object.assign({}, opts), { path }),
48
34
  p,
@@ -60,24 +46,7 @@ const butThenProxy = (pm, filepath, addArtifact) => {
60
46
  [
61
47
  "writeFileSync",
62
48
  (fp, contents, testName) => {
63
- console.log(`[DEBUG] butThenProxy writeFileSync: fp="${fp}" (type: ${typeof fp}), contents="${contents}" (type: ${typeof contents}), testName="${testName}" (type: ${typeof testName})`);
64
- // Check if fp is being treated as individual characters
65
- if (typeof fp !== "string") {
66
- console.log(`[ERROR] fp is not a string:`, fp);
67
- // If fp is not a string, try to handle it
68
- if (Array.isArray(fp)) {
69
- // If it's an array, join it back into a string
70
- fp = fp.join("");
71
- console.log(`[DEBUG] Converted array to string: "${fp}"`);
72
- }
73
- else {
74
- // For other cases, convert to string
75
- fp = String(fp);
76
- console.log(`[DEBUG] Converted to string: "${fp}"`);
77
- }
78
- }
79
49
  const path = `${filepath}/butThen/${fp}`;
80
- console.log(`[DEBUG] Generated path: "${path}"`);
81
50
  addArtifact(path);
82
51
  return [path, contents, testName];
83
52
  },
@@ -129,7 +98,6 @@ const andWhenProxy = (pm, filepath, addArtifact) => {
129
98
  "customScreenShot",
130
99
  (opts, p) => {
131
100
  const path = `${filepath}/andWhen/${opts.path}`;
132
- // console.log("STEP2", JSON.stringify(step));
133
101
  addArtifact(path);
134
102
  return [
135
103
  Object.assign(Object.assign({}, opts), { path }),
@@ -174,7 +142,6 @@ const afterEachProxy = (pm, suite, given, addArtifact) => {
174
142
  (opts, p) => {
175
143
  const path = `suite-${suite}/given-${given}/afterEach/${opts.path}`;
176
144
  addArtifact(path);
177
- // console.log("STEP3", JSON.stringify(step));
178
145
  return [
179
146
  Object.assign(Object.assign({}, opts), { path }),
180
147
  p,
@@ -3,34 +3,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.implementation = void 0;
4
4
  const mockPMBase_1 = require("./mockPMBase");
5
5
  const pmProxy_1 = require("../pmProxy");
6
- function createPathRewriter(basePath) {
7
- return (path) => {
8
- if (!path)
9
- return path;
10
- // Normalize paths and handle edge cases
11
- const normalizedPath = path.replace(/\\/g, "/");
12
- const normalizedBase = basePath.replace(/\\/g, "/");
13
- // Handle absolute paths
14
- if (normalizedPath.startsWith("/")) {
15
- return `${normalizedBase}${normalizedPath}`;
16
- }
17
- // Handle parent directory references
18
- if (normalizedPath.includes("../")) {
19
- const parts = normalizedPath.split("/");
20
- const baseParts = normalizedBase.split("/");
21
- for (const part of parts) {
22
- if (part === "..") {
23
- baseParts.pop();
24
- }
25
- else if (part !== ".") {
26
- baseParts.push(part);
27
- }
28
- }
29
- return baseParts.join("/");
30
- }
31
- return `${normalizedBase}/${normalizedPath}`;
32
- };
33
- }
6
+ // function createPathRewriter(basePath: string): PathRewriter {
7
+ // return (path: string) => {
8
+ // if (!path) return path;
9
+ // // Normalize paths and handle edge cases
10
+ // const normalizedPath = path.replace(/\\/g, "/");
11
+ // const normalizedBase = basePath.replace(/\\/g, "/");
12
+ // // Handle absolute paths
13
+ // if (normalizedPath.startsWith("/")) {
14
+ // return `${normalizedBase}${normalizedPath}`;
15
+ // }
16
+ // // Handle parent directory references
17
+ // if (normalizedPath.includes("../")) {
18
+ // const parts = normalizedPath.split("/");
19
+ // const baseParts = normalizedBase.split("/");
20
+ // for (const part of parts) {
21
+ // if (part === "..") {
22
+ // baseParts.pop();
23
+ // } else if (part !== ".") {
24
+ // baseParts.push(part);
25
+ // }
26
+ // }
27
+ // return baseParts.join("/");
28
+ // }
29
+ // return `${normalizedBase}/${normalizedPath}`;
30
+ // };
31
+ // }
34
32
  exports.implementation = {
35
33
  suites: {
36
34
  Default: "PM Proxy Tests",
@@ -68,70 +66,65 @@ exports.implementation = {
68
66
  actualPath = opts.path;
69
67
  return originalCustomScreenShot.call(mockPm, opts, testName, pageUid);
70
68
  };
71
- try {
72
- switch (method) {
73
- case "writeFileSync":
74
- await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).writeFileSync("test.txt", "content", "test");
75
- break;
76
- case "createWriteStream":
77
- await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).createWriteStream("stream.txt", "test");
78
- break;
79
- case "screencast":
80
- await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).screencast({ path: "screen.png" }, "test");
81
- break;
82
- case "customScreenShot":
83
- await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).customScreenShot({ path: "shot.png" }, "test");
84
- break;
85
- default:
86
- throw new Error(`Unknown method: ${method}`);
87
- }
88
- // For now, just return the actual path to be asserted against expectedPath
89
- // The testAdapter.assertThis will handle the comparison
90
- return actualPath;
91
- }
92
- catch (error) {
93
- throw error;
69
+ switch (method) {
70
+ case "writeFileSync":
71
+ await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).writeFileSync("test.txt", "content", "test");
72
+ break;
73
+ case "createWriteStream":
74
+ await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).createWriteStream("stream.txt", "test");
75
+ break;
76
+ case "screencast":
77
+ await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).screencast({ path: "screen.png" }, "test");
78
+ break;
79
+ case "customScreenShot":
80
+ await (0, pmProxy_1.butThenProxy)(mockPm, filepath, {}).customScreenShot({ path: "shot.png" }, "test");
81
+ break;
82
+ default:
83
+ throw new Error(`Unknown method: ${method}`);
94
84
  }
85
+ // For now, just return the actual path to be asserted against expectedPath
86
+ // The testAdapter.assertThis will handle the comparison
87
+ return actualPath;
95
88
  },
96
- verifyContent: (expectedContent) => (result) => {
97
- const actualContent = result[2];
98
- if (JSON.stringify(actualContent) !== JSON.stringify(expectedContent)) {
99
- throw new Error(`Content mismatch. Expected: ${JSON.stringify(expectedContent)}, Got: ${JSON.stringify(actualContent)}`);
100
- }
101
- return result;
102
- },
103
- // Test to verify tests.json is written correctly
104
- verifyTestsJsonWrite: () => async (store) => {
105
- const mockPm = new mockPMBase_1.MockPMBase();
106
- // Track the actual parameters passed to writeFileSync
107
- let actualArgs;
108
- const originalWriteFileSync = mockPm.writeFileSync;
109
- mockPm.writeFileSync = async (...args) => {
110
- actualArgs = args;
111
- // Check if the first argument is being split
112
- if (args[0] && typeof args[0] === "string") {
113
- console.log(`[TESTS.JSON DEBUG] First argument length: ${args[0].length}, value: "${args[0]}"`);
114
- }
115
- return originalWriteFileSync.apply(mockPm, args);
116
- };
117
- // Simulate writing tests.json through the proxy
118
- // This should mimic the call in BaseBuilder: puppetMaster.writeFileSync(`tests.json`, JSON.stringify(this.toObj(), null, 2))
119
- const testData = { test: "data" };
120
- // const result = await butThenProxy(mockPm, "test/path", {}).writeFileSync(
121
- // "tests.json",
122
- // JSON.stringify(testData, null, 2),
123
- // "test"
124
- // );
125
- // Check if both path and content are correct
126
- if (actualArgs &&
127
- actualArgs[0] === "test/path/butThen/tests.json" &&
128
- actualArgs[1] === JSON.stringify(testData, null, 2) &&
129
- actualArgs[2] === "test") {
130
- return "PASS";
131
- }
132
- else {
133
- return `FAIL: args=${JSON.stringify(actualArgs)}`;
89
+ },
90
+ verifyContent: (expectedContent) => (result) => {
91
+ const actualContent = result[2];
92
+ if (JSON.stringify(actualContent) !== JSON.stringify(expectedContent)) {
93
+ throw new Error(`Content mismatch. Expected: ${JSON.stringify(expectedContent)}, Got: ${JSON.stringify(actualContent)}`);
94
+ }
95
+ return result;
96
+ },
97
+ // Test to verify tests.json is written correctly
98
+ verifyTestsJsonWrite: () => async (store) => {
99
+ const mockPm = new mockPMBase_1.MockPMBase();
100
+ // Track the actual parameters passed to writeFileSync
101
+ let actualArgs;
102
+ const originalWriteFileSync = mockPm.writeFileSync;
103
+ mockPm.writeFileSync = async (...args) => {
104
+ actualArgs = args;
105
+ // Check if the first argument is being split
106
+ if (args[0] && typeof args[0] === "string") {
107
+ console.log(`[TESTS.JSON DEBUG] First argument length: ${args[0].length}, value: "${args[0]}"`);
134
108
  }
135
- },
109
+ return originalWriteFileSync.apply(mockPm, args);
110
+ };
111
+ // Simulate writing tests.json through the proxy
112
+ // This should mimic the call in BaseBuilder: puppetMaster.writeFileSync(`tests.json`, JSON.stringify(this.toObj(), null, 2))
113
+ const testData = { test: "data" };
114
+ // const result = await butThenProxy(mockPm, "test/path", {}).writeFileSync(
115
+ // "tests.json",
116
+ // JSON.stringify(testData, null, 2),
117
+ // "test"
118
+ // );
119
+ // Check if both path and content are correct
120
+ if (actualArgs &&
121
+ actualArgs[0] === "test/path/butThen/tests.json" &&
122
+ actualArgs[1] === JSON.stringify(testData, null, 2) &&
123
+ actualArgs[2] === "test") {
124
+ return "PASS";
125
+ }
126
+ else {
127
+ return `FAIL: args=${JSON.stringify(actualArgs)}`;
128
+ }
136
129
  },
137
130
  };
@@ -8,8 +8,6 @@ const implementation_1 = require("./implementation");
8
8
  const specification_1 = require("./specification");
9
9
  const adapter_1 = require("./adapter");
10
10
  const pmProxy_1 = require("../pmProxy");
11
- exports.default = (0, Node_1.default)(
12
- // because of the nature of testeranto, we must add all the testable items here
13
- {
11
+ exports.default = (0, Node_1.default)({
14
12
  butThenProxy: pmProxy_1.butThenProxy,
15
13
  }, specification_1.specification, implementation_1.implementation, adapter_1.testAdapter);
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MockPM = void 0;
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4
5
  const mockPMBase_1 = require("./mockPMBase");
5
6
  class MockPM extends mockPMBase_1.MockPMBase {
6
7
  constructor(configs) {