Skip to content

Commit 6f354d2

Browse files
build: Add assert_cmd as a dev dependency
The [`assert_cmd`](https://docs.rs/assert_cmd/latest/assert_cmd/) crate provides an interface which allows more fine-grained control over how an individual integration test is run compared with the `trycmd` crate we currently use everywhere. `assert_cmd` will help us write better integration tests for chunk uploading, which not only assert command output, but also ensure that the correct data is sent to the Sentry server (see #2194).
1 parent c46bb3c commit 6f354d2

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

Cargo.lock

Lines changed: 52 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ chrono-tz = "0.8.4"
8383
secrecy = "0.8.0"
8484

8585
[dev-dependencies]
86+
assert_cmd = "2.0.11"
8687
insta = { version = "1.26.0", features = ["redactions", "yaml"] }
8788
mockito = "0.31.1"
8889
predicates = "2.1.5"

0 commit comments

Comments
 (0)