4 releases
0.0.4 | Apr 30, 2022 |
---|---|
0.0.3 | Apr 30, 2022 |
0.0.2 | Apr 30, 2022 |
0.0.1 | Apr 30, 2022 |
#2158 in Asynchronous
58 downloads per month
Used in unleash-yggdrasil
5KB
async-std-test
An alternate implementation of #[async_std::test]
which seeks to provide more useful error reporting feedback.
Available under the MIT License.
lib.rs
:
An alternate method of running async fn
tests. Meant for use with async-std
.
The only export in this crate is a procedural macro, async_test
.
It can be invoked as follows:
#[async_test]
async fn my_test() -> std::io::Result<()> {
assert_eq!(2 * 2, 4);
Ok(())
}
Dependencies
~1.5MB
~37K SLoC