redhat-developer / redhat-developer/dotnet-bunny

Add support for filtering out environment variables

Open
#51 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

nice-to-have
Dominant language
C#
Stars
8
Forks
10
PR merge metrics
No merged PRs in 30d

Description

The test runner (this repository) as well as the test cases themselves are written in .NET.

Sometimes we will need to apply hacks/workarounds to get the test runner working, such as setting environment variables to control what the .NET runtime does, or what system library is loaded, or whether a library feature like invariant mode is enabled. We wouldn't generally want to pass these to the tests themselves, because we want the tests to run in a pristine environment, unaffected by hacks/workarounds applied to the test runner

We should do a few things:

  • Filter out some environment variables by default, such as those beginning with DOTNET_, and CLR_.
  • Maybe: a way to pass some of those variables along, basically, selectively undo'ing the previous point.
  • Let the user provide some additional environment variables to filter out via file or the command line.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing pull request #53 and locating the test runner's environment-handling and configuration or command-line entry points. Clarify whether default filtering, selective pass-through, and user-provided filters are all required, then add coverage showing the runner's variables stay isolated from test processes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.