In my azure-pipelines.yml file, I have this task:
- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
In my integration tests I use both MSQLLocalDB (that seems to work fine) and AzureStorageEmulator (that doesn't).
I would like to try this answer.
How can I add these commands:
sqllocaldb create MSSQLLocalDB
sqllocaldb start MSSQLLocalDB
sqllocaldb info MSSQLLocalDB
"C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start
to run before the test task to have a running instance of Azure Storage Emulator before the tests start?