#test #blockchain #framework #exonum

dev exonum-testkit

Testkit for Exonum blockchain framework, allowing to test service APIs synchronously

21 releases (1 stable)

✓ Uses Rust 2018 edition

new 1.0.0 Mar 31, 2020
1.0.0-rc.1 Feb 7, 2020
0.13.0-rc.2 Dec 4, 2019
0.12.0 Aug 14, 2019
0.1.1 Dec 15, 2017

#3 in #exonum

Download history 197/week @ 2019-12-10 9/week @ 2019-12-17 20/week @ 2019-12-24 4/week @ 2019-12-31 176/week @ 2020-01-07 61/week @ 2020-01-14 20/week @ 2020-01-21 16/week @ 2020-01-28 47/week @ 2020-02-04 72/week @ 2020-02-11 105/week @ 2020-02-18 148/week @ 2020-02-25 57/week @ 2020-03-03 99/week @ 2020-03-10 88/week @ 2020-03-17 114/week @ 2020-03-24

337 downloads per month
Used in 8 crates

Apache-2.0 and MPL-2.0 licenses

2MB
35K SLoC

Testing Framework for Exonum Services

Travis Build Status Docs.rs License: Apache-2.0 rust 1.42.0+ required

Testkit for Exonum blockchain allows to test service operation. Specifically, it allows to test transaction execution and APIs in the synchronous environment (without consensus algorithm) and in the same process as the test code.

Usage

Add the following lines to the Cargo.toml:

[dev-dependencies]
exonum-testkit = "1.0.0"

For more details, see Exonum documentation.

Examples

See the tests and examples folders for examples of testing Exonum services with the testkit.

License

Licensed under the Apache License (Version 2.0). See LICENSE for details.

Dependencies

~48MB
~1M SLoC