Skip to content

Conversation

@DudaGod
Copy link
Member

@DudaGod DudaGod commented Sep 26, 2025

What is done

  • added the --repl-port cli option in order to be able to specify port on which create net server to be able to connect to repl server. If port is not specified then free port is engaged
  • add broadcast messages from all sockets and main terminal in order to be synchronized

@DudaGod DudaGod force-pushed the TESTPLANE-739.ability_connect_to_repl_port branch from 2491a6a to 7a133f4 Compare September 26, 2025 19:25
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 26, 2025

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1144

commit: 7a133f4

const testCwd = path.dirname(session.executionContext.ctx.currentTest.file!);
process.chdir(testCwd);

const replServer = await import("node:repl").then(m => m.start({ prompt: "> " }));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should return dynamic import here.

When its static, like you did it now, it is imported on each testplane run, even when repl is not used.

So it should be dynamic, so we could save some time when we dont need repl feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants