:white_check_mark: Test DAP Server
维护者通常 1 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
调研方向
首先定位 DAP 服务器入口点以及现有的 pytest 和 CI 配置。添加一个 pytest fixture,将一个半功能客户端连接到服务器,执行典型的 DAP 消息,并在 CI 中验证响应。
由索引模型根据 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.
- 主要语言
- C++
- 星标
- 21
- 派生
- 8
- 平均合并
- 6 小时 31 分钟
- 30 天内合并 PR
- 26
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
munich-quantum-toolkit/debugger 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 84/100
munich-quantum-toolkit/debugger#469 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 66/100
munich-quantum-toolkit/debugger#468 ·
维护者通常 1 天内回复
-
✨ Improve CLI UX: line editing, function-key shortcuts, and help bar可能已有人在做 @rturrado 于 40 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 35/100
munich-quantum-toolkit/debugger#467 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
munich-quantum-toolkit/debugger#465 ·
维护者通常 1 天内回复
-
c++ enhancement help wanted
难度 4/5 3-5 天 新手友好度 48/100
munich-quantum-toolkit/debugger#168 ·
维护者通常 1 天内回复
查看 munich-quantum-toolkit/debugger 的全部 Issue
相似的 Issue
-
extended_stabilizer: `std::pow(2, p/2.)` in `scalar_t::to_complex()` takes ~40% of runtime on Linux可能已有人在做 @mehmetniyazikayi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
Qiskit/qiskit-aer#2502 ·
维护者通常 1 天内回复
-
Test failure on FreeBSD: #26 unexpected system_clock source可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭low priority rt_lib tests
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
RobLoach/raylib-cpp#440 · 2 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复