Azure / Azure/azure-init

Update ENV KVP tests to use `nextest` instead of `serial_test`

Open
#226 0 comments 0 reactions 1 assignee Claimed by @peytonr18 View on GitHub
Dominant language
Rust
Stars
16
Forks
20
Avg merge
2d 14h
Merged PRs (30d)
1

Description

Not a change you should make in this PR, but I recently hit a case on something I was working on that required writing to environment variables and what I did was switch to [nextest](https://nexte.st/). It has several nice properties, including each test is run in its own process, and there's even a nice section in their docs [that goes over the safety of altering environment variables](https://nexte.st/docs/configuration/env-vars/#altering-the-environment-within-tests). It also happens to have a lot of other nice features like enforcing timeouts on slow/deadlocked tests, for example.

Anyway, I think this looks good and depending on `serial_test` is fine, but `nextest` might provide a more pleasant experience.

_Originally posted by @jeremycline in https://github.com/Azure/azure-init/pull/225#pullrequestreview-3159654720_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.