testeranto 0.125.3 → 0.129.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 (99) hide show
  1. package/README.md +248 -6
  2. package/dist/common/src/Node.js +5 -0
  3. package/dist/common/src/PM/base.js +6 -0
  4. package/dist/common/src/PM/index.js +0 -1
  5. package/dist/common/src/PM/main.js +84 -22
  6. package/dist/common/src/PM/web.js +1 -1
  7. package/dist/common/src/ReportServer.js +39 -2
  8. package/dist/common/src/build.js +41 -6
  9. package/dist/common/src/lib/abstractBase.js +22 -107
  10. package/dist/common/src/lib/basebuilder.js +20 -21
  11. package/dist/common/src/lib/classBuilder.js +12 -1
  12. package/dist/common/src/lib/core.js +1 -8
  13. package/dist/common/src/lib/index.js +2 -5
  14. package/dist/common/src/lib/pmProxy.js +294 -0
  15. package/dist/common/testeranto.config.js +43 -34
  16. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  17. package/dist/module/src/Node.js +5 -0
  18. package/dist/module/src/PM/base.js +6 -0
  19. package/dist/module/src/PM/index.js +0 -1
  20. package/dist/module/src/PM/main.js +84 -22
  21. package/dist/module/src/PM/web.js +1 -1
  22. package/dist/module/src/Project.js +6 -6
  23. package/dist/module/src/ReportClient.js +3 -3
  24. package/dist/module/src/ReportServer.js +39 -2
  25. package/dist/module/src/build.js +41 -6
  26. package/dist/module/src/lib/abstractBase.js +22 -107
  27. package/dist/module/src/lib/basebuilder.js +20 -21
  28. package/dist/module/src/lib/classBuilder.js +12 -1
  29. package/dist/module/src/lib/core.js +1 -8
  30. package/dist/module/src/lib/index.js +2 -5
  31. package/dist/module/src/lib/pmProxy.js +285 -0
  32. package/dist/module/testeranto.config.js +40 -34
  33. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  34. package/dist/prebuild/Project.css +1 -26
  35. package/dist/prebuild/Project.js +4 -4
  36. package/dist/prebuild/ReportClient.css +1 -26
  37. package/dist/prebuild/ReportClient.js +3 -3
  38. package/dist/prebuild/ReportServer.mjs +1 -2
  39. package/dist/prebuild/TestReport.css +1 -26
  40. package/dist/prebuild/build.mjs +42 -7
  41. package/dist/prebuild/run.mjs +95 -20
  42. package/dist/tsconfig.tsbuildinfo +1 -1
  43. package/dist/types/src/PM/web.d.ts +1 -1
  44. package/dist/types/src/Types.d.ts +2 -1
  45. package/dist/types/src/lib/abstractBase.d.ts +4 -6
  46. package/dist/types/src/lib/index.d.ts +1 -1
  47. package/dist/types/src/lib/pmProxy.d.ts +7 -0
  48. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  49. package/package.json +14 -7
  50. package/src/Init.ts +1 -0
  51. package/src/Node.ts +6 -0
  52. package/src/PM/base.ts +8 -0
  53. package/src/PM/index.ts +2 -7
  54. package/src/PM/main.ts +128 -26
  55. package/src/PM/web.ts +3 -3
  56. package/src/Project.tsx +6 -6
  57. package/src/ReportClient.tsx +3 -3
  58. package/src/ReportServer.ts +43 -2
  59. package/src/Types.ts +3 -2
  60. package/src/build.ts +47 -6
  61. package/src/lib/abstractBase.ts +45 -184
  62. package/src/lib/basebuilder.ts +25 -28
  63. package/src/lib/classBuilder.ts +13 -2
  64. package/src/lib/core.ts +10 -14
  65. package/src/lib/index.ts +6 -29
  66. package/src/lib/pmProxy.ts +366 -0
  67. package/testeranto/bundles/node/{react → redux}/metafile.json +186 -254
  68. package/testeranto/bundles/pure/redux/metafile.json +554 -0
  69. package/testeranto/bundles/web/redux/metafile.json +504 -0
  70. package/testeranto/bundles/web/{react/src/SubPackages/react-test-renderer/component → redux}/test/web.html +1 -1
  71. package/testeranto/index.html +1 -1
  72. package/testeranto/reports/{react → redux}/config.json +26 -10
  73. package/testeranto/reports/{react → redux}/index.html +5 -5
  74. package/testeranto/reports/redux/summary.json +20 -0
  75. package/testeranto.config.ts +46 -34
  76. package/tsc.log +3 -1
  77. package/testeranto/bundles/node/react/src/SubPackages/react-test-renderer/component/test/node.mjs +0 -24687
  78. package/testeranto/bundles/pure/react/metafile.json +0 -8
  79. package/testeranto/bundles/pure/react/src/SubPackages/react-test-renderer/component/test/pure.mjs +0 -24625
  80. package/testeranto/bundles/web/react/metafile.json +0 -8
  81. package/testeranto/bundles/web/react/src/SubPackages/react-test-renderer/component/test/web.mjs +0 -21290
  82. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/node/node/console_log.txt +0 -0
  83. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/bdd_errors.txt +0 -1
  84. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/featurePrompt.txt +0 -0
  85. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/lint_errors.json +0 -3381
  86. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/littleBoard.html +0 -20
  87. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/log.txt +0 -40
  88. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/prompt.txt +0 -24
  89. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/tests.json +0 -132
  90. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/pure/pure/type_errors.txt +0 -17
  91. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/bdd_errors.txt +0 -1
  92. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/console_log.txt +0 -1
  93. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/lint_errors.json +0 -2947
  94. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/littleBoard.html +0 -20
  95. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/log.txt +0 -40
  96. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/prompt.txt +0 -23
  97. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/tests.json +0 -132
  98. package/testeranto/reports/react/src/SubPackages/react-test-renderer/component/test/web/web/type_errors.txt +0 -18
  99. package/testeranto/reports/react/summary.json +0 -8
@@ -1,45 +1,57 @@
1
1
  import { IProject } from "./src/Types";
2
2
 
3
+ import redux from "testeranto_with_reduxjs_toolkit/testeranto.config";
4
+ import solidity from "testeranto-solidity/testeranto.config";
5
+
3
6
  const config: IProject = {
4
7
  projects: {
5
- react: {
6
- src: "src",
8
+ redux: {
9
+ ...redux.projects.allTests,
10
+ src: "node_modules/testeranto_with_reduxjs_toolkit",
11
+ },
12
+ // solidity: {
13
+ // ...solidity.projects.solidity,
14
+ // src: "node_modules/testeranto-solidity",
15
+ // },
7
16
 
8
- debugger: false,
9
- minify: false,
10
- clearScreen: false,
11
- externals: [],
12
- ports: [],
17
+ // react: {
18
+ // src: "src",
13
19
 
14
- featureIngestor: async function (s: string) {
15
- return "";
16
- },
20
+ // debugger: false,
21
+ // minify: false,
22
+ // clearScreen: false,
23
+ // externals: [],
24
+ // ports: [],
17
25
 
18
- tests: [
19
- [
20
- "./src/SubPackages/react-test-renderer/component/test/node.ts",
21
- "node",
22
- { ports: 0 },
23
- [],
24
- ],
25
- // [
26
- // "./src/SubPackages/react-test-renderer/component/test/web.ts",
27
- // "web",
28
- // { ports: 0 },
29
- // [],
30
- // ],
31
- // [
32
- // "./src/SubPackages/react-test-renderer/component/test/pure.ts",
33
- // "pure",
34
- // { ports: 0 },
35
- // [],
36
- // ],
37
- ],
26
+ // featureIngestor: async function (s: string) {
27
+ // return "";
28
+ // },
38
29
 
39
- webPlugins: [],
40
- nodePlugins: [],
41
- importPlugins: [],
42
- },
30
+ // tests: [
31
+ // [
32
+ // "./src/SubPackages/react-test-renderer/component/test/node.ts",
33
+ // "node",
34
+ // { ports: 0 },
35
+ // [],
36
+ // ],
37
+ // // [
38
+ // // "./src/SubPackages/react-test-renderer/component/test/web.ts",
39
+ // // "web",
40
+ // // { ports: 0 },
41
+ // // [],
42
+ // // ],
43
+ // // [
44
+ // // "./src/SubPackages/react-test-renderer/component/test/pure.ts",
45
+ // // "pure",
46
+ // // { ports: 0 },
47
+ // // [],
48
+ // // ],
49
+ // ],
50
+
51
+ // webPlugins: [],
52
+ // nodePlugins: [],
53
+ // importPlugins: [],
54
+ // },
43
55
  },
44
56
  };
45
57
  export default config;
package/tsc.log CHANGED
@@ -1,10 +1,12 @@
1
1
  $ /Users/adam/Code/testeranto/node_modules/.bin/tsc --noEmit
2
+ ../testeranto-solidity/testeranto.config.ts(7,5): error TS2741: Property 'reportDomain' is missing in type '{ tests: [string, "node", { ports: number; }, never[]][]; clearScreen: false; debugger: false; externals: string[]; featureIngestor: (s: string) => Promise<string>; webPlugins: never[]; ... 4 more ...; src: string; }' but required in type 'ITestconfig'.
3
+ src/defaultConfig.ts(3,7): error TS2741: Property 'reportDomain' is missing in type '{ src: string; tests: never[]; debugger: true; clearScreen: false; minify: false; ports: string[]; externals: never[]; nodePlugins: never[]; webPlugins: never[]; importPlugins: never[]; featureIngestor: (s: string) => Promise<...>; }' but required in type 'ITestconfig'.
2
4
  src/lib/classBuilder.ts(40,60): error TS2339: Property 'suites' does not exist on type 'ITestImplementation<I, O, M>'.
3
5
  src/lib/classBuilder.ts(55,60): error TS2339: Property 'givens' does not exist on type 'ITestImplementation<I, O, M>'.
4
6
  src/lib/classBuilder.ts(64,32): error TS2339: Property 'givens' does not exist on type 'ITestImplementation<I, O, M>'.
5
7
  src/lib/classBuilder.ts(73,59): error TS2339: Property 'whens' does not exist on type 'ITestImplementation<I, O, M>'.
6
8
  src/lib/classBuilder.ts(86,59): error TS2339: Property 'thens' does not exist on type 'ITestImplementation<I, O, M>'.
7
- src/lib/classBuilder.ts(99,60): error TS2339: Property 'checks' does not exist on type 'ITestImplementation<I, O, M>'.
9
+ src/lib/classBuilder.ts(110,60): error TS2339: Property 'checks' does not exist on type 'ITestImplementation<I, O, M>'.
8
10
  src/Project.tsx(196,38): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.
9
11
  Property 'children' is missing in type 'FunctionComponentElement<{}>' but required in type 'ReactPortal'.
10
12
  src/ReportClient.tsx(166,38): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.