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
@@ -5,24 +5,13 @@ import Tiposkripto from "../Tiposkripto";
5
5
  * Concrete implementation of Tiposkripto for testing purposes
6
6
  */
7
7
  export class MockTiposkripto extends Tiposkripto {
8
- constructor(input, testSpecification, testImplementation, testResourceRequirement = { ports: [] }, testAdapter, uberCatcher = (cb) => cb()) {
9
- // Call super first
8
+ constructor(input, testSpecification, testImplementation, testResourceRequirement = { ports: 0 }, testAdapter, uberCatcher = (cb) => cb()) {
10
9
  super(input, testSpecification, testImplementation, testResourceRequirement, testAdapter, uberCatcher);
11
10
  this.specs = [];
12
11
  this.testJobs = [];
13
12
  this.artifacts = [];
14
13
  this.features = [];
15
14
  this.testImplementation = testImplementation;
16
- // Add debug logging for features
17
- console.log('MockTiposkripto constructor called with input:', JSON.stringify(input));
18
- // Validate required implementation methods
19
- const requiredMethods = ["suites", "givens", "whens", "thens"];
20
- requiredMethods.forEach((method) => {
21
- if (!testImplementation[method]) {
22
- throw new Error(`Missing required implementation method: ${method}`);
23
- }
24
- });
25
- // Store the test adapter
26
15
  this.testAdapter = testAdapter;
27
16
  // Store implementation methods as overrides
28
17
  this.suitesOverrides = testImplementation.suites;
@@ -34,9 +23,9 @@ export class MockTiposkripto extends Tiposkripto {
34
23
  // Each Given corresponds to one test
35
24
  let totalTests = Object.keys(testImplementation.givens).length;
36
25
  // Override with specific values for test cases
37
- if (input && typeof input === 'object') {
26
+ if (input && typeof input === "object") {
38
27
  const inputObj = input;
39
- if ('testCount' in inputObj) {
28
+ if ("testCount" in inputObj) {
40
29
  totalTests = Number(inputObj.testCount);
41
30
  }
42
31
  }
@@ -45,27 +34,27 @@ export class MockTiposkripto extends Tiposkripto {
45
34
  this.features = this.extractFeaturesFromSpecification(testSpecification);
46
35
  }
47
36
  catch (error) {
48
- console.error('Failed to extract features, using fallback:', error);
37
+ console.error("Failed to extract features, using fallback:", error);
49
38
  // Fallback to basic features
50
39
  this.features = [
51
- 'Tiposkripto should initialize with default values',
52
- 'Custom input test',
53
- 'Resource requirements test',
54
- 'Should generate specs from test specification',
55
- 'Should create test jobs from specs',
56
- 'Should track artifacts',
57
- 'Should properly configure all overrides',
58
- 'Interface configuration test',
59
- 'Custom implementation test',
60
- 'Custom specification test',
61
- 'Should allow modifying specs',
62
- 'Should allow modifying jobs',
63
- 'Should properly handle errors',
64
- 'Should complete a full test run successfully',
65
- 'Should correctly count the number of tests',
66
- 'Should set runTimeTests to -1 on hard errors',
67
- 'Given a config that has 1 suite containing 5 GivenWhenThens',
68
- 'Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens'
40
+ "Tiposkripto should initialize with default values",
41
+ "Custom input test",
42
+ "Resource requirements test",
43
+ "Should generate specs from test specification",
44
+ "Should create test jobs from specs",
45
+ "Should track artifacts",
46
+ "Should properly configure all overrides",
47
+ "Interface configuration test",
48
+ "Custom implementation test",
49
+ "Custom specification test",
50
+ "Should allow modifying specs",
51
+ "Should allow modifying jobs",
52
+ "Should properly handle errors",
53
+ "Should complete a full test run successfully",
54
+ "Should correctly count the number of tests",
55
+ "Should set runTimeTests to -1 on hard errors",
56
+ "Given a config that has 1 suite containing 5 GivenWhenThens",
57
+ "Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens",
69
58
  ];
70
59
  }
71
60
  }
@@ -76,14 +65,16 @@ export class MockTiposkripto extends Tiposkripto {
76
65
  const mockSuite = (name, tests, features) => ({
77
66
  name,
78
67
  tests,
79
- features
68
+ features,
80
69
  });
81
70
  // The Given function should take features, whens, thens
82
71
  const mockGiven = (features, whens, thens) => {
83
72
  return {
84
- features: Array.isArray(features) ? features.filter(f => typeof f === 'string') : [],
73
+ features: Array.isArray(features)
74
+ ? features.filter((f) => typeof f === "string")
75
+ : [],
85
76
  whens,
86
- thens
77
+ thens,
87
78
  };
88
79
  };
89
80
  // Create mock When and Then objects that have all the methods from the implementation
@@ -92,13 +83,13 @@ export class MockTiposkripto extends Tiposkripto {
92
83
  const mockThen = {};
93
84
  // Add all when methods
94
85
  if (this.testImplementation.whens) {
95
- Object.keys(this.testImplementation.whens).forEach(key => {
86
+ Object.keys(this.testImplementation.whens).forEach((key) => {
96
87
  mockWhen[key] = (...args) => ({ name: key, args });
97
88
  });
98
89
  }
99
90
  // Add all then methods
100
91
  if (this.testImplementation.thens) {
101
- Object.keys(this.testImplementation.thens).forEach(key => {
92
+ Object.keys(this.testImplementation.thens).forEach((key) => {
102
93
  mockThen[key] = (...args) => ({ name: key, args });
103
94
  });
104
95
  }
@@ -107,13 +98,13 @@ export class MockTiposkripto extends Tiposkripto {
107
98
  // Extract all features from all tests in all suites
108
99
  const features = [];
109
100
  for (const suite of suites) {
110
- if (suite && suite.tests && typeof suite.tests === 'object') {
101
+ if (suite && suite.tests && typeof suite.tests === "object") {
111
102
  for (const testKey of Object.keys(suite.tests)) {
112
103
  const test = suite.tests[testKey];
113
104
  if (test && test.features && Array.isArray(test.features)) {
114
105
  // Ensure all features are strings
115
106
  for (const feature of test.features) {
116
- if (typeof feature === 'string') {
107
+ if (typeof feature === "string") {
117
108
  features.push(feature);
118
109
  }
119
110
  }
@@ -123,11 +114,10 @@ export class MockTiposkripto extends Tiposkripto {
123
114
  }
124
115
  // Remove duplicates
125
116
  const uniqueFeatures = [...new Set(features)];
126
- console.log('Extracted features:', JSON.stringify(uniqueFeatures));
127
117
  return uniqueFeatures;
128
118
  }
129
119
  catch (error) {
130
- console.error('Error extracting features from specification:', error);
120
+ console.error("Error extracting features from specification:", error);
131
121
  return [];
132
122
  }
133
123
  }
@@ -138,13 +128,13 @@ export class MockTiposkripto extends Tiposkripto {
138
128
  throw new Error("Test adapter not configured");
139
129
  }
140
130
  // Ensure features are always strings
141
- const stringFeatures = this.features.filter(f => typeof f === 'string');
131
+ const stringFeatures = this.features.filter((f) => typeof f === "string");
142
132
  // Calculate totalTests based on input
143
133
  let totalTests = Object.keys(this.givenOverides).length;
144
134
  const input = this.input;
145
135
  // Override with specific values for test cases
146
- if (input && typeof input === 'object') {
147
- if ('testCount' in input) {
136
+ if (input && typeof input === "object") {
137
+ if ("testCount" in input) {
148
138
  totalTests = input.testCount;
149
139
  }
150
140
  }
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ /* eslint-disable @typescript-eslint/no-unused-vars */
1
3
  import { MockTiposkripto } from "./MockTiposkripto";
2
4
  import { specification } from "./Tiposkripto.specification";
3
5
  import { testAdapter } from "./Tiposkripto.adapter";
@@ -12,7 +14,7 @@ export const implementation = {
12
14
  const builder = new MockTiposkripto({}, // input
13
15
  specification, // Use the current specification
14
16
  implementation, // Use the current implementation
15
- { ports: [] }, // Default resource requirements
17
+ { ports: 0 }, // Default resource requirements
16
18
  testAdapter, // Default adapter
17
19
  (cb) => cb() // Default uberCatcher
18
20
  );
@@ -24,19 +26,19 @@ export const implementation = {
24
26
  return builder;
25
27
  },
26
28
  WithCustomInput: (input = {}) => {
27
- return new MockTiposkripto(input, specification, implementation, { ports: [] }, testAdapter, (cb) => cb());
29
+ return new MockTiposkripto(input, specification, implementation, { ports: 0 }, testAdapter, (cb) => cb());
28
30
  },
29
31
  WithResourceRequirements: (requirements = { ports: 0 }) => {
30
32
  return new MockTiposkripto({}, specification, implementation, requirements, testAdapter, (cb) => cb());
31
33
  },
32
34
  WithCustomImplementation: (impl = implementation) => {
33
- return new MockTiposkripto({}, specification, impl, { ports: [] }, testAdapter, (cb) => cb());
35
+ return new MockTiposkripto({}, specification, impl, { ports: 0 }, testAdapter, (cb) => cb());
34
36
  },
35
37
  WithCustomSpecification: (spec = specification) => {
36
- return new MockTiposkripto({}, spec, implementation, { ports: [] }, testAdapter, (cb) => cb());
38
+ return new MockTiposkripto({}, spec, implementation, { ports: 0 }, testAdapter, (cb) => cb());
37
39
  },
38
40
  WithCustomAdapter: (customAdapter = {}) => {
39
- return new MockTiposkripto({}, specification, implementation, { ports: [] }, Object.assign(Object.assign({}, testAdapter), customAdapter), (cb) => cb());
41
+ return new MockTiposkripto({}, specification, implementation, { ports: 0 }, Object.assign(Object.assign({}, testAdapter), customAdapter), (cb) => cb());
40
42
  },
41
43
  },
42
44
  whens: {
@@ -144,16 +146,16 @@ export const implementation = {
144
146
  }
145
147
  // Check if the test adapter has the required methods
146
148
  const requiredMethods = [
147
- 'beforeAll',
148
- 'beforeEach',
149
- 'andWhen',
150
- 'butThen',
151
- 'afterEach',
152
- 'afterAll',
153
- 'assertThis'
149
+ "beforeAll",
150
+ "beforeEach",
151
+ "andWhen",
152
+ "butThen",
153
+ "afterEach",
154
+ "afterAll",
155
+ "assertThis",
154
156
  ];
155
157
  for (const method of requiredMethods) {
156
- if (typeof builder.testAdapter[method] !== 'function') {
158
+ if (typeof builder.testAdapter[method] !== "function") {
157
159
  throw new Error(`Test adapter missing required method: ${method}`);
158
160
  }
159
161
  }
@@ -1,4 +1,3 @@
1
- import { implementation } from "./Tiposkripto.implementation";
2
1
  export const specification = (Suite, Given, When, Then) => {
3
2
  return [
4
3
  Suite.Default("Tiposkripto Core Functionality", {
@@ -24,8 +23,8 @@ export const specification = (Suite, Given, When, Then) => {
24
23
  }),
25
24
  Suite.ExtendedSuite("Tiposkripto Advanced Features", {
26
25
  // Custom implementations
27
- customImplementation: Given.WithCustomImplementation(["Custom implementation test"], [], [Then.specsGenerated(), Then.jobsCreated()], implementation),
28
- customSpecification: Given.WithCustomSpecification(["Custom specification test"], [], [Then.specsGenerated(), Then.jobsCreated()], specification),
26
+ customImplementation: Given.WithCustomImplementation(["Custom implementation test"], [], [Then.specsGenerated(), Then.jobsCreated()]),
27
+ customSpecification: Given.WithCustomSpecification(["Custom specification test"], [], [Then.specsGenerated(), Then.jobsCreated()]),
29
28
  // Dynamic modification tests
30
29
  specModification: Given.Default(["Should allow modifying specs"], [When.modifySpecs((specs) => [...specs, "extra"])], [Then.specsModified(1)]),
31
30
  jobModification: Given.Default(["Should allow modifying jobs"], [When.modifyJobs((jobs) => [...jobs, {}])], [Then.jobsModified(1)]),
@@ -39,8 +38,12 @@ export const specification = (Suite, Given, When, Then) => {
39
38
  // Specific test cases for runTimeTests behavior
40
39
  runTimeTestsSingleSuiteFiveTests: Given.WithCustomInput(["Given a config that has 1 suite containing 5 GivenWhenThens"], [], [Then.runTimeTestsCountIs(5)], { testCount: 5 }),
41
40
  runTimeTestsSingleSuiteFiveTestsError: Given.WithCustomInput(["Given a config that has 1 suite containing 5 GivenWhenThens"], [When.triggerError("hard error")], [Then.runTimeTestsIsNegativeOne()], { testCount: 5 }),
42
- runTimeTestsTwoSuitesThreeTestsEach: Given.WithCustomInput(["Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens"], [], [Then.runTimeTestsCountIs(6)], { testCount: 6 }),
43
- 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 }),
41
+ runTimeTestsTwoSuitesThreeTestsEach: Given.WithCustomInput([
42
+ "Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens",
43
+ ], [], [Then.runTimeTestsCountIs(6)], { testCount: 6 }),
44
+ runTimeTestsTwoSuitesThreeTestsEachError: Given.WithCustomInput([
45
+ "Given a config that has 1 suite containing 3 GivenWhenThens and 1 suite containing 3 GivenWhenThens",
46
+ ], [When.triggerError("hard error")], [Then.runTimeTestsIsNegativeOne()], { testCount: 6 }),
44
47
  }),
45
48
  ];
46
49
  };
@@ -8,7 +8,6 @@ const baseProxy = function (pm, mappings) {
8
8
  const arger = mapping[1];
9
9
  if (prop === method) {
10
10
  return (...x) => {
11
- // Add debug logging
12
11
  const modifiedArgs = arger(...x);
13
12
  return target[prop](...modifiedArgs);
14
13
  };
@@ -27,19 +26,6 @@ export const butThenProxy = (pm, filepath, addArtifact) => {
27
26
  (opts, p) => {
28
27
  const path = `${filepath}/butThen/${opts.path}`;
29
28
  addArtifact(path);
30
- // console.log(
31
- // `[ARTIFACT] Preparing to add to ${step.constructor.name}:`,
32
- // path
33
- // );
34
- // try {
35
- // console.log(
36
- // `[ARTIFACT] Successfully added to ${step.constructor.name}`
37
- // );
38
- // console.log(`[ARTIFACT] Current artifacts:`, JSON.stringify(step.artifacts));
39
- // } catch (e) {
40
- // console.error(`[ARTIFACT] Failed to add ${path}:`, e);
41
- // throw e;
42
- // }
43
29
  return [
44
30
  Object.assign(Object.assign({}, opts), { path }),
45
31
  p,
@@ -57,24 +43,7 @@ export const butThenProxy = (pm, filepath, addArtifact) => {
57
43
  [
58
44
  "writeFileSync",
59
45
  (fp, contents, testName) => {
60
- console.log(`[DEBUG] butThenProxy writeFileSync: fp="${fp}" (type: ${typeof fp}), contents="${contents}" (type: ${typeof contents}), testName="${testName}" (type: ${typeof testName})`);
61
- // Check if fp is being treated as individual characters
62
- if (typeof fp !== "string") {
63
- console.log(`[ERROR] fp is not a string:`, fp);
64
- // If fp is not a string, try to handle it
65
- if (Array.isArray(fp)) {
66
- // If it's an array, join it back into a string
67
- fp = fp.join("");
68
- console.log(`[DEBUG] Converted array to string: "${fp}"`);
69
- }
70
- else {
71
- // For other cases, convert to string
72
- fp = String(fp);
73
- console.log(`[DEBUG] Converted to string: "${fp}"`);
74
- }
75
- }
76
46
  const path = `${filepath}/butThen/${fp}`;
77
- console.log(`[DEBUG] Generated path: "${path}"`);
78
47
  addArtifact(path);
79
48
  return [path, contents, testName];
80
49
  },
@@ -125,7 +94,6 @@ export const andWhenProxy = (pm, filepath, addArtifact) => {
125
94
  "customScreenShot",
126
95
  (opts, p) => {
127
96
  const path = `${filepath}/andWhen/${opts.path}`;
128
- // console.log("STEP2", JSON.stringify(step));
129
97
  addArtifact(path);
130
98
  return [
131
99
  Object.assign(Object.assign({}, opts), { path }),
@@ -169,7 +137,6 @@ export const afterEachProxy = (pm, suite, given, addArtifact) => {
169
137
  (opts, p) => {
170
138
  const path = `suite-${suite}/given-${given}/afterEach/${opts.path}`;
171
139
  addArtifact(path);
172
- // console.log("STEP3", JSON.stringify(step));
173
140
  return [
174
141
  Object.assign(Object.assign({}, opts), { path }),
175
142
  p,
@@ -1,33 +1,31 @@
1
1
  import { MockPMBase } from "./mockPMBase";
2
2
  import { butThenProxy } from "../pmProxy";
3
- function createPathRewriter(basePath) {
4
- return (path) => {
5
- if (!path)
6
- return path;
7
- // Normalize paths and handle edge cases
8
- const normalizedPath = path.replace(/\\/g, "/");
9
- const normalizedBase = basePath.replace(/\\/g, "/");
10
- // Handle absolute paths
11
- if (normalizedPath.startsWith("/")) {
12
- return `${normalizedBase}${normalizedPath}`;
13
- }
14
- // Handle parent directory references
15
- if (normalizedPath.includes("../")) {
16
- const parts = normalizedPath.split("/");
17
- const baseParts = normalizedBase.split("/");
18
- for (const part of parts) {
19
- if (part === "..") {
20
- baseParts.pop();
21
- }
22
- else if (part !== ".") {
23
- baseParts.push(part);
24
- }
25
- }
26
- return baseParts.join("/");
27
- }
28
- return `${normalizedBase}/${normalizedPath}`;
29
- };
30
- }
3
+ // function createPathRewriter(basePath: string): PathRewriter {
4
+ // return (path: string) => {
5
+ // if (!path) return path;
6
+ // // Normalize paths and handle edge cases
7
+ // const normalizedPath = path.replace(/\\/g, "/");
8
+ // const normalizedBase = basePath.replace(/\\/g, "/");
9
+ // // Handle absolute paths
10
+ // if (normalizedPath.startsWith("/")) {
11
+ // return `${normalizedBase}${normalizedPath}`;
12
+ // }
13
+ // // Handle parent directory references
14
+ // if (normalizedPath.includes("../")) {
15
+ // const parts = normalizedPath.split("/");
16
+ // const baseParts = normalizedBase.split("/");
17
+ // for (const part of parts) {
18
+ // if (part === "..") {
19
+ // baseParts.pop();
20
+ // } else if (part !== ".") {
21
+ // baseParts.push(part);
22
+ // }
23
+ // }
24
+ // return baseParts.join("/");
25
+ // }
26
+ // return `${normalizedBase}/${normalizedPath}`;
27
+ // };
28
+ // }
31
29
  export const implementation = {
32
30
  suites: {
33
31
  Default: "PM Proxy Tests",
@@ -65,70 +63,65 @@ export const implementation = {
65
63
  actualPath = opts.path;
66
64
  return originalCustomScreenShot.call(mockPm, opts, testName, pageUid);
67
65
  };
68
- try {
69
- switch (method) {
70
- case "writeFileSync":
71
- await butThenProxy(mockPm, filepath, {}).writeFileSync("test.txt", "content", "test");
72
- break;
73
- case "createWriteStream":
74
- await butThenProxy(mockPm, filepath, {}).createWriteStream("stream.txt", "test");
75
- break;
76
- case "screencast":
77
- await butThenProxy(mockPm, filepath, {}).screencast({ path: "screen.png" }, "test");
78
- break;
79
- case "customScreenShot":
80
- await butThenProxy(mockPm, filepath, {}).customScreenShot({ path: "shot.png" }, "test");
81
- break;
82
- default:
83
- throw new Error(`Unknown method: ${method}`);
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;
88
- }
89
- catch (error) {
90
- throw error;
66
+ switch (method) {
67
+ case "writeFileSync":
68
+ await butThenProxy(mockPm, filepath, {}).writeFileSync("test.txt", "content", "test");
69
+ break;
70
+ case "createWriteStream":
71
+ await butThenProxy(mockPm, filepath, {}).createWriteStream("stream.txt", "test");
72
+ break;
73
+ case "screencast":
74
+ await butThenProxy(mockPm, filepath, {}).screencast({ path: "screen.png" }, "test");
75
+ break;
76
+ case "customScreenShot":
77
+ await butThenProxy(mockPm, filepath, {}).customScreenShot({ path: "shot.png" }, "test");
78
+ break;
79
+ default:
80
+ throw new Error(`Unknown method: ${method}`);
91
81
  }
82
+ // For now, just return the actual path to be asserted against expectedPath
83
+ // The testAdapter.assertThis will handle the comparison
84
+ return actualPath;
92
85
  },
93
- verifyContent: (expectedContent) => (result) => {
94
- const actualContent = result[2];
95
- if (JSON.stringify(actualContent) !== JSON.stringify(expectedContent)) {
96
- throw new Error(`Content mismatch. Expected: ${JSON.stringify(expectedContent)}, Got: ${JSON.stringify(actualContent)}`);
97
- }
98
- return result;
99
- },
100
- // Test to verify tests.json is written correctly
101
- verifyTestsJsonWrite: () => async (store) => {
102
- const mockPm = new MockPMBase();
103
- // Track the actual parameters passed to writeFileSync
104
- let actualArgs;
105
- const originalWriteFileSync = mockPm.writeFileSync;
106
- mockPm.writeFileSync = async (...args) => {
107
- actualArgs = args;
108
- // Check if the first argument is being split
109
- if (args[0] && typeof args[0] === "string") {
110
- console.log(`[TESTS.JSON DEBUG] First argument length: ${args[0].length}, value: "${args[0]}"`);
111
- }
112
- return originalWriteFileSync.apply(mockPm, args);
113
- };
114
- // Simulate writing tests.json through the proxy
115
- // This should mimic the call in BaseBuilder: puppetMaster.writeFileSync(`tests.json`, JSON.stringify(this.toObj(), null, 2))
116
- const testData = { test: "data" };
117
- // const result = await butThenProxy(mockPm, "test/path", {}).writeFileSync(
118
- // "tests.json",
119
- // JSON.stringify(testData, null, 2),
120
- // "test"
121
- // );
122
- // Check if both path and content are correct
123
- if (actualArgs &&
124
- actualArgs[0] === "test/path/butThen/tests.json" &&
125
- actualArgs[1] === JSON.stringify(testData, null, 2) &&
126
- actualArgs[2] === "test") {
127
- return "PASS";
128
- }
129
- else {
130
- return `FAIL: args=${JSON.stringify(actualArgs)}`;
86
+ },
87
+ verifyContent: (expectedContent) => (result) => {
88
+ const actualContent = result[2];
89
+ if (JSON.stringify(actualContent) !== JSON.stringify(expectedContent)) {
90
+ throw new Error(`Content mismatch. Expected: ${JSON.stringify(expectedContent)}, Got: ${JSON.stringify(actualContent)}`);
91
+ }
92
+ return result;
93
+ },
94
+ // Test to verify tests.json is written correctly
95
+ verifyTestsJsonWrite: () => async (store) => {
96
+ const mockPm = new MockPMBase();
97
+ // Track the actual parameters passed to writeFileSync
98
+ let actualArgs;
99
+ const originalWriteFileSync = mockPm.writeFileSync;
100
+ mockPm.writeFileSync = async (...args) => {
101
+ actualArgs = args;
102
+ // Check if the first argument is being split
103
+ if (args[0] && typeof args[0] === "string") {
104
+ console.log(`[TESTS.JSON DEBUG] First argument length: ${args[0].length}, value: "${args[0]}"`);
131
105
  }
132
- },
106
+ return originalWriteFileSync.apply(mockPm, args);
107
+ };
108
+ // Simulate writing tests.json through the proxy
109
+ // This should mimic the call in BaseBuilder: puppetMaster.writeFileSync(`tests.json`, JSON.stringify(this.toObj(), null, 2))
110
+ const testData = { test: "data" };
111
+ // const result = await butThenProxy(mockPm, "test/path", {}).writeFileSync(
112
+ // "tests.json",
113
+ // JSON.stringify(testData, null, 2),
114
+ // "test"
115
+ // );
116
+ // Check if both path and content are correct
117
+ if (actualArgs &&
118
+ actualArgs[0] === "test/path/butThen/tests.json" &&
119
+ actualArgs[1] === JSON.stringify(testData, null, 2) &&
120
+ actualArgs[2] === "test") {
121
+ return "PASS";
122
+ }
123
+ else {
124
+ return `FAIL: args=${JSON.stringify(actualArgs)}`;
125
+ }
133
126
  },
134
127
  };
@@ -3,8 +3,6 @@ import { implementation } from "./implementation";
3
3
  import { specification } from "./specification";
4
4
  import { testAdapter } from "./adapter";
5
5
  import { butThenProxy } from "../pmProxy";
6
- export default Testeranto(
7
- // because of the nature of testeranto, we must add all the testable items here
8
- {
6
+ export default Testeranto({
9
7
  butThenProxy,
10
8
  }, specification, implementation, testAdapter);
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1
2
  import { MockPMBase } from "./mockPMBase";
2
3
  export class MockPM extends MockPMBase {
3
4
  constructor(configs) {
@@ -1,4 +1,3 @@
1
- console.log("wtf");
2
1
  export const specification = (Suite, Given, When, Then) => [
3
2
  Suite.Default("PM Proxy Functionality", {
4
3
  // Basic path rewriting tests