 <p>What you'll typically do in such a scenario is first create an interface, like ITableStorage and then create an implementation (AzureTableStorage for example) that wraps around the Azure specific stuff.</p> <p>This makes it easy to replace the actual implementation with a mock/stub during your unit tests. You can take a look at the Windows Azure Helpers for an example of such an interface and a wrapper implementation: <a href="http://azuretoolkit.codeplex.com/SourceControl/changeset/view/46c9fb9ff82a#Source/AzureToolkit/AzureTableBase.cs" rel="nofollow">Windows Azure Helpers</a>.</p> <p>This is a good blog post about unit testing and Windows Azure: <a href="http://blogs.southworks.net/fboerr/2010/07/23/windows-azure-storage-tdd-and-mocks/" rel="nofollow">http://blogs.southworks.net/fboerr/2010/07/23/windows-azure-storage-tdd-and-mocks/</a></p> <p>And to answer your question, yes you can use this with MSTest.</p>