Hyper: Re-enable tests for 0.13

Created on 10 Jul 2019  路  5Comments  路  Source: hyperium/hyper

As part of merging #1836 (related to #1805), running the tests in CI was disabled. They should be re-enabled as we go along.

  • [x] The --lib tests
  • [x] benches directory
  • [x] tests/client
  • [x] tests/server
  • [x] tests/integration
A-tests E-easy

Most helpful comment

I'm going to close this, as almost all tests have been re-enabled. I've removed the warning about the missing tests in client/tests.rs, as re-writing them is rather tricky.

All 5 comments

The tests/client bit is done in #1881.

@seanmonstar or anyone else, could you pls also add an example on how to use the Service and MakeService trait?

(I'm on Hyper 0.12 and having a hard time to figure that out. I'd be happy if for 0.13 that to be more discoverable).

thanks :+1:

By the way: examples are of the essence for a library and I thank you so much for having written them! More of them, pls :-)

EDIT: https://stackoverflow.com/questions/57371130/hyper-0-12-x-implementing-service-for-a-struct

I think this is finally closed by https://github.com/hyperium/hyper/pull/1882

@Mathspy
Not really. Some tests under src/client are still disabled. Most related to a new mock service implementations.

I'm going to close this, as almost all tests have been re-enabled. I've removed the warning about the missing tests in client/tests.rs, as re-writing them is rather tricky.

Was this page helpful?
0 / 5 - 0 ratings