Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(tests): Decouple test env vars from trycmd code #2218

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

szokeasaurusrex
Copy link
Member

As a part of #2194, I intend to introduce the assert_cmd crate to have more control over how the assertions for the chunk upload tests are run. This control would be difficult to achieve with trycmd.

So, here, I am splitting off the logic for setting environment variables to make it also reusable for assert_cmd tests

@szokeasaurusrex szokeasaurusrex changed the base branch from master to szokeasaurusrex/fix-linter November 6, 2024 14:42
tests/integration/test_utils/env.rs Outdated Show resolved Hide resolved
Base automatically changed from szokeasaurusrex/fix-linter to master November 6, 2024 16:02
As a part of #2194, I intend to introduce the [`assert_cmd` crate](https://docs.rs/assert_cmd/latest/assert_cmd/) to have more control over how the assertions for the chunk upload tests are run. This control would be difficult to achieve with `trycmd`.

So, here, I am splitting off the logic for setting environment variables to make it also reusable for `assert_cmd` tests
@szokeasaurusrex szokeasaurusrex merged commit c46bb3c into master Nov 7, 2024
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/env-set-function branch November 7, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants