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 TemporaryEnvironmentVariable test fixture (to be used in a managed identity connection, for example) #166

Open
stijnmoreels opened this issue Jul 24, 2024 · 1 comment
Labels
area:core All issues related to al types of testing. nice-to-have All issues related to 'nice to have' features, implicitly with a low-prio.
Milestone

Comments

@stijnmoreels
Copy link
Member

Is your feature request related to a problem? Please describe.
I noticed that I had to implement the TemporaryEnvironmentVariable multiple times now for projects that need either managed identity connection or when the test locally starts up the app and sets certain variables.

Describe the solution you'd like
A test fixture called TemporaryEnvironmentVariable that temporary sets an environment variable during the lifetime of the fixture.
Should be in the Arcus.Testing.Core library.

@stijnmoreels stijnmoreels added area:core All issues related to al types of testing. nice-to-have All issues related to 'nice to have' features, implicitly with a low-prio. labels Jul 24, 2024
@stijnmoreels stijnmoreels added this to the v1.1 milestone Jul 24, 2024
@stijnmoreels
Copy link
Member Author

Closely related to this is a possible TemporaryMangedIdentityConnection test fixture that would build upon these temporary environment variables to temporary set a service principal managed identity connection to authenticate more easily with any additional Azure resource during the test run.

@github-project-automation github-project-automation bot moved this to To do in Roadmap Aug 29, 2024
@stijnmoreels stijnmoreels modified the milestones: v1.1, v1.2 Oct 16, 2024
@stijnmoreels stijnmoreels changed the title TemporaryEnvironmentVariable: test fixture for local development as well as managed identity connection TemporaryEnvironmentVariable: test fixture for local development as well as managed identity connection Oct 16, 2024
@stijnmoreels stijnmoreels modified the milestones: v1.2, v1.3 Nov 1, 2024
@stijnmoreels stijnmoreels changed the title TemporaryEnvironmentVariable: test fixture for local development as well as managed identity connection ✨ Add TemporaryEnvironmentVariable test fixture for local development as well as managed identity connection Nov 8, 2024
@stijnmoreels stijnmoreels changed the title ✨ Add TemporaryEnvironmentVariable test fixture for local development as well as managed identity connection ✨ Add TemporaryEnvironmentVariable test fixture (to be used in a managed identity connection, for example) Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core All issues related to al types of testing. nice-to-have All issues related to 'nice to have' features, implicitly with a low-prio.
Projects
Status: To do
Development

No branches or pull requests

1 participant