Remove substrate_test_utils::test (#1321)

* Directly use tokio::test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove old code

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Delete substrate-test-utils-test-crate

Also not needed anymore.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Oliver Tale-Yazdi
2023-08-31 12:48:39 +02:00
committed by GitHub
parent 80a19bec6a
commit dfc0d1bc83
17 changed files with 5 additions and 283 deletions
-20
View File
@@ -17,26 +17,6 @@
//! Test utils
#[doc(hidden)]
pub use futures;
/// Marks async function to be executed by an async runtime suitable to test environment.
///
/// # Requirements
///
/// You must have tokio in the `[dev-dependencies]` of your crate to use this macro.
///
/// # Example
///
/// ```
/// #[substrate_test_utils::test]
/// async fn basic_test() {
/// assert!(true);
/// }
/// ```
pub use substrate_test_utils_derive::test;
#[doc(hidden)]
pub use tokio;
/// Panic when the vectors are different, without taking the order into account.
///
/// # Examples