Attribute Macro ockam_macros::vault_test
source · [−]#[vault_test]
Expand description
Expands to a test suite for a custom implementation of the vault traits.
The name of the test function must match one of the functions from the
ockam_vault_test_suite
crate.
Example of use:
ⓘ
use ockam_vault::Vault;
fn new_vault() -> Vault {
Vault::default()
}
#[ockam_macros::vault_test]
fn hkdf() {}