Azure / Azure/azure-functions-host
Remove/address usage of `TestScopedEnvironmentVariable`
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
We should remove all usages of https://github.com/Azure/azure-functions-host/blob/dev/test/WebJobs.Script.Tests.Shared/TestScopedEnvironmentVariable.cs
Usage of this class is problematic as it still sets these variables for all other tests running concurrently.
If usage of this class **MUST** remain, then all tests using it need to be added to a collection to avoid running concurrently.
Contributor guide
Research direction
Start by inspecting test/WebJobs.Script.Tests.Shared/TestScopedEnvironmentVariable.cs and searching the test suite for every usage. Determine whether each usage can be removed or whether the affected tests must share a collection to prevent concurrent execution. Done means the class has no usages, or all remaining users are grouped to avoid running concurrently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100