6 releases (1 stable)
1.0.0 | May 23, 2024 |
---|---|
1.0.0-rc.1 | May 14, 2024 |
0.9.1 | Apr 15, 2024 |
0.8.1 | Mar 1, 2024 |
0.8.0 | Feb 6, 2024 |
#2125 in Magic Beans
242 downloads per month
Used in odra-modules
250KB
5K
SLoC
This crate provides a testing environment for the Odra VM.
It is meant to be used in the unit tests of the Odra contracts.
Example
#[test]
fn test() {
let env = odra_test::env();
let caller = env.get_account(0);
// Test your contract here.
}
Dependencies
~20–34MB
~588K SLoC