Module imap::testing

source ·
Expand description

Enable the test_helpers feature to expose helper methods to build mock response structures for testing your code that uses the imap crate

To use add a dev-dependency on the imap extension adding the feature “test_helpers” e.g.

[dependencies]
imap = { version = "3.0" }

[dev-dependencies]
# mirror the same configuration your dependencies and add test_helpers
imap = { version = "3.0", features = ["test_helpers"] }

Modules§