Add in-browser/webdriver hybrid test runner#76
Conversation
|
FYI: This pull request implements hybrid testing: tests that are run in a browser started via webdriver and have access to the webdriver that started them. They are useful because in-browser tests are great until you need to start working with input (mouse/keyboard) events, at which point webdriver has the advantage. The main takeaway here is that this provides an example of the sort of extension/customization that at least one user (me) would like to see supported in test:
Currently to do this, I had to copy src/executable.dart (changed to use my version of src/runner/loader.dart), src/runner/loader.dart (changes to use my version of server.dart), and src/runner/browser/server.dart (added new handler and switched the browser launching implementation). |
|
Thanks for looking into this! It's really valuable to know what extension points people need.
This isn't a use-case we'd considered; I've filed dart-lang/test#109 to track it.
We've already got dart-lang/test#99 tracking this 😺.
This is fine for pre-release stuff, but are you planning on releasing a stable version of this code before the test infrastructure is in place to support it? |
|
Thanks for the feedback @nex3
—
|
Awesome, much appreciated. |
No description provided.