Unable to give inputes in debug console vs code while running junit with cucumber java project
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java, vscode
调研方向
首先使用提供的 Scanner 输入和 Debug Console 输出,在 VS Code 中重现 Maven JUnit/Cucumber 调试运行。调查调试会话如何处理标准输入以及报告的无法识别的 evaluate request;完成的标准是记录受支持的输入工作流,或确认并明确报告该限制。
由索引模型根据 Issue 内容生成。
描述
I'm using java maven selenium with cucumbe project. i need to give input like otp and some other input while executing the test case. In vs code unable to give, my test is running in Debug console so how should i give there.
Getting this issue
Fail or Pass
pass
Unrecognized request: { _request: evaluate }
can someone please help me on this issue.
my sample code
`package cucumber.Options;
import io.cucumber.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@io.cucumber.junit.CucumberOptions(features = "src/test/java/features/driverTesting.feature", glue = {
"stepDefinations" }, stepNotifications = true,
dryRun = false,
plugin= {"html:target/cucumber.html", "json:target/cucumber.json",
"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:",
"rerun:target/failed_scenarios.txt"}
)
public class DriverTesting {
}`
`Feature: Browser Driver Testing
Scenario: Verify the jenkins browser
Given Verify the browser in jenkins`
` @Given("Verify the browser in jenkins")
public void verifyTheBrowserInJenkins() throws InterruptedException, IOException {
Scanner scanner = context.objectManager.getScanner();
System.out.println("Fail or Pass");
TestContext.txn_status = scanner.nextLine();
System.err.println(TestContext.txn_status);
}`
- 主要语言
- TypeScript
- 星标
- 340
- 派生
- 173
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 17
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-java-test 的其他 Issue
-
ai-triaged bug investigating junit test-discovery test-execution
难度 4/5 3-5 天 新手友好度 42/100
microsoft/vscode-java-test#1897 · 1 条评论 ·
-
ai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · 2 条评论 · 已指派 1 人 ·
-
ai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · 3 条评论 · 已指派 1 人 ·
-
ai-triaged enhancement junit low-priority test-execution ui
难度 4/5 3-5 天 新手友好度 48/100
microsoft/vscode-java-test#1836 · 4 条评论 ·
-
ai-triaged enhancement gradle investigating junit low-priority test-reporting
难度 4/5 3-5 天 新手友好度 48/100
microsoft/vscode-java-test#1824 · 1 条评论 ·
查看 microsoft/vscode-java-test 的全部 Issue
相似的 Issue
-
comp/desktop P3 type/bug
难度 1/5 1 小时以内 新手友好度 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 85/100
getsentry/sentry-javascript#24577 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 68/100
chrisparsons83/flexspotff#153 ·