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.
Add the following lines to the Cargo.toml
:
[dev-dependencies]
exonum-testkit = "1.0.0"
For more details, see Exonum documentation.
See the tests and examples folders for examples of testing Exonum services with the testkit.
Licensed under the Apache License (Version 2.0). See LICENSE for details.