Unable to give inputes in debug console vs code while running junit with cucumber java project
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java, vscode
- Lĩnh vực
- developer-experience, testing
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện phiên chạy debug Maven JUnit/Cucumber trong VS Code bằng đầu vào Scanner được cung cấp và đầu ra của Debug Console. Điều tra cách phiên debug xử lý đầu vào tiêu chuẩn và evaluate request không được nhận dạng đã được báo cáo; hoàn tất nghĩa là ghi lại workflow đầu vào được hỗ trợ hoặc xác nhận và báo cáo rõ ràng về giới hạn này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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);
}`
- Ngôn ngữ chính
- TypeScript
- Star
- 340
- Fork
- 173
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 18
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-java-test
-
ai-triaged bug high-priority investigating junit maven test-discovery
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-java-test#1915 · 2 bình luận ·
-
ai-triaged bug investigating junit test-discovery test-execution
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
microsoft/vscode-java-test#1897 · 1 bình luận ·
-
ai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · 2 bình luận · 1 người được giao ·
-
ai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · 3 bình luận · 1 người được giao ·
-
ai-triaged enhancement junit low-priority test-execution ui
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-java-test#1836 · 4 bình luận ·
Tất cả issue của microsoft/vscode-java-test
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BasedHardware/omi#15320 ·
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
vercel/vercel-plugin#199 ·