January 2019
Intermediate to advanced
520 pages
14h 32m
English
You might be surprised, but for integration testing, we don't need a lot of dependencies, because we will use an HTTP client and the serde family of crates to serialize requests and deserialize responses:
cookie = "0.11"rand = "0.6"reqwest = "0.9"serde = "1.0"serde_derive = "1.0"serde_json = "1.0"uuid = { version = "0.5", features = ["serde", "v4"] }
Also, we need the uuid crate to generate unique values, and the cookie crate to support cookies in our HTTP requests, because integration tests have to keep the session to make a sequence of meaningful requests.
Read now
Unlock full access