dart-lang / dart-lang/webdev

Make DWDS test server more re-usable

Open
#1,779 2 comments 0 reactions 1 assignee Claimed by @elliette View on GitHub
P3 triaged
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

Currently DWDS' `TestServer` is only being used by `context.dart`. That's because so much set up is required for the parameters passed to `TestServer.start` that we are only doing so from the `TextContext` set up.

We should move a lot of that logic to `TestServer` itself so that it is lightweight to start with default arguments.

I would like to also make it accessible outside of the DWDS directory (that way we use the test server to start an app to connect to with the debug extension, and then move the debug extension tests to their own directory instead of the dwds directory)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.