规格:如何配置环境变量
我想以我的测试应在本地使用我的AppSettings并使用keyVaults/pipeline环境变量在管道中运行时使用我的appsettings,以使我的测试应使用我的AppSettings,以使我的测试使用我的AppSettings,以使我想实现这一目标。 addjsonfile。任何线索都将不胜感激。谢谢。
I would like to configure environment variables like connection strings for my specflow tests in such a way that my tests should use my appsettings locally and use the values from keyvaults/pipeline environment variables while running in pipeline.I would like to achieve this without specifying any AddJsonFile. Any leads would be appreciated. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以设置环境变量:
You can set EnvironmentVariable:
Environment.SetEnvironmentVariable Method