Skip to content

Figure out how to provide parameters to unit tests at build/run-time. #14856

Closed

Description

@pgavlin

The System.Net tests are likely to need this in order to provide some configurability for the servers used during testing.

Activity

  1. davidsh commented on Jul 16, 2015

    @davidsh
    Contributor
  2. CIPop commented on Jul 21, 2015

    @CIPop
    Contributor

    @davidsh Regarding the reference above: The only downside that I see is that it adds a dependency on System.Collections.Generic.

    A simpler alternative would be a TestConfig.cs file that can be checked in with default values and can be modified easily by executing a script. The downside to my proposal is that it will require writing scripts in Powershell and bash to generate C# code for the configuration. (This is somehow similar to how config.h is working in *NIX environments.)

  3. transferred this issue fromdotnet/corefxon Jan 31, 2020
  4. added this to the 1.0.0-rtm milestone on Jan 31, 2020
  5. ghost locked as resolved and limited conversation to collaborators on Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Infrastructure-librariesarea-System.Nettest-bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions