Skip to content

✅ Test DAP Server #5

Description

@DRovara

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions