h2
h2 copied to clipboard
Use Hypothesis' stateful testing to test interactions between stacks
Hypothesis has support for stateful testing: http://hypothesis.readthedocs.io/en/latest/stateful.html
It feels like this would be a good fit for testing the hyper-h2 state machine, and maybe more interactions betweeen multiple client/server instances, although I suspect it's probably non-trivial.
100% agreed.
(I haven't put much thought into how you'd go about doing this yet, but I want to try when I get a free moment.)