testeranto 0.219.4 → 0.219.5

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "testeranto",
3
3
  "displayName": "Testeranto",
4
4
  "description": "the Dockerized, AI powered, BDD test framework for polyglot projects",
5
- "version": "0.219.4",
5
+ "version": "0.219.5",
6
6
  "engines": {
7
7
  "node": ">=20.19.0",
8
8
  "vscode": "^1.60.0"
@@ -414,4 +414,4 @@
414
414
  "cucumber",
415
415
  "ATDD"
416
416
  ]
417
- }
417
+ }
@@ -28,9 +28,8 @@ const externalTests = true;
28
28
  export const nodeBuildCommand = (fpath: string) => {
29
29
 
30
30
  if (externalTests) {
31
- console.log("external tests")
32
- // return `yarn tsx /workspace/node_modules/testeranto/src/server/runtimes/node/node.ts /workspace/${fpath}`;
33
- return `ls node_modules/testeranto/src`
31
+ console.log("external tests", process.cwd())
32
+ return `yarn tsx node_modules/testeranto/src/server/runtimes/node/node.ts ${fpath}`;
34
33
  // return ["sh", "-c", "cd /workspace && javac -cp \".:lib/*\" src/server/runtimes/java/main.java && java -cp \"src/server/runtimes/java:.\" main"]
35
34
  } else {
36
35
  console.log("not external tests")
@@ -18,9 +18,11 @@ export default (
18
18
  if (config.node?.tests) {
19
19
  entrypoints = Object.keys(config.node.tests);
20
20
  } else {
21
+ console.log(config)
22
+ throw "config.node.tests should exist"
21
23
  // Fallback to a reasonable default
22
- entrypoints = ["./example/Calculator.test.ts"];
23
- console.warn(`No node.tests found in config, using default entry point: ${entrypoints[0]}`);
24
+ // entrypoints = ["./example/Calculator.test.ts"];
25
+ // console.warn(`No node.tests found in config, using default entry point: ${entrypoints[0]}`);
24
26
  }
25
27
 
26
28
  const { inputFilesPluginFactory, register } = inputFilesPlugin(
@@ -9,6 +9,8 @@ import {
9
9
  const configFilePath = process.argv[2];
10
10
  const testName = process.argv[3] || "allTests";
11
11
 
12
+ console.log(`[NODE BUILDER] configFilePath: ${configFilePath}`);
13
+
12
14
  // run esbuild in watch mode using esbuildConfigs. Write to fs the bundle and metafile
13
15
  async function startBundling(
14
16
  config: IBuiltConfig