11 releases (6 stable)

1.5.0 Jan 7, 2025
1.4.0 Oct 18, 2024
1.3.0 Sep 20, 2024
1.2.0 Jul 30, 2024
0.8.1 Mar 1, 2024

#2 in #odra

Download history 3/week @ 2024-10-26 17/week @ 2024-11-02 2/week @ 2024-11-09 24/week @ 2024-11-16 6/week @ 2024-11-23 43/week @ 2024-12-07 1/week @ 2024-12-14 116/week @ 2025-01-04 16/week @ 2025-01-11 70/week @ 2025-02-08

70 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

~21–33MB
~571K SLoC