testeranto 0.199.0 → 0.200.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 (157) hide show
  1. package/bin/test_runner +0 -0
  2. package/bin/testeranto +0 -0
  3. package/bundle.js +2 -2
  4. package/cmd/test_runner/main.go +65 -0
  5. package/cmd/testeranto/main.go +37 -0
  6. package/dist/common/src/PM/main.js +126 -11
  7. package/dist/common/src/PM/pitonoRunner.js +54 -0
  8. package/dist/common/src/components/pure/TestPageView.js +180 -65
  9. package/dist/common/src/components/stateful/TestPage.js +50 -11
  10. package/dist/common/src/lib/abstractBase.test/index.js +1 -0
  11. package/dist/common/src/run.js +48 -82
  12. package/dist/common/src/{build.js → testeranto.js} +107 -55
  13. package/dist/common/src/utils/golingvuMetafile.js +116 -0
  14. package/dist/common/src/utils/logFiles.js +2 -1
  15. package/dist/common/src/utils/pitonoMetafile.js +67 -0
  16. package/dist/common/src/utils.js +40 -1
  17. package/dist/common/testeranto.config.js +23 -21
  18. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  19. package/dist/module/src/PM/main.js +126 -11
  20. package/dist/module/src/PM/pitonoRunner.js +47 -0
  21. package/dist/module/src/components/pure/TestPageView.js +180 -65
  22. package/dist/module/src/components/stateful/TestPage.js +50 -11
  23. package/dist/module/src/lib/abstractBase.test/index.js +1 -0
  24. package/dist/module/src/run.js +49 -45
  25. package/dist/module/src/{build.js → testeranto.js} +107 -55
  26. package/dist/module/src/utils/golingvuMetafile.js +109 -0
  27. package/dist/module/src/utils/logFiles.js +2 -1
  28. package/dist/module/src/utils/pitonoMetafile.js +60 -0
  29. package/dist/module/src/utils.js +40 -1
  30. package/dist/module/testeranto.config.js +23 -21
  31. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  32. package/dist/prebuild/App.js +81 -17
  33. package/dist/types/src/PM/main.d.ts +2 -0
  34. package/dist/types/src/PM/pitonoRunner.d.ts +7 -0
  35. package/dist/types/src/Types.d.ts +1 -1
  36. package/dist/types/src/run.d.ts +0 -1
  37. package/dist/types/src/utils/golingvuMetafile.d.ts +19 -0
  38. package/dist/types/src/utils/logFiles.d.ts +5 -1
  39. package/dist/types/src/utils/pitonoMetafile.d.ts +7 -0
  40. package/dist/types/src/utils.d.ts +5 -0
  41. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  42. package/docs/index.md +13 -13
  43. package/example/test_example.py +106 -0
  44. package/go.mod +3 -0
  45. package/package.json +2 -2
  46. package/pitono/__init__.py +54 -0
  47. package/pitono/base_given.py +131 -0
  48. package/pitono/base_suite.py +95 -0
  49. package/pitono/base_then.py +50 -0
  50. package/pitono/base_when.py +52 -0
  51. package/pitono/core_generator.py +110 -0
  52. package/pitono/pitono.egg-info/PKG-INFO +17 -0
  53. package/pitono/pitono.egg-info/SOURCES.txt +7 -0
  54. package/pitono/pitono.egg-info/dependency_links.txt +1 -0
  55. package/pitono/pitono.egg-info/entry_points.txt +2 -0
  56. package/pitono/pitono.egg-info/top_level.txt +1 -0
  57. package/pitono/pyproject.toml +26 -0
  58. package/pitono/setup.py +40 -0
  59. package/pitono/simple_adapter.py +24 -0
  60. package/pitono/types.py +78 -0
  61. package/sampleMetafile.json +56 -0
  62. package/src/PM/main.ts +146 -17
  63. package/src/PM/pitonoRunner.ts +49 -0
  64. package/src/Types.ts +1 -1
  65. package/src/components/pure/TestPageView.tsx +175 -8
  66. package/src/components/stateful/TestPage.tsx +57 -16
  67. package/src/core/types.go +36 -0
  68. package/src/golingvu/README.md +3 -0
  69. package/src/golingvu/base_given.go +76 -0
  70. package/src/golingvu/base_suite.go +39 -0
  71. package/src/golingvu/base_suite_test.go +197 -0
  72. package/src/golingvu/base_then.go +21 -0
  73. package/src/golingvu/base_when.go +21 -0
  74. package/src/golingvu/golingvu.go +179 -0
  75. package/src/golingvu/test_adapter.go +33 -0
  76. package/src/golingvu/types.go +86 -0
  77. package/src/lib/abstractBase.test/index.ts +1 -0
  78. package/src/pitono/README.md +3 -0
  79. package/src/run.ts +48 -48
  80. package/src/templates/frontpage.html +26 -17
  81. package/src/{build.ts → testeranto.ts} +128 -58
  82. package/src/utils/golingvuMetafile.ts +165 -0
  83. package/src/utils/logFiles.ts +2 -1
  84. package/src/utils/pitonoMetafile.ts +68 -0
  85. package/src/utils.ts +38 -1
  86. package/testeranto/App.js +81 -17
  87. package/testeranto/metafiles/golang/core.json +72 -0
  88. package/testeranto/metafiles/node/core.json +21 -459
  89. package/testeranto/metafiles/pure/core.json +18 -119
  90. package/testeranto/metafiles/web/core.json +37 -16797
  91. package/testeranto/reports/core/config.json +8 -40
  92. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/lint_errors.txt +6 -0
  93. package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/prompt.txt +12 -1
  94. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/lint_errors.txt +2 -0
  95. package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/prompt.txt +11 -1
  96. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/lint_errors.txt +2 -0
  97. package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/prompt.txt +13 -3
  98. package/testeranto/reports/core/summary.json +9 -45
  99. package/testeranto.config.ts +25 -21
  100. package/tsc.log +46 -7
  101. package/dist/common/src/lib/mocks.test.js +0 -11
  102. package/dist/module/src/lib/mocks.test.js +0 -11
  103. package/dist/prebuild/build.mjs +0 -578
  104. package/dist/prebuild/run.mjs +0 -2290
  105. package/dist/tsconfig.tsbuildinfo +0 -1
  106. package/dist/types/src/lib/mocks.test.d.ts +0 -0
  107. package/src/lib/mocks.test.ts +0 -11
  108. package/testeranto/reports/core/src/Pure.test/pure/exit.log +0 -0
  109. package/testeranto/reports/core/src/Pure.test/pure/lint_errors.txt +0 -0
  110. package/testeranto/reports/core/src/Pure.test/pure/message.txt +0 -17
  111. package/testeranto/reports/core/src/Pure.test/pure/prompt.txt +0 -14
  112. package/testeranto/reports/core/src/Pure.test/pure/type_errors.txt +0 -66
  113. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/debug.log +0 -0
  114. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/error.log +0 -67
  115. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/exit.log +0 -1
  116. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/info.log +0 -2
  117. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/lint_errors.txt +0 -0
  118. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/message.txt +0 -17
  119. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/prompt.txt +0 -16
  120. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/tests.json +0 -68
  121. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/type_errors.txt +0 -56
  122. package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/warn.log +0 -0
  123. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/debug.log +0 -0
  124. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/error.log +0 -22
  125. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/exit.log +0 -1
  126. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/info.log +0 -2
  127. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +0 -13
  128. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/message.txt +0 -17
  129. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/prompt.txt +0 -16
  130. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/tests.json +0 -88
  131. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +0 -45
  132. package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/warn.log +0 -0
  133. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/debug.log +0 -0
  134. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/error.log +0 -0
  135. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/exit.log +0 -1
  136. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/info.log +0 -2
  137. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/lint_errors.txt +0 -47
  138. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/message.txt +0 -17
  139. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/prompt.txt +0 -17
  140. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/tests.json +0 -57
  141. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/type_errors.txt +0 -99
  142. package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/warn.log +0 -0
  143. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/exit.log +0 -1
  144. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/lint_errors.txt +0 -0
  145. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/message.txt +0 -17
  146. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/prompt.txt +0 -17
  147. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/stderr.log +0 -18
  148. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/stdout.log +0 -0
  149. package/testeranto/reports/core/src/lib/TipoSkripto.test/TipoSkripto/node/type_errors.txt +0 -32
  150. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/exit.log +0 -1
  151. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/lint_errors.txt +0 -15
  152. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/message.txt +0 -17
  153. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/prompt.txt +0 -17
  154. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/stderr.log +0 -66
  155. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/stdout.log +0 -10
  156. package/testeranto/reports/core/src/lib/pmProxy.test/index/node/type_errors.txt +0 -47
  157. /package/dist/types/src/{build.d.ts → testeranto.d.ts} +0 -0
File without changes
@@ -1,11 +0,0 @@
1
- // import { Ibdd_in_any, Ibdd_out_any, ITestSpecification } from "../CoreTypes";
2
- // import { BaseSuite } from "./BaseSuite";
3
-
4
- // export const mockTestSpecification = (): ITestSpecification<
5
- // Ibdd_in_any,
6
- // Ibdd_out_any
7
- // > => {
8
- // return () => {
9
- // return new BaseSuite();
10
- // };
11
- // };
@@ -1,17 +0,0 @@
1
-
2
- There are 3 types of test reports.
3
- 1) bdd (highest priority)
4
- 2) type checker
5
- 3) static analysis (lowest priority)
6
-
7
- "tests.json" is the detailed result of the bdd tests.
8
- if these files do not exist, then something has gone badly wrong and needs to be addressed.
9
-
10
- "type_errors.txt" is the result of the type checker.
11
- if this file does not exist, then type check passed without errors;
12
-
13
- "lint_errors.txt" is the result of the static analysis.
14
- if this file does not exist, then static analysis passed without errors;
15
-
16
- BDD failures are the highest priority. Focus on passing BDD tests before addressing other concerns.
17
- Do not add error throwing/catching to the tests themselves.
@@ -1,14 +0,0 @@
1
-
2
- /add src/lib/pmProxy.test/mockPMBase.ts
3
- /add src/Pure.test.ts
4
-
5
- /read node_modules/testeranto/docs/index.md
6
- /read node_modules/testeranto/docs/style.md
7
- /read node_modules/testeranto/docs/testing.ai.txt
8
- /read node_modules/testeranto/src/CoreTypes.ts
9
-
10
- /read testeranto/reports/core/src/Pure.test/pure/tests.json
11
- /read testeranto/reports/core/src/Pure.test/pure/type_errors.txt
12
- /read testeranto/reports/core/src/Pure.test/pure/lint_errors.txt
13
-
14
- /read testeranto/reports/core/src/Pure.test/pure/tests.json testeranto/reports/core/src/Pure.test/pure/type_errors.txt testeranto/reports/core/src/Pure.test/pure/lint_errors.txt testeranto/reports/core/src/Pure.test/pure/exit.log testeranto/reports/core/src/Pure.test/pure/message.txt testeranto/reports/core/src/Pure.test/pure/prompt.txt
@@ -1,66 +0,0 @@
1
- /Users/adam/Code/testeranto/src/lib/BaseThen.ts (76,41): A spread argument must either have a tuple type or be passed to a rest parameter.
2
- /Users/adam/Code/testeranto/src/lib/index.ts (42,12): This expression is not callable.
3
- Type 'unknown' has no call signatures.
4
- /Users/adam/Code/testeranto/src/lib/index.ts (50,12): This expression is not callable.
5
- Type 'unknown' has no call signatures.
6
- /Users/adam/Code/testeranto/src/lib/Tiposkripto.ts (205,7): Argument of type 'Record<string, any>' is not assignable to parameter of type 'SuiteSpecification<I, O>'.
7
- /Users/adam/Code/testeranto/src/lib/Tiposkripto.ts (263,15): Expected 1 arguments, but got 3.
8
- /Users/adam/Code/testeranto/src/PM/web.ts (59,12): Property 'mainFrame' does not exist on type 'string | Page'.
9
- Property 'mainFrame' does not exist on type 'string'.
10
- /Users/adam/Code/testeranto/src/Pure.test.ts (58,5): Type '() => { pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; testResourceConfiguration: ITTestResourceConfiguration; client: Socket; server: any; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; };...' is not assignable to type '() => () => { pm: IPM; config: {}; proxies: any; }'.
11
- Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; testResourceConfiguration: ITTestResourceConfiguration; client: Socket; server: any; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; befor...' is not assignable to type '() => { pm: IPM; config: {}; proxies: any; }'.
12
- Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; testResourceConfiguration: ITTestResourceConfiguration; client: Socket; server: any; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; befor...' provides no match for the signature '(): { pm: IPM; config: {}; proxies: any; }'.
13
- /Users/adam/Code/testeranto/src/Pure.test.ts (88,5): Type '(proxyType: string) => (store: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<{ pm: IPM; } | { largePayload: boolean; pm: IPM; }>' is not assignable to type '(Iw_0: string) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>'.
14
- Call signature return types '(store: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<{ pm: IPM; } | { largePayload: boolean; pm: IPM; }>' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>' are incompatible.
15
- Type 'Promise<{ pm: IPM; } | { largePayload: boolean; pm: IPM; }>' is not assignable to type 'Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>'.
16
- Type '{ pm: IPM; } | { largePayload: boolean; pm: IPM; }' is not assignable to type '(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
17
- Type '{ pm: IPM; }' is not assignable to type '(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
18
- Type '{ pm: IPM; }' provides no match for the signature '(store: { [key: string]: any; pm: IPM; }): { [key: string]: any; pm: IPM; }'.
19
- /Users/adam/Code/testeranto/src/Pure.test.ts (120,5): Type '(artifact: Promise<string>) => (store: { pm: IPM; }) => Promise<{ artifacts: any[]; pm: IPM; }>' is not assignable to type '(Iw_0: Promise<string>) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { ...; }>'.
20
- Call signature return types '(store: { pm: IPM; }) => Promise<{ artifacts: any[]; pm: IPM; }>' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>' are incompatible.
21
- Type 'Promise<{ artifacts: any[]; pm: IPM; }>' is not assignable to type 'Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>'.
22
- Type '{ artifacts: any[]; pm: IPM; }' is not assignable to type '(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
23
- Type '{ artifacts: any[]; pm: IPM; }' provides no match for the signature '(store: { [key: string]: any; pm: IPM; }): { [key: string]: any; pm: IPM; }'.
24
- /Users/adam/Code/testeranto/src/Pure.test.ts (123,31): Property 'artifacts' does not exist on type '{ pm: IPM; }'.
25
- /Users/adam/Code/testeranto/src/Pure.test.ts (126,5): Type '(jobs: any[]) => (store: { pm: IPM; }) => Promise<{ testJobs: any[]; pm: IPM; }>' is not assignable to type '(Iw_0: any[]) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>'.
26
- Call signature return types '(store: { pm: IPM; }) => Promise<{ testJobs: any[]; pm: IPM; }>' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>' are incompatible.
27
- Type 'Promise<{ testJobs: any[]; pm: IPM; }>' is not assignable to type 'Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>'.
28
- Type '{ testJobs: any[]; pm: IPM; }' is not assignable to type '(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
29
- Type '{ testJobs: any[]; pm: IPM; }' provides no match for the signature '(store: { [key: string]: any; pm: IPM; }): { [key: string]: any; pm: IPM; }'.
30
- /Users/adam/Code/testeranto/src/Pure.test.ts (132,5): Type '(modifier: (specs: any) => any[]) => (store: { pm: IPM; }) => Promise<{ specs: any[]; pm: IPM; }>' is not assignable to type '(Iw_0: (specs: any) => any[]) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { ...; }>'.
31
- Call signature return types '(store: { pm: IPM; }) => Promise<{ specs: any[]; pm: IPM; }>' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>' are incompatible.
32
- Type 'Promise<{ specs: any[]; pm: IPM; }>' is not assignable to type 'Promise<(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }>'.
33
- Type '{ specs: any[]; pm: IPM; }' is not assignable to type '(store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
34
- Type '{ specs: any[]; pm: IPM; }' provides no match for the signature '(store: { [key: string]: any; pm: IPM; }): { [key: string]: any; pm: IPM; }'.
35
- /Users/adam/Code/testeranto/src/Pure.test.ts (135,31): Property 'specs' does not exist on type '{ pm: IPM; }'.
36
- /Users/adam/Code/testeranto/src/Pure.test.ts (141,32): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
37
- Target signature provides too few arguments. Expected 3 or more, but got 2.
38
- /Users/adam/Code/testeranto/src/Pure.test.ts (147,27): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
39
- Target signature provides too few arguments. Expected 3 or more, but got 2.
40
- /Users/adam/Code/testeranto/src/Pure.test.ts (150,24): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
41
- Target signature provides too few arguments. Expected 3 or more, but got 2.
42
- /Users/adam/Code/testeranto/src/Pure.test.ts (153,29): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
43
- Target signature provides too few arguments. Expected 3 or more, but got 2.
44
- /Users/adam/Code/testeranto/src/Pure.test.ts (156,30): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
45
- Target signature provides too few arguments. Expected 3 or more, but got 2.
46
- /Users/adam/Code/testeranto/src/Pure.test.ts (159,5): Type '(expectedCount: number) => (store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(It_0: number) => (ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
47
- Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
48
- Target signature provides too few arguments. Expected 3 or more, but got 2.
49
- /Users/adam/Code/testeranto/src/Pure.test.ts (162,5): Type '(expectedPath: string) => (store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(It_0: string) => (ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
50
- Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
51
- Target signature provides too few arguments. Expected 3 or more, but got 2.
52
- /Users/adam/Code/testeranto/src/Pure.test.ts (165,26): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
53
- Target signature provides too few arguments. Expected 3 or more, but got 2.
54
- /Users/adam/Code/testeranto/src/Pure.test.ts (168,5): Type '(expectedError: string) => (store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(It_0: string) => (ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
55
- Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
56
- Target signature provides too few arguments. Expected 3 or more, but got 2.
57
- /Users/adam/Code/testeranto/src/Pure.test.ts (171,33): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
58
- Target signature provides too few arguments. Expected 3 or more, but got 2.
59
- /Users/adam/Code/testeranto/src/Pure.test.ts (174,31): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
60
- Target signature provides too few arguments. Expected 3 or more, but got 2.
61
- /Users/adam/Code/testeranto/src/Pure.test.ts (177,29): Type '(store: any, tr: any, utils: any) => Promise<any>' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { [key: string]: any; pm: IPM; }) => { [key: string]: any; pm: IPM; }'.
62
- Target signature provides too few arguments. Expected 3 or more, but got 2.
63
- /Users/adam/Code/testeranto/src/Pure.test.ts (315,28): Cannot find name 'ITestAdapter'.
64
- /Users/adam/Code/testeranto/src/Pure.ts (33,7): Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
65
- Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, never>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
66
- /Users/adam/Code/testeranto/src/Pure.ts (83,21): Cannot find name 'Testeranto'.
@@ -1,67 +0,0 @@
1
- Failed to load resource: net::ERR_FILE_NOT_FOUND
2
- AssertionError: Should show project names: expected +0 to be at least 1
3
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs?cacheBust=1756077043717:75:14)
4
- at file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:39
5
- at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-L6N2I5MB.mjs:92:14)
6
- at BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:40)
7
- at BaseThen.test (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2718:17)
8
- at BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:24)
9
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
10
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
11
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
12
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
13
- AssertionError: Should show file paths: expected +0 to be at least 1
14
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs?cacheBust=1756077043717:80:14)
15
- at file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:39
16
- at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-L6N2I5MB.mjs:92:14)
17
- at BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:40)
18
- at BaseThen.test (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2718:17)
19
- at BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:24)
20
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
21
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
22
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
23
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
24
- AssertionError: Should show test names: expected +0 to be at least 1
25
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs?cacheBust=1756077043717:85:14)
26
- at file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:39
27
- at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-L6N2I5MB.mjs:92:14)
28
- at BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:40)
29
- at BaseThen.test (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2718:17)
30
- at BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:24)
31
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
32
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
33
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
34
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
35
- AssertionError: Should show status badges: expected +0 to be at least 1
36
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs?cacheBust=1756077043717:90:14)
37
- at file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:39
38
- at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-L6N2I5MB.mjs:92:14)
39
- at BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:40)
40
- at BaseThen.test (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2718:17)
41
- at BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:24)
42
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
43
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
44
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
45
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
46
- TypeError: Cannot read properties of undefined (reading 'path')
47
- at PM_Web.customScreenShot (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2444:62)
48
- at Proxy.<anonymous> (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:1976:32)
49
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs?cacheBust=1756077043717:100:16)
50
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:28
51
- at async BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:22)
52
- at async BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:9)
53
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
54
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
55
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
56
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
57
- AssertionError: Should show empty message: expected null to exist
58
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs?cacheBust=1756077043717:95:14)
59
- at file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:39
60
- at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-L6N2I5MB.mjs:92:14)
61
- at BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:40)
62
- at BaseThen.test (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2718:17)
63
- at BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:24)
64
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
65
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
66
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
67
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
@@ -1,2 +0,0 @@
1
- %cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
2
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq font-weight:bold
@@ -1,17 +0,0 @@
1
-
2
- There are 3 types of test reports.
3
- 1) bdd (highest priority)
4
- 2) type checker
5
- 3) static analysis (lowest priority)
6
-
7
- "tests.json" is the detailed result of the bdd tests.
8
- if these files do not exist, then something has gone badly wrong and needs to be addressed.
9
-
10
- "type_errors.txt" is the result of the type checker.
11
- if this file does not exist, then type check passed without errors;
12
-
13
- "lint_errors.txt" is the result of the static analysis.
14
- if this file does not exist, then static analysis passed without errors;
15
-
16
- BDD failures are the highest priority. Focus on passing BDD tests before addressing other concerns.
17
- Do not add error throwing/catching to the tests themselves.
@@ -1,16 +0,0 @@
1
-
2
- /add src/components/pure/FeaturesReporterView.test/index.tsx
3
- /add src/components/pure/FeaturesReporterView.test/implementation.tsx
4
- /add src/components/pure/FeaturesReporterView.test/specification.ts
5
- /add src/components/pure/FeaturesReporterView.tsx
6
-
7
- /read node_modules/testeranto/docs/index.md
8
- /read node_modules/testeranto/docs/style.md
9
- /read node_modules/testeranto/docs/testing.ai.txt
10
- /read node_modules/testeranto/src/CoreTypes.ts
11
-
12
- /read testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/tests.json
13
- /read testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/type_errors.txt
14
- /read testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/lint_errors.txt
15
-
16
- /read testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/tests.json testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/type_errors.txt testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/lint_errors.txt testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/exit.log testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/message.txt testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/prompt.txt testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/info.log testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/error.log testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/warn.log testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/debug.log
@@ -1,68 +0,0 @@
1
- {
2
- "name": "FeaturesReporterView Component Tests",
3
- "givens": [
4
- {
5
- "key": "basicRender",
6
- "name": [
7
- "FeaturesReporterView should render",
8
- "It should show project names",
9
- "It should show file paths",
10
- "It should show test names",
11
- "It should show test statuses"
12
- ],
13
- "whens": [
14
- {
15
- "name": "hasProjectNames: ",
16
- "error": false,
17
- "artifacts": []
18
- },
19
- {
20
- "name": "hasFilePaths: ",
21
- "error": false,
22
- "artifacts": []
23
- },
24
- {
25
- "name": "hasTestNames: ",
26
- "error": false,
27
- "artifacts": []
28
- },
29
- {
30
- "name": "hasStatusBadges: ",
31
- "error": false,
32
- "artifacts": []
33
- },
34
- {
35
- "name": "takeScreenshot: features-reporter.png",
36
- "error": false,
37
- "artifacts": [
38
- "suite-0/given-basicRender/when/4/butThen/features-reporter.png"
39
- ]
40
- }
41
- ],
42
- "thens": [],
43
- "error": null,
44
- "features": [],
45
- "artifacts": []
46
- },
47
- {
48
- "key": "emptyState",
49
- "name": [
50
- "FeaturesReporterView should handle empty state",
51
- "It should show empty message when no projects exist"
52
- ],
53
- "whens": [
54
- {
55
- "name": "showsEmptyMessage: ",
56
- "error": false,
57
- "artifacts": []
58
- }
59
- ],
60
- "thens": [],
61
- "error": null,
62
- "features": [],
63
- "artifacts": []
64
- }
65
- ],
66
- "fails": 0,
67
- "features": []
68
- }
@@ -1,56 +0,0 @@
1
- /Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic.ts (33,14): Type '(testInput: typeof Component) => { beforeAll: (subject: typeof Component, artificer: ITTestResourceConfiguration) => Promise<{ htmlElement: HTMLElement; }>; ... 5 more ...; assertThis: (x: (s: ISelection) => ISelection) => (s: ISelection) => ISelection; }' is not assignable to type '(testInput: typeof Component) => ITestAdapter<I>'.
2
- Call signature return types '{ beforeAll: (subject: typeof Component, artificer: ITTestResourceConfiguration) => Promise<{ htmlElement: HTMLElement; }>; ... 5 more ...; assertThis: (x: (s: ISelection) => ISelection) => (s: ISelection) => ISelection; }' and 'ITestAdapter<I>' are incompatible.
3
- The types returned by 'beforeAll(...)' are incompatible between these types.
4
- Type 'Promise<{ htmlElement: HTMLElement; }>' is not assignable to type 'Promise<ISubject>'.
5
- Property 'domRoot' is missing in type '{ htmlElement: HTMLElement; }' but required in type 'ISubject'.
6
- /Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic.ts (47,45): Property 'subject' does not exist on type 'Readonly<{}>'.
7
- /Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic.ts (114,9): Expected 1 arguments, but got 3.
8
- /Users/adam/Code/testeranto/node_modules/testeranto-react/src/react/component/index.ts (21,3): Type '{ beforeEach: () => Promise<CElement<any, any>>; andWhen: (s: CElement<any, any>, whenCB: () => (s: CElement<any, any>) => any) => any; }' is missing the following properties from type 'ITestAdapter<I>': assertThis, butThen, afterAll, afterEach, beforeAll
9
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (18,13): Type '"test"' is not assignable to type '"project" | "file"'.
10
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (23,17): Type '"given"' is not assignable to type '"project" | "file"'.
11
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (28,21): Type '"then"' is not assignable to type '"project" | "file"'.
12
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (60,9): Type '({ htmlElement }: IInput & { container?: HTMLElement | undefined; }) => Promise<{ htmlElement: any; }>' is not assignable to type '(state: IInput & { container?: HTMLElement | undefined; }) => IInput & { container?: HTMLElement | undefined; }'.
13
- Type 'Promise<{ htmlElement: any; }>' is not assignable to type 'IInput & { container?: HTMLElement | undefined; }'.
14
- Property 'treeData' is missing in type 'Promise<{ htmlElement: any; }>' but required in type 'IInput'.
15
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (60,18): Property 'htmlElement' does not exist on type 'IInput & { container?: HTMLElement | undefined; }'.
16
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (68,9): Type '({ htmlElement }: IInput & { container?: HTMLElement | undefined; }) => Promise<{ htmlElement: any; }>' is not assignable to type '(state: IInput & { container?: HTMLElement | undefined; }) => IInput & { container?: HTMLElement | undefined; }'.
17
- Type 'Promise<{ htmlElement: any; }>' is not assignable to type 'IInput & { container?: HTMLElement | undefined; }'.
18
- Property 'treeData' is missing in type 'Promise<{ htmlElement: any; }>' but required in type 'IInput'.
19
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (68,18): Property 'htmlElement' does not exist on type 'IInput & { container?: HTMLElement | undefined; }'.
20
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (76,9): Type '({ htmlElement }: IInput & { container?: HTMLElement | undefined; }) => Promise<{ htmlElement: any; }>' is not assignable to type '(state: IInput & { container?: HTMLElement | undefined; }) => IInput & { container?: HTMLElement | undefined; }'.
21
- Type 'Promise<{ htmlElement: any; }>' is not assignable to type 'IInput & { container?: HTMLElement | undefined; }'.
22
- Property 'treeData' is missing in type 'Promise<{ htmlElement: any; }>' but required in type 'IInput'.
23
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (76,18): Property 'htmlElement' does not exist on type 'IInput & { container?: HTMLElement | undefined; }'.
24
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (84,9): Type '({ htmlElement }: IInput & { container?: HTMLElement | undefined; }) => Promise<{ htmlElement: any; }>' is not assignable to type '(state: IInput & { container?: HTMLElement | undefined; }) => IInput & { container?: HTMLElement | undefined; }'.
25
- Type 'Promise<{ htmlElement: any; }>' is not assignable to type 'IInput & { container?: HTMLElement | undefined; }'.
26
- Property 'treeData' is missing in type 'Promise<{ htmlElement: any; }>' but required in type 'IInput'.
27
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (84,18): Property 'htmlElement' does not exist on type 'IInput & { container?: HTMLElement | undefined; }'.
28
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (92,9): Type '({ htmlElement }: IInput & { container?: HTMLElement | undefined; }) => Promise<{ htmlElement: any; }>' is not assignable to type '(state: IInput & { container?: HTMLElement | undefined; }) => IInput & { container?: HTMLElement | undefined; }'.
29
- Type 'Promise<{ htmlElement: any; }>' is not assignable to type 'IInput & { container?: HTMLElement | undefined; }'.
30
- Property 'treeData' is missing in type 'Promise<{ htmlElement: any; }>' but required in type 'IInput'.
31
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (92,18): Property 'htmlElement' does not exist on type 'IInput & { container?: HTMLElement | undefined; }'.
32
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/implementation.tsx (98,5): Type '(name: string) => ({ htmlElement }: { htmlElement: any; }, pm: any) => Promise<{ htmlElement: any; }>' is not assignable to type '(...args: any[]) => (state: IInput & { container?: HTMLElement | undefined; }) => IInput & { container?: HTMLElement | undefined; }'.
33
- Type '({ htmlElement }: { htmlElement: any; }, pm: any) => Promise<{ htmlElement: any; }>' is not assignable to type '(state: IInput & { container?: HTMLElement | undefined; }) => IInput & { container?: HTMLElement | undefined; }'.
34
- Target signature provides too few arguments. Expected 2 or more, but got 1.
35
- /Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/index.tsx (16,3): Argument of type 'import("/Users/adam/Code/testeranto/src/CoreTypes").ITestSpecification<import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").I, import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").O>' is not assignable to parameter of type 'import("/Users/adam/Code/testeranto/src/CoreTypes").ITestSpecification<import("/Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic").I, import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").O>'.
36
- Types of parameters 'Suite' and 'Suite' are incompatible.
37
- Type 'import("/Users/adam/Code/testeranto/src/Types").SuiteSpecification<import("/Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic").I, import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").O>' is not assignable to type 'import("/Users/adam/Code/testeranto/src/Types").SuiteSpecification<import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").I, import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").O>'.
38
- Types of property 'Default' are incompatible.
39
- Type '(name: string, givens: import("/Users/adam/Code/testeranto/src/lib/BaseGiven").IGivens<import("/Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic").I>) => import("/Users/adam/Code/testeranto/src/lib/BaseSuite").BaseSuite<...>' is not assignable to type '(name: string, givens: import("/Users/adam/Code/testeranto/src/lib/BaseGiven").IGivens<import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").I>) => import("/Users/adam/Code/testeranto/src/lib/BaseSuite").BaseSuite<...>'.
40
- Types of parameters 'givens' and 'givens' are incompatible.
41
- Type 'import("/Users/adam/Code/testeranto/src/lib/BaseGiven").IGivens<import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").I>' is not assignable to type 'import("/Users/adam/Code/testeranto/src/lib/BaseGiven").IGivens<import("/Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic").I>'.
42
- Type 'import("/Users/adam/Code/testeranto/src/components/pure/FeaturesReporterView.test/types").I' is not assignable to type 'import("/Users/adam/Code/testeranto/node_modules/testeranto-react/src/react-dom/component/dynamic").I'.
43
- Types of property 'iinput' are incompatible.
44
- Property 'prototype' is missing in type 'IInput' but required in type 'typeof Component'.
45
- /Users/adam/Code/testeranto/src/lib/BaseThen.ts (76,41): A spread argument must either have a tuple type or be passed to a rest parameter.
46
- /Users/adam/Code/testeranto/src/lib/index.ts (42,12): This expression is not callable.
47
- Type 'unknown' has no call signatures.
48
- /Users/adam/Code/testeranto/src/lib/index.ts (50,12): This expression is not callable.
49
- Type 'unknown' has no call signatures.
50
- /Users/adam/Code/testeranto/src/lib/Tiposkripto.ts (205,7): Argument of type 'Record<string, any>' is not assignable to parameter of type 'SuiteSpecification<I, O>'.
51
- /Users/adam/Code/testeranto/src/lib/Tiposkripto.ts (263,15): Expected 1 arguments, but got 3.
52
- /Users/adam/Code/testeranto/src/PM/web.ts (59,12): Property 'mainFrame' does not exist on type 'string | Page'.
53
- Property 'mainFrame' does not exist on type 'string'.
54
- /Users/adam/Code/testeranto/src/Web.ts (43,7): Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
55
- Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, never>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
56
- /Users/adam/Code/testeranto/src/Web.ts (92,12): Cannot find name 'Testeranto'. Did you mean 'WebTesteranto'?
@@ -1,22 +0,0 @@
1
- TypeError: Cannot read properties of undefined (reading 'path')
2
- at PM_Web.customScreenShot (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2444:62)
3
- at Proxy.<anonymous> (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:1976:32)
4
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.mjs?cacheBust=1756077043716:216:16)
5
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:28
6
- at async BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:22)
7
- at async BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:9)
8
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
9
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
10
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
11
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
12
- TypeError: Cannot read properties of undefined (reading 'path')
13
- at PM_Web.customScreenShot (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2444:62)
14
- at Proxy.<anonymous> (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:1976:32)
15
- at BaseThen.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.mjs?cacheBust=1756077043716:216:16)
16
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2737:28
17
- at async BaseThen.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2829:22)
18
- at async BaseGiven.give (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2601:9)
19
- at async BaseSuite.run (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2322:20)
20
- at async file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2852:21
21
- at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2884:31)
22
- at async WebTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/web/core/chunk-PV6EA47E.mjs:2947:12)
@@ -1,2 +0,0 @@
1
- %cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
2
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq font-weight:bold
@@ -1,13 +0,0 @@
1
- src/components/pure/ProjectPageView.test/implementation.tsx
2
- 101:31 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
3
- - undefined (fix)
4
- - undefined (fix)
5
- 102:26 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
6
- - undefined (fix)
7
- - undefined (fix)
8
- 125:31 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
9
- - undefined (fix)
10
- - undefined (fix)
11
- 126:26 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
12
- - undefined (fix)
13
- - undefined (fix)
@@ -1,17 +0,0 @@
1
-
2
- There are 3 types of test reports.
3
- 1) bdd (highest priority)
4
- 2) type checker
5
- 3) static analysis (lowest priority)
6
-
7
- "tests.json" is the detailed result of the bdd tests.
8
- if these files do not exist, then something has gone badly wrong and needs to be addressed.
9
-
10
- "type_errors.txt" is the result of the type checker.
11
- if this file does not exist, then type check passed without errors;
12
-
13
- "lint_errors.txt" is the result of the static analysis.
14
- if this file does not exist, then static analysis passed without errors;
15
-
16
- BDD failures are the highest priority. Focus on passing BDD tests before addressing other concerns.
17
- Do not add error throwing/catching to the tests themselves.
@@ -1,16 +0,0 @@
1
-
2
- /add src/components/pure/ProjectPageView.test/index.tsx
3
- /add src/components/pure/ProjectPageView.test/implementation.tsx
4
- /add src/components/pure/ProjectPageView.test/specification.ts
5
- /add src/components/pure/ProjectPageView.tsx
6
-
7
- /read node_modules/testeranto/docs/index.md
8
- /read node_modules/testeranto/docs/style.md
9
- /read node_modules/testeranto/docs/testing.ai.txt
10
- /read node_modules/testeranto/src/CoreTypes.ts
11
-
12
- /read testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/tests.json
13
- /read testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/type_errors.txt
14
- /read testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt
15
-
16
- /read testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/tests.json testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/type_errors.txt testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/exit.log testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/message.txt testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/prompt.txt testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/info.log testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/error.log testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/warn.log testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/debug.log
@@ -1,88 +0,0 @@
1
- {
2
- "name": "ProjectPageView Component Tests",
3
- "givens": [
4
- {
5
- "key": "basicRender",
6
- "name": [
7
- "ProjectPageView should render",
8
- "It should contain a container-fluid div",
9
- "It should render the NavBar component",
10
- "NavBar should display project title",
11
- "It should render test results table",
12
- "It should display test-suite-1 results",
13
- "It should display test-suite-2 results"
14
- ],
15
- "whens": [
16
- {
17
- "name": "hasContainerFluid: ",
18
- "error": false,
19
- "artifacts": []
20
- },
21
- {
22
- "name": "hasNavBar: ",
23
- "error": false,
24
- "artifacts": []
25
- },
26
- {
27
- "name": "hasNavBarTitle: ",
28
- "error": false,
29
- "artifacts": []
30
- },
31
- {
32
- "name": "hasTestTable: ",
33
- "error": false,
34
- "artifacts": []
35
- },
36
- {
37
- "name": "rendersTestSuite1: ",
38
- "error": false,
39
- "artifacts": []
40
- },
41
- {
42
- "name": "rendersTestSuite2: ",
43
- "error": false,
44
- "artifacts": []
45
- },
46
- {
47
- "name": "takeScreenshot: happy-state.png",
48
- "error": false,
49
- "artifacts": [
50
- "suite-0/given-basicRender/when/6/butThen/happy-state.png"
51
- ]
52
- }
53
- ],
54
- "thens": [],
55
- "error": null,
56
- "features": [],
57
- "artifacts": []
58
- },
59
- {
60
- "key": "errorHandling",
61
- "name": [
62
- "ProjectPageView should handle errors",
63
- "It should display error messages when present",
64
- "It should capture screenshots of error state"
65
- ],
66
- "whens": [
67
- {
68
- "name": "unhappyPath: ",
69
- "error": false,
70
- "artifacts": []
71
- },
72
- {
73
- "name": "takeScreenshot: error-state.png",
74
- "error": false,
75
- "artifacts": [
76
- "suite-0/given-errorHandling/when/1/butThen/error-state.png"
77
- ]
78
- }
79
- ],
80
- "thens": [],
81
- "error": null,
82
- "features": [],
83
- "artifacts": []
84
- }
85
- ],
86
- "fails": 0,
87
- "features": []
88
- }