Rocket/scripts
Jeb Rosen 560f0977d3 Revamp testing system for async.
* body_string_wait and body_bytes_wait are removed; use `.await` instead
* `dispatch()` is now an async fn and must be .await-ed
* Add `#[rocket::async_test]` macro, similar in purpose to `tokio::test`
* Tests now use either `rocket::async_test(async { })` or
  `#[rocket::async_test]` in order to `.await` the futures returned
  from `dispatch()` and `body_{string,bytes}()`
* Update 'test.sh' to reflect the tests that should be passing.

Broken:

* Cloned dispatch and mut_dispatch() with a live previous response now both fail, due to a (partial) check for mutable aliasing in LocalRequest.
* Some tests are still failing and need example-specific changes.
2020-07-11 09:24:28 -07:00
..
bump_version.sh Move to 0.5.0-dev on master. 2019-05-13 16:18:48 -07:00
config.sh Prefix release codenames with 'v'. 2020-02-29 18:19:54 -08:00
mk-docs.sh Inline macro docs into core crate. 2020-02-25 16:56:59 -08:00
publish.sh Test 'rocket_contrib' before publishing. 2018-11-30 21:00:18 -08:00
test.sh Revamp testing system for async. 2020-07-11 09:24:28 -07:00