aquavm/crates/testing-framework/Cargo.toml
Ivan Boldyrev 076045124c
feat(testing) Testing framework chapter 1, asserts and comments (#342)
* seq_result` -> `seq_ok`; add `seq_err`

`seq_ok` and `seq_err` are consistent with `ok` and `err`, but produce
results sequentially.

* Accept `;;` and longer comments in the sexp parser

Currently they are just dropped, and resulting AIR has different
character positions in the error messages.

* Add "map" assertion

Lookup result in a map by service's first argument.
2022-10-11 01:05:20 +07:00

31 lines
763 B
TOML

[package]
name = "air-testing-framework"
version = "0.1.0"
description = "AquaVM testing framework"
authors = ["Fluence Labs"]
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/fluencelabs/aquavm/tree/master/crates/test-framework"
publish = false
keywords = ["fluence", "air", "test"]
[lib]
name = "air_test_framework"
path = "src/lib.rs"
[dependencies]
air-test-utils = { path = "../air-lib/test-utils" }
itertools = "0.10.4"
strum = { version="0.24.1", features=["derive"] }
nom = "7.1.1"
nom_locate = "4.0.0"
serde_json = "1.0.85"
[dev-dependencies]
maplit = "1.0.2"
pretty_assertions = "0.6.1"
# We do not want to depend on wasm binary path
air-test-utils = { path = "../air-lib/test-utils", features = ["test_with_native_code"] }