-
Notifications
You must be signed in to change notification settings - Fork 218
Support hybrid (browser + custom Dart server) tests #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The example Kevin is referring to is this one, where the test relies on the old |
More generally, I'd like support for setup that occurs outside the browser. This way I could spin up a set of Docker containers, a Dart server, or whatever else I need to setup for the browser test. |
@ErikGrimes oooo – I like that scenario. I hit it often myself. Keep in mind "custom server code" is anything you can run with |
I use grinder to run custom servers and https://pub.dartlang.org/packages/bwu_docker to run Docker containers before running |
@kevmoo Ahh, for some reason my brain translated custom server code to Dart only scripts! Are you open to PR's for this? A relatively straightforward approach would be to mimic the Process api. |
I don't think we're going to be able to design a satisfactory API here without some sort of plugin infrastructure being exposed. I want to sit on it for now. |
Closing this as a duplicate of #109. |
Sometimes you'd like to hit custom server code (written in Dart) from a browser test.
See pkg/http as an example.
The text was updated successfully, but these errors were encountered: