Closed d4h0 closed 4 years ago
I personally don't know of any tests aside from these: https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/http/tests/inspector-protocol/
@paulirish: Thank you. I will try to extract usable information from these tests.
Hello,
I'm working on a DevTools protocol client for Rust, and I'm wondering if there is some kind of test-suite that can be used to test clients.
For example, a JSON file with requests and expected responses would be useful.
With that, I could convert the supplied requests into code that uses my library and then check if the response matches.
I use the JSON files from this repo to automatically generate the types needed for the client (and writing tests by hand is therefore not really an option).
If there isn't a cross-language test-suite, is there some other test-suite?
If there is, for example, a test-suite for a JavaScript client, then maybe the following approach would be possible: