testeranto 0.159.0 → 0.161.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 (60) hide show
  1. package/dist/common/src/PM/PM_WithEslintAndTsc.js +8 -1
  2. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +13 -1
  3. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.mock.js +4 -1
  4. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.specification.js +6 -1
  5. package/dist/common/src/lib/classBuilder.test/classBuilder.test.implementation.js +9 -8
  6. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  7. package/dist/module/src/PM/PM_WithEslintAndTsc.js +8 -1
  8. package/dist/module/src/ProjectPage.js +128 -21
  9. package/dist/module/src/ProjectsPage.js +15 -9
  10. package/dist/module/src/TestPage.js +13 -1
  11. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +13 -1
  12. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.mock.js +4 -1
  13. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.specification.js +6 -1
  14. package/dist/module/src/lib/classBuilder.test/classBuilder.test.implementation.js +9 -8
  15. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  16. package/dist/prebuild/App.js +814 -376
  17. package/dist/prebuild/run.mjs +8 -1
  18. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  19. package/notify.sh +47 -0
  20. package/package.json +1 -1
  21. package/src/PM/PM_WithEslintAndTsc.ts +8 -1
  22. package/src/ProjectPage.tsx +204 -38
  23. package/src/ProjectsPage.tsx +23 -19
  24. package/src/TestPage.tsx +12 -1
  25. package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +15 -9
  26. package/src/lib/baseBuilder.test/baseBuilder.test.mock.ts +4 -1
  27. package/src/lib/baseBuilder.test/baseBuilder.test.specification.ts +6 -1
  28. package/src/lib/classBuilder.test/classBuilder.test.implementation.ts +8 -5
  29. package/testeranto/App.js +814 -376
  30. package/testeranto/bundles/node/allTests/metafile.json +15 -10
  31. package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +22 -5
  32. package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +7 -7
  33. package/testeranto/bundles/pure/allTests/metafile.json +7 -7
  34. package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +22 -5
  35. package/testeranto/bundles/web/allTests/metafile.json +7 -7
  36. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +22 -5
  37. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +4 -4
  38. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/message.txt +2 -1
  39. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +5 -0
  40. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +22 -19
  41. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +4 -4
  42. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/message.txt +2 -1
  43. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +5 -0
  44. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +22 -19
  45. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +4 -4
  46. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +1 -9
  47. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/message.txt +2 -1
  48. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +5 -0
  49. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +22 -19
  50. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/bdd_errors.txt +1 -0
  51. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +85 -23
  52. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/message.txt +2 -1
  53. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/prompt.txt +5 -0
  54. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/tests.json +24 -0
  55. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +13 -9
  56. package/testeranto/reports/allTests/summary.json +5 -5
  57. package/dist/module/src/BuildLogsPage.js +0 -99
  58. package/dist/module/src/Project.js +0 -332
  59. package/src/BuildLogsPage.tsx +0 -108
  60. package/src/Project.tsx +0 -375
@@ -357,7 +357,7 @@
357
357
  "format": "esm"
358
358
  },
359
359
  "src/lib/classBuilder.test/classBuilder.test.implementation.ts": {
360
- "bytes": 5476,
360
+ "bytes": 5711,
361
361
  "imports": [
362
362
  {
363
363
  "path": "stream",
@@ -374,6 +374,11 @@
374
374
  "kind": "import-statement",
375
375
  "original": "./mock"
376
376
  },
377
+ {
378
+ "path": "../classBuilder",
379
+ "kind": "import-statement",
380
+ "external": true
381
+ },
377
382
  {
378
383
  "path": "./classBuilder.test.types",
379
384
  "kind": "import-statement",
@@ -502,7 +507,7 @@
502
507
  "format": "esm"
503
508
  },
504
509
  "src/lib/baseBuilder.test/baseBuilder.test.specification.ts": {
505
- "bytes": 802,
510
+ "bytes": 930,
506
511
  "imports": [
507
512
  {
508
513
  "path": "../../CoreTypes",
@@ -518,7 +523,7 @@
518
523
  "format": "esm"
519
524
  },
520
525
  "src/lib/baseBuilder.test/baseBuilder.test.mock.ts": {
521
- "bytes": 1917,
526
+ "bytes": 2001,
522
527
  "imports": [
523
528
  {
524
529
  "path": "../../CoreTypes",
@@ -544,7 +549,7 @@
544
549
  "format": "esm"
545
550
  },
546
551
  "src/lib/baseBuilder.test/baseBuilder.test.implementation.ts": {
547
- "bytes": 3194,
552
+ "bytes": 3478,
548
553
  "imports": [
549
554
  {
550
555
  "path": "../../CoreTypes",
@@ -671,7 +676,7 @@
671
676
  "bytesInOutput": 1162
672
677
  },
673
678
  "src/lib/classBuilder.test/classBuilder.test.implementation.ts": {
674
- "bytesInOutput": 5074
679
+ "bytesInOutput": 5256
675
680
  },
676
681
  "src/lib/classBuilder.test/classBuilder.test.adapter.ts": {
677
682
  "bytesInOutput": 405
@@ -680,7 +685,7 @@
680
685
  "bytesInOutput": 124
681
686
  }
682
687
  },
683
- "bytes": 18251
688
+ "bytes": 18433
684
689
  },
685
690
  "testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs": {
686
691
  "imports": [
@@ -701,13 +706,13 @@
701
706
  "bytesInOutput": 862
702
707
  },
703
708
  "src/lib/baseBuilder.test/baseBuilder.test.specification.ts": {
704
- "bytesInOutput": 650
709
+ "bytesInOutput": 778
705
710
  },
706
711
  "src/lib/baseBuilder.test/baseBuilder.test.mock.ts": {
707
- "bytesInOutput": 927
712
+ "bytesInOutput": 977
708
713
  },
709
714
  "src/lib/baseBuilder.test/baseBuilder.test.implementation.ts": {
710
- "bytesInOutput": 2595
715
+ "bytesInOutput": 2885
711
716
  },
712
717
  "src/lib/baseBuilder.test/baseBuilder.test.adapter.ts": {
713
718
  "bytesInOutput": 373
@@ -716,7 +721,7 @@
716
721
  "bytesInOutput": 131
717
722
  }
718
723
  },
719
- "bytes": 9257
724
+ "bytes": 9725
720
725
  },
721
726
  "testeranto/bundles/node/allTests/chunk-4NYHHJ7H.mjs": {
722
727
  "imports": [],
@@ -176,7 +176,12 @@ var specification = (Suite, Given, When, Then) => {
176
176
  testInitialization: Given.Default(
177
177
  ["BaseBuilder should initialize correctly"],
178
178
  [],
179
- [Then.initializedProperly()]
179
+ [
180
+ Then.initializedProperly(),
181
+ Then.artifactsTracked(),
182
+ Then.jobsCreated(),
183
+ Then.specsGenerated()
184
+ ]
180
185
  ),
181
186
  testSpecsGeneration: Given.Default(
182
187
  ["BaseBuilder should generate specs from test specification"],
@@ -196,7 +201,9 @@ var specification = (Suite, Given, When, Then) => {
196
201
 
197
202
  // src/lib/baseBuilder.test/baseBuilder.test.mock.ts
198
203
  var MockBaseBuilder = class extends BaseBuilder {
199
- constructor(input, suitesOverrides = {}, givenOverrides = {}, whenOverrides = {}, thenOverrides = {}, testResourceRequirement = { ports: [] }, testSpecification = () => []) {
204
+ constructor(input, suitesOverrides = {}, givenOverrides = {}, whenOverrides = {}, thenOverrides = {}, testResourceRequirement = { ports: [0] }, testSpecification = () => []) {
205
+ this.artifacts = [];
206
+ this.testJobs = [];
200
207
  super(
201
208
  input,
202
209
  suitesOverrides,
@@ -239,16 +246,26 @@ var implementation = {
239
246
  },
240
247
  givens: {
241
248
  Default: () => {
242
- return new MockBaseBuilder(
243
- {},
249
+ const builder = new MockBaseBuilder(
244
250
  {},
251
+ // input
245
252
  {},
253
+ // suitesOverrides
246
254
  {},
255
+ // givenOverrides
247
256
  {},
257
+ // whenOverrides
248
258
  {},
249
- { ports: [] },
259
+ // thenOverrides
260
+ { ports: [0] },
261
+ // testResourceRequirement
250
262
  () => []
263
+ // testSpecification
251
264
  );
265
+ builder.artifacts = [];
266
+ builder.testJobs = [];
267
+ builder.specs = [];
268
+ return builder;
252
269
  },
253
270
  WithCustomInput: (input) => {
254
271
  return new MockBaseBuilder(
@@ -448,7 +448,8 @@ var implementation = {
448
448
  },
449
449
  givens: {
450
450
  Default: () => {
451
- return new TestClassBuilderMock(
451
+ console.log("Creating default test builder instance");
452
+ const builder = new TestClassBuilderMock(
452
453
  implementation,
453
454
  // Use the current implementation
454
455
  specification,
@@ -456,7 +457,6 @@ var implementation = {
456
457
  {},
457
458
  // Default input
458
459
  MockSuite,
459
- // class {}, // suiteKlasser
460
460
  class {
461
461
  },
462
462
  // givenKlasser
@@ -466,12 +466,11 @@ var implementation = {
466
466
  class {
467
467
  },
468
468
  // thenKlasser
469
- class {
470
- },
471
- // checkKlasser
472
469
  { ports: [] }
473
470
  // Default resource requirements
474
471
  );
472
+ console.log("Builder created:", builder);
473
+ return builder;
475
474
  },
476
475
  WithCustomInput: (input) => {
477
476
  return new TestClassBuilderMock(
@@ -569,8 +568,9 @@ var implementation = {
569
568
  },
570
569
  thens: {
571
570
  initializedProperly: () => (builder) => {
572
- if (!(builder instanceof TestClassBuilder)) {
573
- throw new Error("Builder was not properly initialized");
571
+ console.log("Checking builder initialization:", builder);
572
+ if (!(builder instanceof TestClassBuilderMock)) {
573
+ throw new Error(`Builder was not properly initialized. Expected mock instance but got ${builder?.constructor?.name}`);
574
574
  }
575
575
  return builder;
576
576
  },
@@ -360,7 +360,7 @@
360
360
  "format": "esm"
361
361
  },
362
362
  "src/lib/baseBuilder.test/baseBuilder.test.specification.ts": {
363
- "bytes": 802,
363
+ "bytes": 930,
364
364
  "imports": [
365
365
  {
366
366
  "path": "../../CoreTypes",
@@ -376,7 +376,7 @@
376
376
  "format": "esm"
377
377
  },
378
378
  "src/lib/baseBuilder.test/baseBuilder.test.mock.ts": {
379
- "bytes": 1917,
379
+ "bytes": 2001,
380
380
  "imports": [
381
381
  {
382
382
  "path": "../../CoreTypes",
@@ -402,7 +402,7 @@
402
402
  "format": "esm"
403
403
  },
404
404
  "src/lib/baseBuilder.test/baseBuilder.test.implementation.ts": {
405
- "bytes": 3194,
405
+ "bytes": 3478,
406
406
  "imports": [
407
407
  {
408
408
  "path": "../../CoreTypes",
@@ -524,13 +524,13 @@
524
524
  "bytesInOutput": 862
525
525
  },
526
526
  "src/lib/baseBuilder.test/baseBuilder.test.specification.ts": {
527
- "bytesInOutput": 650
527
+ "bytesInOutput": 778
528
528
  },
529
529
  "src/lib/baseBuilder.test/baseBuilder.test.mock.ts": {
530
- "bytesInOutput": 927
530
+ "bytesInOutput": 977
531
531
  },
532
532
  "src/lib/baseBuilder.test/baseBuilder.test.implementation.ts": {
533
- "bytesInOutput": 2595
533
+ "bytesInOutput": 2885
534
534
  },
535
535
  "src/lib/baseBuilder.test/baseBuilder.test.adapter.ts": {
536
536
  "bytesInOutput": 373
@@ -539,7 +539,7 @@
539
539
  "bytesInOutput": 131
540
540
  }
541
541
  },
542
- "bytes": 25213
542
+ "bytes": 25681
543
543
  }
544
544
  }
545
545
  }
@@ -815,7 +815,12 @@ var specification = (Suite, Given, When, Then) => {
815
815
  testInitialization: Given.Default(
816
816
  ["BaseBuilder should initialize correctly"],
817
817
  [],
818
- [Then.initializedProperly()]
818
+ [
819
+ Then.initializedProperly(),
820
+ Then.artifactsTracked(),
821
+ Then.jobsCreated(),
822
+ Then.specsGenerated()
823
+ ]
819
824
  ),
820
825
  testSpecsGeneration: Given.Default(
821
826
  ["BaseBuilder should generate specs from test specification"],
@@ -835,7 +840,9 @@ var specification = (Suite, Given, When, Then) => {
835
840
 
836
841
  // src/lib/baseBuilder.test/baseBuilder.test.mock.ts
837
842
  var MockBaseBuilder = class extends BaseBuilder {
838
- constructor(input, suitesOverrides = {}, givenOverrides = {}, whenOverrides = {}, thenOverrides = {}, testResourceRequirement = { ports: [] }, testSpecification = () => []) {
843
+ constructor(input, suitesOverrides = {}, givenOverrides = {}, whenOverrides = {}, thenOverrides = {}, testResourceRequirement = { ports: [0] }, testSpecification = () => []) {
844
+ this.artifacts = [];
845
+ this.testJobs = [];
839
846
  super(
840
847
  input,
841
848
  suitesOverrides,
@@ -878,16 +885,26 @@ var implementation = {
878
885
  },
879
886
  givens: {
880
887
  Default: () => {
881
- return new MockBaseBuilder(
882
- {},
888
+ const builder = new MockBaseBuilder(
883
889
  {},
890
+ // input
884
891
  {},
892
+ // suitesOverrides
885
893
  {},
894
+ // givenOverrides
886
895
  {},
896
+ // whenOverrides
887
897
  {},
888
- { ports: [] },
898
+ // thenOverrides
899
+ { ports: [0] },
900
+ // testResourceRequirement
889
901
  () => []
902
+ // testSpecification
890
903
  );
904
+ builder.artifacts = [];
905
+ builder.testJobs = [];
906
+ builder.specs = [];
907
+ return builder;
891
908
  },
892
909
  WithCustomInput: (input) => {
893
910
  return new MockBaseBuilder(
@@ -519,7 +519,7 @@
519
519
  "format": "esm"
520
520
  },
521
521
  "src/lib/baseBuilder.test/baseBuilder.test.specification.ts": {
522
- "bytes": 802,
522
+ "bytes": 930,
523
523
  "imports": [
524
524
  {
525
525
  "path": "../../CoreTypes",
@@ -550,7 +550,7 @@
550
550
  "format": "esm"
551
551
  },
552
552
  "src/lib/baseBuilder.test/baseBuilder.test.mock.ts": {
553
- "bytes": 1917,
553
+ "bytes": 2001,
554
554
  "imports": [
555
555
  {
556
556
  "path": "../../CoreTypes",
@@ -591,7 +591,7 @@
591
591
  "format": "esm"
592
592
  },
593
593
  "src/lib/baseBuilder.test/baseBuilder.test.implementation.ts": {
594
- "bytes": 3194,
594
+ "bytes": 3478,
595
595
  "imports": [
596
596
  {
597
597
  "path": "../../CoreTypes",
@@ -758,13 +758,13 @@
758
758
  "bytesInOutput": 1710
759
759
  },
760
760
  "src/lib/baseBuilder.test/baseBuilder.test.specification.ts": {
761
- "bytesInOutput": 650
761
+ "bytesInOutput": 778
762
762
  },
763
763
  "src/lib/baseBuilder.test/baseBuilder.test.mock.ts": {
764
- "bytesInOutput": 927
764
+ "bytesInOutput": 977
765
765
  },
766
766
  "src/lib/baseBuilder.test/baseBuilder.test.implementation.ts": {
767
- "bytesInOutput": 2595
767
+ "bytesInOutput": 2885
768
768
  },
769
769
  "src/lib/baseBuilder.test/baseBuilder.test.adapter.ts": {
770
770
  "bytesInOutput": 373
@@ -773,7 +773,7 @@
773
773
  "bytesInOutput": 129
774
774
  }
775
775
  },
776
- "bytes": 25925
776
+ "bytes": 26393
777
777
  }
778
778
  }
779
779
  }
@@ -837,7 +837,12 @@ var specification = (Suite, Given, When, Then) => {
837
837
  testInitialization: Given.Default(
838
838
  ["BaseBuilder should initialize correctly"],
839
839
  [],
840
- [Then.initializedProperly()]
840
+ [
841
+ Then.initializedProperly(),
842
+ Then.artifactsTracked(),
843
+ Then.jobsCreated(),
844
+ Then.specsGenerated()
845
+ ]
841
846
  ),
842
847
  testSpecsGeneration: Given.Default(
843
848
  ["BaseBuilder should generate specs from test specification"],
@@ -857,7 +862,9 @@ var specification = (Suite, Given, When, Then) => {
857
862
 
858
863
  // src/lib/baseBuilder.test/baseBuilder.test.mock.ts
859
864
  var MockBaseBuilder = class extends BaseBuilder {
860
- constructor(input, suitesOverrides = {}, givenOverrides = {}, whenOverrides = {}, thenOverrides = {}, testResourceRequirement = { ports: [] }, testSpecification = () => []) {
865
+ constructor(input, suitesOverrides = {}, givenOverrides = {}, whenOverrides = {}, thenOverrides = {}, testResourceRequirement = { ports: [0] }, testSpecification = () => []) {
866
+ this.artifacts = [];
867
+ this.testJobs = [];
861
868
  super(
862
869
  input,
863
870
  suitesOverrides,
@@ -900,16 +907,26 @@ var implementation = {
900
907
  },
901
908
  givens: {
902
909
  Default: () => {
903
- return new MockBaseBuilder(
904
- {},
910
+ const builder = new MockBaseBuilder(
905
911
  {},
912
+ // input
906
913
  {},
914
+ // suitesOverrides
907
915
  {},
916
+ // givenOverrides
908
917
  {},
918
+ // whenOverrides
909
919
  {},
910
- { ports: [] },
920
+ // thenOverrides
921
+ { ports: [0] },
922
+ // testResourceRequirement
911
923
  () => []
924
+ // testSpecification
912
925
  );
926
+ builder.artifacts = [];
927
+ builder.testJobs = [];
928
+ builder.specs = [];
929
+ return builder;
913
930
  },
914
931
  WithCustomInput: (input) => {
915
932
  return new MockBaseBuilder(
@@ -32,10 +32,10 @@ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts
32
32
  - If you want a type meaning "any value", you probably want `unknown` instead. (@typescript-eslint/no-empty-object-type)
33
33
  - undefined (fix)
34
34
  - undefined (fix)
35
- 29:30 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
35
+ 35:30 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
36
36
  - undefined (fix)
37
37
  - undefined (fix)
38
- 56:37 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
38
+ 62:37 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
39
39
  - undefined (fix)
40
40
  - undefined (fix)
41
41
 
@@ -86,10 +86,10 @@ src/lib/baseBuilder.test/baseBuilder.test.mock.ts
86
86
  42:74 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
87
87
  - undefined (fix)
88
88
  - undefined (fix)
89
- 62:32 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
89
+ 65:32 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
90
90
  - undefined (fix)
91
91
  - undefined (fix)
92
- 62:46 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
92
+ 65:46 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
93
93
  - undefined (fix)
94
94
  - undefined (fix)
95
95
 
@@ -1 +1,2 @@
1
- Fix the failing tests described in testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json and testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt. DO NOT refactor beyond what is necessary. Always prefer minimal changes, focusing mostly on keeping the BDD tests passing
1
+
2
+ Fix the failing tests described in testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json and testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt. Focus on the bdd tests before all other concerns. You may add any debugging you think is necessary.
@@ -7,6 +7,11 @@
7
7
  /add src/lib/baseBuilder.test/baseBuilder.test.adapter.ts
8
8
  /add src/lib/baseBuilder.test/baseBuilder.test.node.ts
9
9
 
10
+ /read node_modules/testeranto/docs/index.md
11
+ /read node_modules/testeranto/docs/style.md
12
+ /read node_modules/testeranto/docs/testing.ai.txt
13
+ /read node_modules/testeranto/src/CoreTypes.ts
14
+
10
15
  /read testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json
11
16
  /read testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt
12
17
  /read testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt
@@ -4,51 +4,54 @@
4
4
  /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (17,5): Type '() => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '(...Ig: any) => () => BaseBuilder<any, any, any, any, any, any>'.
5
5
  Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '() => BaseBuilder<any, any, any, any, any, any>'.
6
6
  Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' provides no match for the signature '(): BaseBuilder<any, any, any, any, any, any>'.
7
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (26,9): Expected 1-7 arguments, but got 8.
8
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (29,5): Type '(input: any) => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '(...Ig: any) => () => BaseBuilder<any, any, any, any, any, any>'.
7
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (24,11): Type 'number[]' is not assignable to type 'number'.
8
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (35,5): Type '(input: any) => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '(...Ig: any) => () => BaseBuilder<any, any, any, any, any, any>'.
9
9
  Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '() => BaseBuilder<any, any, any, any, any, any>'.
10
10
  Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' provides no match for the signature '(): BaseBuilder<any, any, any, any, any, any>'.
11
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (38,9): Expected 1-7 arguments, but got 8.
12
- /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 '(...Ig: any) => () => BaseBuilder<any, any, any, any, any, any>'.
11
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (44,9): Expected 1-7 arguments, but got 8.
12
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (47,5): Type '(requirements: ITTestResourceRequest) => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '(...Ig: any) => () => BaseBuilder<any, any, any, any, any, any>'.
13
13
  Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '() => BaseBuilder<any, any, any, any, any, any>'.
14
14
  Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' provides no match for the signature '(): BaseBuilder<any, any, any, any, any, any>'.
15
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (50,9): Expected 1-7 arguments, but got 8.
16
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (56,5): Type '(artifact: Promise<any>) => (builder: TestSubject) => TestSubject' is not assignable to type '(...Iw: any) => (zel: BaseBuilder<any, any, any, any, any, any>, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>'.
15
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (56,9): Expected 1-7 arguments, but got 8.
16
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (62,5): Type '(artifact: Promise<any>) => (builder: TestSubject) => TestSubject' is not assignable to type '(...Iw: any) => (zel: BaseBuilder<any, any, any, any, any, any>, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>'.
17
17
  Call signature return types '(builder: TestSubject) => TestSubject' and '(zel: BaseBuilder<any, any, any, any, any, any>, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>' are incompatible.
18
18
  Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' is missing the following properties from type 'Promise<(store: any) => any>': then, catch, finally, [Symbol.toStringTag]
19
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (60,5): Type '(jobs: ITestJob[]) => (builder: TestSubject) => TestSubject' is not assignable to type '(...Iw: any) => (zel: BaseBuilder<any, any, any, any, any, any>, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>'.
19
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (66,5): Type '(jobs: ITestJob[]) => (builder: TestSubject) => TestSubject' is not assignable to type '(...Iw: any) => (zel: BaseBuilder<any, any, any, any, any, any>, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>'.
20
20
  Call signature return types '(builder: TestSubject) => TestSubject' and '(zel: BaseBuilder<any, any, any, any, any, any>, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>' are incompatible.
21
21
  Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' is missing the following properties from type 'Promise<(store: any) => any>': then, catch, finally, [Symbol.toStringTag]
22
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (60,25): Cannot find name 'ITestJob'.
23
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (67,32): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
22
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (66,25): Cannot find name 'ITestJob'.
23
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (73,32): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
24
24
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
25
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 (73,27): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
26
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (79,27): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
27
27
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
28
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 (79,24): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
29
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (85,24): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
30
30
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
31
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.test/baseBuilder.test.implementation.ts (85,29): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
32
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (91,29): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
33
33
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
34
34
  Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
35
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (91,36): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
36
- Type 'TestSubject' is not assignable to type '(store: any) => any'.
37
- Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
38
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (97,38): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
35
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (97,36): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
39
36
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
40
37
  Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
41
38
  /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (103,38): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
42
39
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
43
40
  Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
44
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (109,37): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
41
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (109,38): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
45
42
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
46
43
  Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
47
44
  /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (115,37): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
48
45
  Type 'TestSubject' is not assignable to type '(store: any) => any'.
49
46
  Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
50
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.mock.ts (43,56): Type 'never[]' is not assignable to type 'number'.
51
- /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.specification.ts (31,7): Expected 2 arguments, but got 3.
47
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts (121,37): Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
48
+ Type 'TestSubject' is not assignable to type '(store: any) => any'.
49
+ Type 'MockBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
50
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.mock.ts (34,3): A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers.
51
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.mock.ts (43,56): Type 'number[]' is not assignable to type 'number'.
52
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.mock.ts (47,5): 'super' must be called before accessing 'this' in the constructor of a derived class.
53
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.mock.ts (48,5): 'super' must be called before accessing 'this' in the constructor of a derived class.
54
+ /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.specification.ts (36,7): Expected 2 arguments, but got 3.
52
55
  /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.types.ts (3,10): Module '"./baseBuilder.test.mock"' has no exported member 'TestBaseBuilder'.
53
56
  /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.types.ts (7,3): Cannot find name 'BaseBuilder'.
54
57
  /Users/adam/Code/testeranto/src/lib/baseBuilder.test/baseBuilder.test.types.ts (8,3): Cannot find name 'BaseBuilder'.
@@ -35,10 +35,10 @@ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts
35
35
  - If you want a type meaning "any value", you probably want `unknown` instead. (@typescript-eslint/no-empty-object-type)
36
36
  - undefined (fix)
37
37
  - undefined (fix)
38
- 29:30 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
38
+ 35:30 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
39
39
  - undefined (fix)
40
40
  - undefined (fix)
41
- 56:37 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
41
+ 62:37 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
42
42
  - undefined (fix)
43
43
  - undefined (fix)
44
44
 
@@ -89,10 +89,10 @@ src/lib/baseBuilder.test/baseBuilder.test.mock.ts
89
89
  42:74 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
90
90
  - undefined (fix)
91
91
  - undefined (fix)
92
- 62:32 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
92
+ 65:32 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
93
93
  - undefined (fix)
94
94
  - undefined (fix)
95
- 62:46 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
95
+ 65:46 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
96
96
  - undefined (fix)
97
97
  - undefined (fix)
98
98
 
@@ -1 +1,2 @@
1
- Fix the failing tests described in testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/tests.json and testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/logs.txt. DO NOT refactor beyond what is necessary. Always prefer minimal changes, focusing mostly on keeping the BDD tests passing
1
+
2
+ Fix the failing tests described in testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/tests.json and testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/logs.txt. Focus on the bdd tests before all other concerns. You may add any debugging you think is necessary.
@@ -15,6 +15,11 @@
15
15
  /add src/lib/baseBuilder.test/baseBuilder.test.adapter.ts
16
16
  /add src/lib/baseBuilder.test/baseBuilder.test.pure.ts
17
17
 
18
+ /read node_modules/testeranto/docs/index.md
19
+ /read node_modules/testeranto/docs/style.md
20
+ /read node_modules/testeranto/docs/testing.ai.txt
21
+ /read node_modules/testeranto/src/CoreTypes.ts
22
+
18
23
  /read testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/tests.json
19
24
  /read testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/logs.txt
20
25
  /read testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt