Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

:white_check_mark: Test DAP Server

Đang mở
#5 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ptr25 đang làm issue này rồi.

Từ ngày 28/9/2026.

  • #494 của @ptr25 — đang mở

Đá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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, python
Lĩnh vực
ci-cd, devtools, testing

Hướng nghiên cứu

Bắt đầu bằng cách xác định entry point của máy chủ DAP và cấu hình pytest và CI hiện có. Thêm một pytest fixture kết nối một client hoạt động một phần với máy chủ, thực hiện các thông báo DAP điển hình và xác minh các phản hồi trong CI.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement good first issue
What's the problem this feature will solve?

Currently, the package has no tests for the DAP server, and the dap submodule is ignored by codecov. Changes to the structure of the Debugging backend could easily break the DAP server, and manually testing it can be cumbersome.

It would be great to have automated tests in the CI pipeline. However, to test the DAP Server, we practically need a semi-functional DAP client, which can be quite some work to implement.

Describe the solution you'd like

The perfect solution would be a pytest file that uses a fixture that sets up the communication between a DAP server instance and a client. In different test cases, the client would send typical messages to the server, and the test cases would check whether the returned responses are correct or not.

Ngôn ngữ chính
C++
Star
21
Fork
8
Merge trung bình
5 giờ 17 phút
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của munich-quantum-toolkit/debugger

Tất cả issue của munich-quantum-toolkit/debugger

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.