Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for --config <path-to-testconfig.json> file #3562

Open
Evangelink opened this issue Aug 15, 2024 · 0 comments · May be fixed by #4124
Open

Add support for --config <path-to-testconfig.json> file #3562

Evangelink opened this issue Aug 15, 2024 · 0 comments · May be fixed by #4124
Assignees
Labels
Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library In-PR Type: Feature

Comments

@Evangelink
Copy link
Member

Summary

Add support for specifying a different configuration file.

Background and Motivation

Currently the platform will auto-detect a [appname].testconfig.json file and load it. As part of a multi-test project, I probably want to share the same config file for all/most/multiple of my test projects. Having the ability to provide the common configuration file would be really nice.

Proposed Feature

Add support for --config <path>.

Alternative Designs

  1. We could have each config file testconfig.json specifying a path to a common file to load but this is cumbersome as I need to create the config file for each of my test projects.

  2. We could use an auto-lookup mechanism, similar to request Lookup test configuration from a file #3559. This seems interesting but raise the question of merging of configs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library In-PR Type: Feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants