Starting Azure Storage Emulator for tests

marco.braga's Avatar


05 Dec, 2014 10:18 AM

I've managed to start azure emulator for testing, so I'd like to share my solution here. :)

In reference to closed topic, I've decided to start the emulator in a setup fixture (single fixture for the entire test class). This allows the solution to work both locally and on AppVeyor.
My solution checks if the emulator is already running and, if needed, starts it. At the end of Azure Storage related tests, if the emulator was down before tests, stops it.

Gist here

Full credits to David Peden for sharing the AzureStorageEmulatorManager class!

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Dec, 2014 08:05 PM

    Feodor Fitsner's Avatar

    Wow, thanks for the great howto! Moving it to KB section.

  2. 2 Posted by Sean Feldman on 29 Jun, 2017 05:59 AM

    Sean Feldman's Avatar

    For Windows 10 the process name has changed to "AzureStorageEmulator".

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:18 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac