testeranto 0.171.0 → 0.173.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.
- package/README.md +2 -4
- package/dist/common/src/PM/base.js +4 -0
- package/dist/common/src/PM/main.js +11 -4
- package/dist/common/src/PM/node.js +1 -1
- package/dist/common/src/PM/web.js +3 -3
- package/dist/common/src/ReportServer.js +2 -126
- package/dist/common/src/ReportServer.test.ts/index.js +78 -0
- package/dist/common/src/ReportServerLib.js +135 -0
- package/dist/common/src/components/pure/ProjectPageView.test/implementation.js +1 -1
- package/dist/common/src/lib/abstractBase.js +2 -0
- package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +10 -9
- package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.specification.js +7 -7
- package/dist/common/src/lib/basebuilder.js +8 -2
- package/dist/common/src/lib/pmProxy.js +54 -150
- package/dist/common/testeranto.config.js +35 -20
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/PM/base.js +4 -0
- package/dist/module/src/PM/main.js +11 -4
- package/dist/module/src/PM/node.js +1 -1
- package/dist/module/src/PM/web.js +3 -3
- package/dist/module/src/ReportServer.js +2 -123
- package/dist/module/src/ReportServer.test.ts/index.js +73 -0
- package/dist/module/src/ReportServerLib.js +128 -0
- package/dist/module/src/TestPage.js +29 -17
- package/dist/module/src/components/pure/ProjectPageView.test/implementation.js +1 -1
- package/dist/module/src/components/pure/TestPageView.js +29 -17
- package/dist/module/src/lib/abstractBase.js +2 -0
- package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +10 -9
- package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.specification.js +7 -7
- package/dist/module/src/lib/basebuilder.js +8 -2
- package/dist/module/src/lib/pmProxy.js +54 -150
- package/dist/module/testeranto.config.js +35 -20
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/App.css +13 -9
- package/dist/prebuild/App.js +102 -99
- package/dist/prebuild/ReportServer.mjs +15 -9
- package/dist/prebuild/run.mjs +14 -4
- package/dist/types/src/PM/node.d.ts +1 -1
- package/dist/types/src/PM/web.d.ts +1 -1
- package/dist/types/src/ReportServer.test.ts/index.d.ts +29 -0
- package/dist/types/src/ReportServerLib.d.ts +2 -0
- package/dist/types/src/Types.d.ts +0 -1
- package/dist/types/src/components/pure/ProjectPageView.test/index.d.ts +1 -1
- package/dist/types/src/lib/abstractBase.d.ts +1 -1
- package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.types.d.ts +7 -4
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +6 -5
- package/src/PM/base.ts +5 -0
- package/src/PM/main.ts +12 -4
- package/src/PM/node.ts +1 -1
- package/src/PM/web.ts +3 -3
- package/src/ReportServer.test.ts/index.ts +194 -0
- package/src/ReportServer.ts +2 -132
- package/src/ReportServerLib.ts +144 -0
- package/src/TestPage.tsx +65 -5
- package/src/Types.ts +0 -1
- package/src/components/pure/ProjectPageView.test/implementation.tsx +1 -1
- package/src/components/pure/TestPageView.tsx +65 -5
- package/src/lib/abstractBase.ts +4 -1
- package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +22 -10
- package/src/lib/baseBuilder.test/baseBuilder.test.specification.ts +9 -9
- package/src/lib/baseBuilder.test/baseBuilder.test.types.ts +7 -4
- package/src/lib/basebuilder.ts +7 -4
- package/src/lib/pmProxy.ts +78 -155
- package/testeranto/App.css +13 -9
- package/testeranto/App.js +102 -99
- package/testeranto/bundles/node/allTests/metafile.json +38 -781
- package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +983 -24
- package/testeranto/bundles/node/core/metafile.json +486 -0
- package/testeranto/bundles/{pure/allTests/chunk-VMUSFSZM.mjs → node/core/src/lib/baseBuilder.test/baseBuilder.test.node.mjs} +797 -412
- package/testeranto/bundles/node/staticSite/metafile.json +593 -0
- package/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs +1594 -0
- package/testeranto/bundles/pure/allTests/metafile.json +157 -585
- package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +740 -27
- package/testeranto/bundles/pure/core/metafile.json +626 -0
- package/testeranto/bundles/{web/allTests/chunk-U7AW26HL.mjs → pure/core/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs} +507 -410
- package/testeranto/bundles/pure/staticSite/metafile.json +8 -0
- package/testeranto/bundles/web/allTests/metafile.json +107 -15292
- package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +893 -45
- package/testeranto/bundles/web/core/metafile.json +780 -0
- package/testeranto/bundles/web/core/src/lib/baseBuilder.test/baseBuilder.test.web.html +19 -0
- package/testeranto/bundles/web/{allTests/chunk-RLDR6LJN.mjs → core/src/lib/baseBuilder.test/baseBuilder.test.web.mjs} +580 -518
- package/testeranto/bundles/web/staticSite/metafile.json +8 -0
- package/testeranto/projects.json +2 -1
- package/testeranto/reports/allTests/config.json +0 -64
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +2 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +11 -13
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +10 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +10 -18
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +25 -13
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +2 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +24 -12
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +2 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +49 -55
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +12 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +10 -18
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +24 -12
- package/testeranto/reports/allTests/summary.json +6 -62
- package/testeranto/reports/core/config.json +24 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +2 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +32 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/message.txt +2 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +26 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +69 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +74 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +2 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/message.txt +2 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +26 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +74 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +2 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +61 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/message.txt +2 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +26 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +69 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +74 -0
- package/testeranto/reports/core/summary.json +23 -0
- package/testeranto/reports/staticSite/config.json +24 -0
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/lint_errors.txt +5 -0
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/logs.txt +44 -0
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/message.txt +2 -0
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/prompt.txt +23 -0
- package/testeranto/reports/{allTests/src/lib/core.test/core.test → staticSite/src/ReportServer.test.ts/index}/node/type_errors.txt +21 -32
- package/testeranto/reports/staticSite/summary.json +9 -0
- package/testeranto/reportsnode_build_errors +17 -0
- package/testeranto.config.ts +37 -20
- package/testeranto/bundles/node/allTests/chunk-3EUGBAOM.mjs +0 -113
- package/testeranto/bundles/node/allTests/chunk-E75CSRER.mjs +0 -800
- package/testeranto/bundles/node/allTests/chunk-M6DO7VMB.mjs +0 -252
- package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test/node.test.mjs +0 -323
- package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +0 -411
- package/testeranto/bundles/node/allTests/src/lib/core.test/core.test.mjs +0 -528
- package/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs +0 -4650
- package/testeranto/bundles/pure/allTests/chunk-KHDVEHF7.mjs +0 -185
- package/testeranto/bundles/pure/allTests/src/Pure.test.mjs +0 -429
- package/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs +0 -425
- package/testeranto/bundles/web/allTests/chunk-HPYA4YZC.mjs +0 -2283
- package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.html +0 -19
- package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.mjs +0 -37524
- package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.html +0 -19
- package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.mjs +0 -440
- package/testeranto/reports/allTests/src/Pure.test/pure/lint_errors.txt +0 -0
- package/testeranto/reports/allTests/src/Pure.test/pure/message.txt +0 -2
- package/testeranto/reports/allTests/src/Pure.test/pure/prompt.txt +0 -13
- package/testeranto/reports/allTests/src/Pure.test/pure/type_errors.txt +0 -101
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +0 -13
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/logs.txt +0 -50
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/message.txt +0 -2
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/prompt.txt +0 -17
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/tests.json +0 -32
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +0 -68
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/lint_errors.txt +0 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/logs.txt +0 -52
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/prompt.txt +0 -13
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/tests.json +0 -31
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/type_errors.txt +0 -111
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/bdd_errors.txt +0 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/lint_errors.txt +0 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/prompt.txt +0 -14
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/tests.json +0 -31
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +0 -111
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/bdd_errors.txt +0 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/lint_errors.txt +0 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/logs.txt +0 -108
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/prompt.txt +0 -14
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/tests.json +0 -31
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/type_errors.txt +0 -111
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/bdd_errors.txt +0 -1
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/lint_errors.txt +0 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +0 -700
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/prompt.txt +0 -16
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/tests.json +0 -164
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +0 -138
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/lint_errors.txt +0 -21
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/logs.txt +0 -7
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/prompt.txt +0 -18
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/bdd_errors.txt +0 -1
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/lint_errors.txt +0 -20
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +0 -31
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/prompt.txt +0 -16
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json +0 -134
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +0 -76
- package/testeranto/reportsweb_build_errors +0 -25
- /package/testeranto/reports/{allTests/src/components/pure/ProjectPageView.test/index/web → core/src/lib/baseBuilder.test/baseBuilder.test.node/node}/bdd_errors.txt +0 -0
- /package/testeranto/reports/{allTests/src/lib/BaseSuite.test/node.test/node → core/src/lib/baseBuilder.test/baseBuilder.test.web/web}/bdd_errors.txt +0 -0
package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/Users/adam/Code/testeranto/src/lib/abstractBase.ts (247,17): Catch clause variable type annotation must be 'any' or 'unknown' if specified.
|
|
2
|
+
/Users/adam/Code/testeranto/src/lib/abstractBase.ts (304,39): Expected 1 arguments, but got 2.
|
|
3
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts (8,49): Type 'Promise<{}>' is not assignable to type 'Promise<BaseBuilder<any, any, any, any, any, any>>'.
|
|
4
|
+
Type '{}' is missing the following properties from type 'BaseBuilder<any, any, any, any, any, any>': specs, assertThis, testResourceRequirement, artifacts, and 12 more.
|
|
5
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts (9,3): Type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...'. Two different types with this name exist, but they are unrelated.
|
|
6
|
+
Type 'Promise<() => BaseBuilder<any, any, any, any, any, any>>' is not assignable to type 'Promise<BaseBuilder<any, any, any, any, any, any>>'.
|
|
7
|
+
Type '() => BaseBuilder<any, any, any, any, any, any>' is not assignable to type 'BaseBuilder<any, any, any, any, any, any>'.
|
|
8
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts (20,26): Expected 1 arguments, but got 2.
|
|
9
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts (23,26): Expected 1 arguments, but got 2.
|
|
10
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts (25,25): Type 'BaseBuilder<any, any, any, any, any, any>' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
|
|
11
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (19,5): Type '() => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => () => BaseBuilder<any, any, any, any, any, any>'.
|
|
12
|
+
Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => BaseBuilder<any, any, any, any, any, any>'.
|
|
13
|
+
Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' provides no match for the signature '(): BaseBuilder<any, any, any, any, any, any>'.
|
|
14
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (30,5): Type '(input: any) => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => () => BaseBuilder<any, any, any, any, any, any>'.
|
|
15
|
+
Target signature provides too few arguments. Expected 1 or more, but got 0.
|
|
16
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (37,11): Type 'never[]' is not assignable to type 'number'.
|
|
17
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (41,5): Type '(requirements: ITTestResourceRequest) => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => () => BaseBuilder<any, any, any, any, any, any>'.
|
|
18
|
+
Target signature provides too few arguments. Expected 1 or more, but got 0.
|
|
19
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (60,32): Type '(builder: BaseBuilder<any, any, any, any, any, any>, utils: PM) => BaseBuilder<any, any, any, any, any, any>' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
20
|
+
Type 'BaseBuilder<any, any, any, any, any, any>' is not assignable to type '(store: any) => any'.
|
|
21
|
+
Type 'BaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
22
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (66,100): Property 'constructor' does not exist on type 'never'.
|
|
23
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (87,46): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
24
|
+
Type 'TestSubject' is not assignable to type '(store: any) => any'.
|
|
25
|
+
Type 'MockBaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
26
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (93,30): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
27
|
+
Type 'TestSubject' is not assignable to type '(store: any) => any'.
|
|
28
|
+
Type 'MockBaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
29
|
+
/Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (99,34): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
30
|
+
Type 'TestSubject' is not assignable to type '(store: any) => any'.
|
|
31
|
+
Type 'MockBaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
32
|
+
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (79,15): This expression is not callable.
|
|
33
|
+
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
34
|
+
Type 'void' has no call signatures.
|
|
35
|
+
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (125,30): Expected 2 arguments, but got 1.
|
|
36
|
+
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (130,30): Expected 2 arguments, but got 1.
|
|
37
|
+
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (86,18): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
38
|
+
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (101,28): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
39
|
+
/Users/adam/Code/testeranto/src/lib/core.ts (46,7): Argument of type 'Omit<{ suites: import("/Users/adam/Code/testeranto/src/Types").TestSuiteImplementation<O>; givens: import("/Users/adam/Code/testeranto/src/Types").TestGivenImplementation<I, O>; whens: import("/Users/adam/Code/testeranto/src/Types").TestWhenImplementation<...>; thens: import("/Users/adam/Code/testeranto/src/Types")....' is not assignable to parameter of type 'Omit<{ suites: import("/Users/adam/Code/testeranto/src/Types").TestSuiteImplementation<O>; givens: import("/Users/adam/Code/testeranto/src/Types").TestGivenImplementation<I, O>; whens: import("/Users/adam/Code/testeranto/src/Types").TestWhenImplementation<...>; thens: import("/Users/adam/Code/testeranto/src/Types")....'.
|
|
40
|
+
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }' is not assignable to type '{ suites: Record<string, never>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }'.
|
|
41
|
+
Types of property 'suites' are incompatible.
|
|
42
|
+
Type 'Record<string, any>' is not assignable to type 'Record<string, never>'.
|
|
43
|
+
'string' index signatures are incompatible.
|
|
44
|
+
Type 'any' is not assignable to type 'never'.
|
|
45
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (16,3): Type '(subject: T["isubject"], initialValues: T["iinitialValues"], x: unknown, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["isubject"]>' is not assignable to type '(subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceConfiguration, initialValues: any, pm: IPM) => Promise<...>'.
|
|
46
|
+
Types of parameters 'initialValues' and 'initializer' are incompatible.
|
|
47
|
+
Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
|
|
48
|
+
'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
|
|
49
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (18,20): Type '"iinitialValues"' cannot be used to index type 'T'.
|
|
50
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (40,13): This expression is not callable.
|
|
51
|
+
Type 'unknown' has no call signatures.
|
|
52
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (52,3): Type '{ assertThis?: ((x: T["then"]) => any) | undefined; andWhen?: ((store: T["istore"], whenCB: T["when"], testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["istore"]>) | undefined; ... 4 more ...; beforeEach?: ((subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceCon...' is not assignable to type 'ITestAdapter<T>'.
|
|
53
|
+
Types of property 'assertThis' are incompatible.
|
|
54
|
+
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
55
|
+
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
56
|
+
/Users/adam/Code/testeranto/src/PM/node.ts (185,9): Property 'writeFileSync' in type 'PM_Node' is not assignable to the same property in base type 'PM'.
|
|
57
|
+
Type '([filepath, contents]: [string, string]) => Promise<boolean>' is not assignable to type '(f: string, c: string) => Promise<boolean>'.
|
|
58
|
+
Types of parameters '__0' and 'f' are incompatible.
|
|
59
|
+
Type 'string' is not assignable to type '[string, string]'.
|
|
60
|
+
/Users/adam/Code/testeranto/src/PM/pure.ts (114,3): Property 'customScreenShot' in type 'PM_Pure' is not assignable to the same property in base type 'PM'.
|
|
61
|
+
Type '(opts: ScreencastOptions, page: string) => any' is not assignable to type '(opts: { path: string; }, page?: string | undefined) => any'.
|
|
62
|
+
Types of parameters 'opts' and 'opts' are incompatible.
|
|
63
|
+
Type '{ path: string; }' is not assignable to type 'ScreencastOptions'.
|
|
64
|
+
Types of property 'path' are incompatible.
|
|
65
|
+
Type 'string' is not assignable to type '`${string}.webm`'.
|
|
66
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (56,12): Cannot find name 'opts'.
|
|
67
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
|
|
68
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (59,7): Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
69
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (138,3): Property 'writeFileSync' in type 'PM_Web' is not assignable to the same property in base type 'PM'.
|
|
70
|
+
Type '([filepath, contents]: [string, string]) => any' is not assignable to type '(f: string, c: string) => Promise<boolean>'.
|
|
71
|
+
Types of parameters '__0' and 'f' are incompatible.
|
|
72
|
+
Type 'string' is not assignable to type '[string, string]'.
|
|
73
|
+
/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 & { ...; }'.
|
|
74
|
+
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, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"src/lib/baseBuilder.test/baseBuilder.test.node.ts": {
|
|
3
|
+
"typeErrors": 33,
|
|
4
|
+
"staticErrors": 1,
|
|
5
|
+
"runTimeErrors": 0,
|
|
6
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/core/reports/node/src/lib/baseBuilder.test/baseBuilder.test.node/prompt.txt",
|
|
7
|
+
"failingFeatures": {}
|
|
8
|
+
},
|
|
9
|
+
"src/lib/baseBuilder.test/baseBuilder.test.pure.ts": {
|
|
10
|
+
"typeErrors": 33,
|
|
11
|
+
"staticErrors": 1,
|
|
12
|
+
"runTimeErrors": -1,
|
|
13
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/core/reports/pure/src/lib/baseBuilder.test/baseBuilder.test.pure/prompt.txt",
|
|
14
|
+
"failingFeatures": {}
|
|
15
|
+
},
|
|
16
|
+
"src/lib/baseBuilder.test/baseBuilder.test.web.ts": {
|
|
17
|
+
"typeErrors": 33,
|
|
18
|
+
"staticErrors": 1,
|
|
19
|
+
"runTimeErrors": 0,
|
|
20
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/core/reports/web/src/lib/baseBuilder.test/baseBuilder.test.web/prompt.txt",
|
|
21
|
+
"failingFeatures": {}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tests": [
|
|
3
|
+
[
|
|
4
|
+
"src/ReportServer.test.ts/index.ts",
|
|
5
|
+
"node",
|
|
6
|
+
{
|
|
7
|
+
"ports": 1
|
|
8
|
+
},
|
|
9
|
+
[]
|
|
10
|
+
]
|
|
11
|
+
],
|
|
12
|
+
"clearScreen": false,
|
|
13
|
+
"debugger": false,
|
|
14
|
+
"externals": [],
|
|
15
|
+
"importPlugins": [],
|
|
16
|
+
"minify": false,
|
|
17
|
+
"nodePlugins": [],
|
|
18
|
+
"ports": [
|
|
19
|
+
"3334"
|
|
20
|
+
],
|
|
21
|
+
"src": "",
|
|
22
|
+
"webPlugins": [],
|
|
23
|
+
"buildDir": "/Users/adam/Code/testeranto/testeranto/bundles/staticSite"
|
|
24
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
stdout > [DEBUG] BaseSuite constructor - name: the http server which is used in development index: 0
|
|
2
|
+
[DEBUG] BaseSuite initialized: the http server which is used in development 0
|
|
3
|
+
[DEBUG] BaseSuite givens: initialization
|
|
4
|
+
receiveTestResourceConfig {"scheduled":true,"name":"src/ReportServer.test.ts/index.ts","ports":["3334"],"fs":"testeranto/reports/staticSite/src/ReportServer.test.ts/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/f34defa7-96ca-4fa2-a608-79bf960a9afa"}
|
|
5
|
+
stderr > Server error: Error: listen EADDRINUSE: address already in use :::3334
|
|
6
|
+
at Server.setupListenHandle [as _listen2] (node:net:1868:16)
|
|
7
|
+
at listenInCluster (node:net:1916:12)
|
|
8
|
+
at Server.listen (node:net:2004:7)
|
|
9
|
+
at start (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1511:30)
|
|
10
|
+
at ReportServerOfPort (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1515:36)
|
|
11
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1579:37
|
|
12
|
+
at new Promise (<anonymous>)
|
|
13
|
+
at beforeAll (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1579:11)
|
|
14
|
+
at TesterantoCore.constructor.setup (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1107:95)
|
|
15
|
+
at TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1055:32) {
|
|
16
|
+
code: 'EADDRINUSE',
|
|
17
|
+
errno: -48,
|
|
18
|
+
syscall: 'listen',
|
|
19
|
+
address: '::',
|
|
20
|
+
port: 3334
|
|
21
|
+
}
|
|
22
|
+
Unhandled Rejection at: Promise {
|
|
23
|
+
<rejected> TypeError: Cannot read properties of undefined (reading 'newPage')
|
|
24
|
+
at the frontpage looks good (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1546:32)
|
|
25
|
+
at a.<computed> [as the frontpage looks good] (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:980:13)
|
|
26
|
+
at specification (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1524:41)
|
|
27
|
+
at new BaseBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:853:18)
|
|
28
|
+
at new ClassBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:987:5)
|
|
29
|
+
at new TesterantoCore (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1095:5)
|
|
30
|
+
at new NodeTesteranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1358:5)
|
|
31
|
+
at testeranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1377:15)
|
|
32
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1586:33
|
|
33
|
+
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
|
|
34
|
+
} reason: TypeError: Cannot read properties of undefined (reading 'newPage')
|
|
35
|
+
at the frontpage looks good (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1546:32)
|
|
36
|
+
at a.<computed> [as the frontpage looks good] (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:980:13)
|
|
37
|
+
at specification (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1524:41)
|
|
38
|
+
at new BaseBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:853:18)
|
|
39
|
+
at new ClassBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:987:5)
|
|
40
|
+
at new TesterantoCore (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1095:5)
|
|
41
|
+
at new NodeTesteranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1358:5)
|
|
42
|
+
at testeranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1377:15)
|
|
43
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs:1586:33
|
|
44
|
+
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
Fix the failing tests described in testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/tests.json and testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/logs.txt. Focus on the bdd tests before all other concerns. You may add any debugging you think is necessary.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
/add src/lib/index.ts
|
|
3
|
+
/add src/lib/pmProxy.ts
|
|
4
|
+
/add src/lib/abstractBase.ts
|
|
5
|
+
/add src/lib/basebuilder.ts
|
|
6
|
+
/add src/lib/classBuilder.ts
|
|
7
|
+
/add src/lib/BaseSuite.ts
|
|
8
|
+
/add src/lib/core.ts
|
|
9
|
+
/add src/PM/node.ts
|
|
10
|
+
/add src/PM/index.ts
|
|
11
|
+
/add src/Node.ts
|
|
12
|
+
/add src/ReportServerLib.ts
|
|
13
|
+
/add src/ReportServer.test.ts/index.ts
|
|
14
|
+
|
|
15
|
+
/read node_modules/testeranto/docs/index.md
|
|
16
|
+
/read node_modules/testeranto/docs/style.md
|
|
17
|
+
/read node_modules/testeranto/docs/testing.ai.txt
|
|
18
|
+
/read node_modules/testeranto/src/CoreTypes.ts
|
|
19
|
+
|
|
20
|
+
/read testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/tests.json
|
|
21
|
+
/read testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/logs.txt
|
|
22
|
+
/read testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/type_errors.txt
|
|
23
|
+
/read testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/lint_errors.txt
|
|
@@ -1,38 +1,12 @@
|
|
|
1
|
-
/Users/adam/Code/testeranto/src/lib/abstractBase.ts (
|
|
2
|
-
/Users/adam/Code/testeranto/src/lib/abstractBase.ts (
|
|
1
|
+
/Users/adam/Code/testeranto/src/lib/abstractBase.ts (247,17): Catch clause variable type annotation must be 'any' or 'unknown' if specified.
|
|
2
|
+
/Users/adam/Code/testeranto/src/lib/abstractBase.ts (304,39): Expected 1 arguments, but got 2.
|
|
3
3
|
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (79,15): This expression is not callable.
|
|
4
4
|
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
5
5
|
Type 'void' has no call signatures.
|
|
6
|
+
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (125,30): Expected 2 arguments, but got 1.
|
|
7
|
+
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (130,30): Expected 2 arguments, but got 1.
|
|
6
8
|
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (86,18): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
7
9
|
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (101,28): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
8
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.adapter.ts (33,26): Expected 1 arguments, but got 2.
|
|
9
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.adapter.ts (36,26): Expected 1 arguments, but got 2.
|
|
10
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.adapter.ts (38,25): Type 'MockCore<any, any, any>' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
|
|
11
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (25,11): Cannot find name 'specification'.
|
|
12
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (27,11): Argument of type '{ ports: number[]; }' is not assignable to parameter of type 'ITTestResourceRequest'.
|
|
13
|
-
Types of property 'ports' are incompatible.
|
|
14
|
-
Type 'number[]' is not assignable to type 'number'.
|
|
15
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (28,11): Cannot find name 'testAdapter'.
|
|
16
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (41,9): Cannot find name 'specification'.
|
|
17
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (43,11): Type 'never[]' is not assignable to type 'number'.
|
|
18
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (44,9): Cannot find name 'testAdapter'.
|
|
19
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (51,9): Cannot find name 'specification'.
|
|
20
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (54,9): Cannot find name 'testAdapter'.
|
|
21
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (61,9): Cannot find name 'specification'.
|
|
22
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (63,11): Type 'never[]' is not assignable to type 'number'.
|
|
23
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (64,14): Cannot find name 'testAdapter'.
|
|
24
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (97,65): Property 'constructor' does not exist on type 'never'.
|
|
25
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (141,30): Type '(builder: MockCore<any, any, any>) => Promise<MockCore<any, any, any>>' is not assignable to type '(builder: MockCore<any, any, any>) => MockCore<any, any, any>'.
|
|
26
|
-
Type 'Promise<MockCore<any, any, any>>' is missing the following properties from type 'MockCore<any, any, any>': specs, testJobs, artifacts, testResourceRequirement, and 14 more.
|
|
27
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (29,7): Expected 2 arguments, but got 4.
|
|
28
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (42,13): Object literal may only specify known properties, and 'test' does not exist in type 'string[]'.
|
|
29
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (49,13): Object literal may only specify known properties, and 'ports' does not exist in type 'string[]'.
|
|
30
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (55,13): Object literal may only specify known properties, and 'assertThis' does not exist in type 'string[]'.
|
|
31
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (82,105): Expected 2 arguments, but got 3.
|
|
32
|
-
/Users/adam/Code/testeranto/src/lib/core.test/core.test.types.ts (15,17): Generic type 'Ibdd_out' requires between 0 and 4 type arguments.
|
|
33
|
-
/Users/adam/Code/testeranto/src/lib/core.test/MockCore.ts (32,56): Type 'never[]' is not assignable to type 'number'.
|
|
34
|
-
/Users/adam/Code/testeranto/src/lib/core.test/MockCore.ts (72,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 & { ...; }'.
|
|
35
|
-
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, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
|
|
36
10
|
/Users/adam/Code/testeranto/src/lib/core.ts (46,7): Argument of type 'Omit<{ suites: import("/Users/adam/Code/testeranto/src/Types").TestSuiteImplementation<O>; givens: import("/Users/adam/Code/testeranto/src/Types").TestGivenImplementation<I, O>; whens: import("/Users/adam/Code/testeranto/src/Types").TestWhenImplementation<...>; thens: import("/Users/adam/Code/testeranto/src/Types")....' is not assignable to parameter of type 'Omit<{ suites: import("/Users/adam/Code/testeranto/src/Types").TestSuiteImplementation<O>; givens: import("/Users/adam/Code/testeranto/src/Types").TestGivenImplementation<I, O>; whens: import("/Users/adam/Code/testeranto/src/Types").TestWhenImplementation<...>; thens: import("/Users/adam/Code/testeranto/src/Types")....'.
|
|
37
11
|
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }' is not assignable to type '{ suites: Record<string, never>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }'.
|
|
38
12
|
Types of property 'suites' are incompatible.
|
|
@@ -50,6 +24,12 @@
|
|
|
50
24
|
Types of property 'assertThis' are incompatible.
|
|
51
25
|
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
52
26
|
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
27
|
+
/Users/adam/Code/testeranto/src/Node.ts (34,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 & { ...; }'.
|
|
28
|
+
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, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
|
|
29
|
+
/Users/adam/Code/testeranto/src/PM/node.ts (185,9): Property 'writeFileSync' in type 'PM_Node' is not assignable to the same property in base type 'PM'.
|
|
30
|
+
Type '([filepath, contents]: [string, string]) => Promise<boolean>' is not assignable to type '(f: string, c: string) => Promise<boolean>'.
|
|
31
|
+
Types of parameters '__0' and 'f' are incompatible.
|
|
32
|
+
Type 'string' is not assignable to type '[string, string]'.
|
|
53
33
|
/Users/adam/Code/testeranto/src/PM/pure.ts (114,3): Property 'customScreenShot' in type 'PM_Pure' is not assignable to the same property in base type 'PM'.
|
|
54
34
|
Type '(opts: ScreencastOptions, page: string) => any' is not assignable to type '(opts: { path: string; }, page?: string | undefined) => any'.
|
|
55
35
|
Types of parameters 'opts' and 'opts' are incompatible.
|
|
@@ -59,5 +39,14 @@
|
|
|
59
39
|
/Users/adam/Code/testeranto/src/PM/web.ts (56,12): Cannot find name 'opts'.
|
|
60
40
|
/Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
|
|
61
41
|
/Users/adam/Code/testeranto/src/PM/web.ts (59,7): Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
62
|
-
/Users/adam/Code/testeranto/src/
|
|
63
|
-
Type '
|
|
42
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (138,3): Property 'writeFileSync' in type 'PM_Web' is not assignable to the same property in base type 'PM'.
|
|
43
|
+
Type '([filepath, contents]: [string, string]) => any' is not assignable to type '(f: string, c: string) => Promise<boolean>'.
|
|
44
|
+
Types of parameters '__0' and 'f' are incompatible.
|
|
45
|
+
Type 'string' is not assignable to type '[string, string]'.
|
|
46
|
+
/Users/adam/Code/testeranto/src/ReportServer.test.ts/index.ts (117,3): Type '(store: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, thenCB: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, pm: im...' is not assignable to type '(store: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, thenCB: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, pm: im...'. Two different types with this name exist, but they are unrelated.
|
|
47
|
+
Type 'Promise<Server<typeof IncomingMessage, typeof ServerResponse>>' is not assignable to type 'Promise<number>'.
|
|
48
|
+
Type 'Server<typeof IncomingMessage, typeof ServerResponse>' is not assignable to type 'number'.
|
|
49
|
+
/Users/adam/Code/testeranto/src/ReportServer.test.ts/index.ts (174,51): Cannot find name 'IProjectPageViewProps'.
|
|
50
|
+
/Users/adam/Code/testeranto/src/ReportServer.test.ts/index.ts (180,14): Cannot find name 'IProjectPageViewProps'.
|
|
51
|
+
/Users/adam/Code/testeranto/src/ReportServer.test.ts/index.ts (182,10): Cannot find name 'IProjectPageViewProps'.
|
|
52
|
+
/Users/adam/Code/testeranto/src/ReportServerLib.ts (111,33): Property 'status' does not exist on type 'Error'.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"src/ReportServer.test.ts/index.ts": {
|
|
3
|
+
"typeErrors": 24,
|
|
4
|
+
"staticErrors": 2,
|
|
5
|
+
"runTimeErrors": "?",
|
|
6
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/staticSite/reports/node/src/ReportServer.test.ts/index/prompt.txt",
|
|
7
|
+
"failingFeatures": {}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [
|
|
3
|
+
{
|
|
4
|
+
"id": "",
|
|
5
|
+
"location": null,
|
|
6
|
+
"notes": [
|
|
7
|
+
{
|
|
8
|
+
"location": null,
|
|
9
|
+
"text": "Use the relative path \"./src/ReportServer.test.ts\" to reference the file \"src/ReportServer.test.ts/index.ts\". Without the leading \"./\", the path \"src/ReportServer.test.ts\" is being interpreted as a package path instead."
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"pluginName": "",
|
|
13
|
+
"text": "Could not resolve \"src/ReportServer.test.ts\""
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"warnings": []
|
|
17
|
+
}
|
package/testeranto.config.ts
CHANGED
|
@@ -1,29 +1,47 @@
|
|
|
1
1
|
import { IProject } from "./src/Types";
|
|
2
2
|
|
|
3
|
+
// TODO- this config file is horrible. I need to redo how config files are handled.
|
|
4
|
+
|
|
3
5
|
const config: IProject = {
|
|
4
6
|
projects: {
|
|
5
|
-
|
|
7
|
+
staticSite: {
|
|
8
|
+
tests: [["src/ReportServer.test.ts/index.ts", "node", { ports: 1 }, []]],
|
|
9
|
+
clearScreen: false,
|
|
10
|
+
debugger: false,
|
|
11
|
+
externals: [],
|
|
12
|
+
featureIngestor: function (s: string): Promise<string> {
|
|
13
|
+
throw new Error("Function not implemented.");
|
|
14
|
+
},
|
|
15
|
+
importPlugins: [],
|
|
16
|
+
minify: false,
|
|
17
|
+
nodePlugins: [],
|
|
18
|
+
ports: ["3334"],
|
|
19
|
+
src: "",
|
|
20
|
+
webPlugins: [],
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
core: {
|
|
6
24
|
tests: [
|
|
7
|
-
[
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
],
|
|
25
|
+
// [
|
|
26
|
+
// "src/components/pure/ProjectPageView.test/index.ts",
|
|
27
|
+
// "web",
|
|
28
|
+
// { ports: 0 },
|
|
29
|
+
// [],
|
|
30
|
+
// ],
|
|
13
31
|
|
|
14
|
-
["src/lib/BaseSuite.test/node.test.ts", "node", { ports: 0 }, []],
|
|
15
|
-
["src/lib/BaseSuite.test/pure.test.ts", "pure", { ports: 0 }, []],
|
|
16
|
-
["src/lib/BaseSuite.test/web.test.ts", "web", { ports: 0 }, []],
|
|
32
|
+
// ["src/lib/BaseSuite.test/node.test.ts", "node", { ports: 0 }, []],
|
|
33
|
+
// ["src/lib/BaseSuite.test/pure.test.ts", "pure", { ports: 0 }, []],
|
|
34
|
+
// ["src/lib/BaseSuite.test/web.test.ts", "web", { ports: 0 }, []],
|
|
17
35
|
|
|
18
|
-
["src/Pure.test.ts", "pure", { ports: 0 }, []],
|
|
19
|
-
["src/lib/pmProxy.test/index.ts", "node", { ports: 0 }, []],
|
|
20
|
-
["src/lib/core.test/core.test.ts", "node", { ports: 0 }, []],
|
|
21
|
-
[
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
],
|
|
36
|
+
// ["src/Pure.test.ts", "pure", { ports: 0 }, []],
|
|
37
|
+
// ["src/lib/pmProxy.test/index.ts", "node", { ports: 0 }, []],
|
|
38
|
+
// ["src/lib/core.test/core.test.ts", "node", { ports: 0 }, []],
|
|
39
|
+
// [
|
|
40
|
+
// "src/lib/classBuilder.test/classBuilder.test.ts",
|
|
41
|
+
// "node",
|
|
42
|
+
// { ports: 0 },
|
|
43
|
+
// [],
|
|
44
|
+
// ],
|
|
27
45
|
|
|
28
46
|
[
|
|
29
47
|
"src/lib/baseBuilder.test/baseBuilder.test.node.ts",
|
|
@@ -74,6 +92,5 @@ const config: IProject = {
|
|
|
74
92
|
webPlugins: [],
|
|
75
93
|
},
|
|
76
94
|
},
|
|
77
|
-
reportDomain: "https://adamwong246.github.io/testeranto",
|
|
78
95
|
};
|
|
79
96
|
export default config;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
BaseGiven,
|
|
4
|
-
BaseSuite,
|
|
5
|
-
BaseThen,
|
|
6
|
-
BaseWhen
|
|
7
|
-
} from "./chunk-E75CSRER.mjs";
|
|
8
|
-
|
|
9
|
-
// src/lib/BaseSuite.test/mock.ts
|
|
10
|
-
var MockGiven = class extends BaseGiven {
|
|
11
|
-
constructor(name, features, whens, thens) {
|
|
12
|
-
super(
|
|
13
|
-
name,
|
|
14
|
-
features,
|
|
15
|
-
whens,
|
|
16
|
-
thens,
|
|
17
|
-
async () => ({ testStore: true, testSelection: false }),
|
|
18
|
-
// givenCB
|
|
19
|
-
{}
|
|
20
|
-
// initialValues
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
async givenThat() {
|
|
24
|
-
return { testStore: true, testSelection: false };
|
|
25
|
-
}
|
|
26
|
-
uberCatcher(e) {
|
|
27
|
-
console.error("Given error 2:", e);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
var MockWhen = class extends BaseWhen {
|
|
31
|
-
async andWhen(store, whenCB, testResource, pm) {
|
|
32
|
-
console.log(
|
|
33
|
-
"[DEBUG] MockWhen - andWhen - input store:",
|
|
34
|
-
JSON.stringify(store)
|
|
35
|
-
);
|
|
36
|
-
const newStore = {
|
|
37
|
-
...store,
|
|
38
|
-
testSelection: true
|
|
39
|
-
// Ensure testSelection is set for assertions
|
|
40
|
-
};
|
|
41
|
-
console.log("[DEBUG] MockWhen - andWhen - calling whenCB");
|
|
42
|
-
const result = await whenCB(newStore);
|
|
43
|
-
console.log("[DEBUG] MockWhen - andWhen - result:", JSON.stringify(result));
|
|
44
|
-
return result;
|
|
45
|
-
}
|
|
46
|
-
addArtifact(name, content) {
|
|
47
|
-
return this;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
var MockThen = class extends BaseThen {
|
|
51
|
-
async butThen(store, thenCB, testResourceConfiguration, pm) {
|
|
52
|
-
console.log(
|
|
53
|
-
"[DEBUG] MockThen - butThen - input store:",
|
|
54
|
-
JSON.stringify(store)
|
|
55
|
-
);
|
|
56
|
-
if (!store) {
|
|
57
|
-
throw new Error("Store is undefined in butThen");
|
|
58
|
-
}
|
|
59
|
-
const testSelection = {
|
|
60
|
-
name: store.name,
|
|
61
|
-
index: store.index,
|
|
62
|
-
testSelection: store.testSelection || false,
|
|
63
|
-
error: store.error ? true : void 0
|
|
64
|
-
};
|
|
65
|
-
console.log(
|
|
66
|
-
"[DEBUG] MockThen - passing testSelection:",
|
|
67
|
-
JSON.stringify(testSelection)
|
|
68
|
-
);
|
|
69
|
-
try {
|
|
70
|
-
const result = await thenCB(testSelection);
|
|
71
|
-
console.log(
|
|
72
|
-
"[DEBUG] MockThen - received result:",
|
|
73
|
-
JSON.stringify(result)
|
|
74
|
-
);
|
|
75
|
-
if (!result || typeof result.testSelection === "undefined") {
|
|
76
|
-
throw new Error(
|
|
77
|
-
`Invalid test selection result: ${JSON.stringify(result)}`
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
return result;
|
|
81
|
-
} catch (e) {
|
|
82
|
-
console.error("[ERROR] MockThen - butThen failed:", e);
|
|
83
|
-
throw e;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
var MockSuite = class extends BaseSuite {
|
|
88
|
-
constructor(name, index) {
|
|
89
|
-
if (!name) {
|
|
90
|
-
throw new Error("MockSuite requires a non-empty name");
|
|
91
|
-
}
|
|
92
|
-
console.log("[DEBUG] Creating MockSuite with name:", name, "index:", index);
|
|
93
|
-
const suiteName = name || "testSuite";
|
|
94
|
-
super(suiteName, index, {
|
|
95
|
-
testGiven: new MockGiven(
|
|
96
|
-
"testGiven",
|
|
97
|
-
["testFeature"],
|
|
98
|
-
[new MockWhen("testWhen", () => Promise.resolve({ testStore: true }))],
|
|
99
|
-
[
|
|
100
|
-
new MockThen(
|
|
101
|
-
"testThen",
|
|
102
|
-
async () => Promise.resolve({ testSelection: true })
|
|
103
|
-
)
|
|
104
|
-
]
|
|
105
|
-
)
|
|
106
|
-
});
|
|
107
|
-
console.log("[DEBUG] MockSuite created:", this.name, this.index);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export {
|
|
112
|
-
MockSuite
|
|
113
|
-
};
|