[package]
edition = "2024"
rust-version = "1.95.0"
name = "test-better"
version = "0.2.1"
authors = ["Josh Burgess"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Result-returning tests with `?`: composable matchers, rich failure output, no `.unwrap()`."
readme = "README.md"
keywords = [
"testing",
"assertions",
"matchers",
"check",
]
categories = ["development-tools::testing"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshburgess/test-better"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async-std = ["test-better-matchers/async-std"]
default = ["diff"]
diff = ["test-better-matchers/diff"]
quickcheck = ["test-better-property/quickcheck"]
regex = ["test-better-matchers/regex"]
serde = ["test-better-core/serde"]
smol = ["test-better-matchers/smol"]
tokio = ["test-better-matchers/tokio"]
[lib]
name = "test_better"
path = "src/lib.rs"
[[test]]
name = "async_check"
path = "tests/async_check.rs"
[[test]]
name = "eventually"
path = "tests/eventually.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "property_quickcheck"
path = "tests/property_quickcheck.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "snapshot"
path = "tests/snapshot.rs"
[[test]]
name = "soft_assertions"
path = "tests/soft_assertions.rs"
[[test]]
name = "structural_matchers"
path = "tests/structural_matchers.rs"
[[test]]
name = "test_case"
path = "tests/test_case.rs"
[[test]]
name = "trace"
path = "tests/trace.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[bench]]
name = "check_overhead"
path = "benches/check_overhead.rs"
harness = false
[dependencies.test-better-core]
version = "0.2.1"
[dependencies.test-better-macros]
version = "0.2.1"
[dependencies.test-better-matchers]
version = "0.2.1"
default-features = false
[dependencies.test-better-property]
version = "0.2.1"
[dependencies.test-better-snapshot]
version = "0.2.1"
[dev-dependencies.pollster]
version = "0.4"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"time",
]
[dev-dependencies.trybuild]
version = "1.0"
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"