0

I have a project with the code hosted in Azure DevOps and I'd like to start using the Pipelines feature to handle the builds.

My first problem is that I have a set of tests that use Azure storage emulator (I'm using Azure storage in my project). These tests fail on the build server, since there is no storage emulator in there.

What would be the recommended way to proceed?

  1. Configure the tests to run with a real Azure Storage account.
  2. Install the emulator somehow during the build (not sure if this is possible).
  3. Other.

Please note that I don't want to mock the interfaces and not use the Azure storage in the test implementation.

Thanks.

  • "These tests fail on the build server, since there is no storage emulator in there" - for what reason is it not there? Install the emulator somehow during the build - why "during the build"? Who has the control what is preinstalled on your build server? – Doc Brown Aug 25 at 14:40
  • @DocBrown Your questions are part of my my question. I don't have experience with Azure DevOps pipelines (the build server is not my server), so I'm asking how to approach this. Thanks. – Paul Aug 25 at 15:43
  • Ok, so this is seems to be a question for the Azure DevOps support. You should ask them there, since customer support questions for specific products or services are not welcome here. – Doc Brown Aug 25 at 17:00
  • 1
    I think its a good question. No doubt there a dozen ways of doing it, the question is looking for an expert answer from someone who has tried it out and can summerise how to best fit the azure toolset into the SDLC and CD – Ewan Aug 25 at 17:29
  • although.... what about this? stackoverflow.com/questions/33723795/… – Ewan Aug 25 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.