10 releases (5 stable)

1.4.0 Oct 18, 2024
1.3.0 Sep 20, 2024
1.2.0 Jul 30, 2024
1.1.0 Jun 17, 2024
0.8.0 Feb 6, 2024

#2 in #odra

Download history 33/week @ 2024-08-26 19/week @ 2024-09-02 156/week @ 2024-09-16 81/week @ 2024-09-23 103/week @ 2024-09-30 22/week @ 2024-10-07 159/week @ 2024-10-14 24/week @ 2024-10-21 1/week @ 2024-10-28 19/week @ 2024-11-04 28/week @ 2024-11-18 2/week @ 2024-11-25 44/week @ 2024-12-09

74 downloads per month
Used in odra-modules

MIT license

260KB
5.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–33MB
~558K SLoC