I am unable to run tests marked with the async keyword using MSTest from the command-line. The same test runs OK from within Visual Studio. The error that I get is:
UTA007: Method TheTest defined in class Test does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, does not return a value and should not take any parameter. for example: public void Test.Class1.Test().
MSTest.exe is old command line test executor, in beta it does not support execution of async test methods.
We recommend you to use new command line test runner $(VSInstallDir)\Common7\IDE\CommonExtenstions\Microsoft\TestWindow\vstest.console.exe to execute your tests. Refer
http://msdn.microsoft.com/en-us/library/hh507838(v=vs.110).aspx for more info.
Developer, VSTLM, Microsoft Corporation