arcus-azure / arcus-azure/arcus.security

🧪 [Test]: use `TemporaryEnvironmentVariable` in Arcus.Testing.Core instead

Open
#449 1 comment 0 reactions 0 assignees View on GitHub
dependencies good first issue testing
Dominant language
C#
Stars
38
Forks
12
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Currently, we use a custom `TemporaryEnvironmentVariable` test fixture in the `.Tests.Core` project, while this is now by default suported in the 📦 **Arcus.Testing.Core** package.

**Describe the solution you'd like**
We should use the `TemporaryEnvironmentVariable` in the 📦 **Arcus.Testing.Core** package instead, so we don't burden ourselves with supporting additional test fixtures.

**Additional context**
We should install the v2.x of **Arcus.Testing.Core** in our `.Tests.Core` project.

Contributor guide

Open the contributing guide

Research direction

Start in the .Tests.Core project by locating its custom TemporaryEnvironmentVariable fixture and reviewing the Arcus.Testing.Core package reference. Update the project to use Arcus.Testing.Core v2.x instead, remove the redundant fixture usage, and run the .Tests.Core test suite to confirm the tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.