Condition xunit tests to presence of user secrets
Sometimes you need some API keys, connection strings and the like in order
to run your tests. If you’re using user secrets,
which is highly recommended, you can share your secrets with your tests
quite easily by moving the UserSecretsId MSBuild property to a Directory.Build.props.
[Read More]