Skip to content

Commit

Permalink
build: Add assert_cmd as a dev dependency
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
szokeasaurusrex committed Nov 6, 2024
1 parent 3a0b0e6 commit 9fef5c2
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
53 changes: 52 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ chrono-tz = "0.8.4"
secrecy = "0.8.0"

[dev-dependencies]
assert_cmd = "2.0.11"
insta = { version = "1.26.0", features = ["redactions", "yaml"] }
mockito = "0.31.1"
predicates = "2.1.5"
Expand Down

0 comments on commit 9fef5c2

Please sign in to comment.