How To: Run Tests On Different Machines In Parallel

Wednesday, June 18, 2014

I’m getting this question a lot, how to run multiple tests on different machines in parallel? Every customer that I work with has over 100 tests and some has more than 1000+. So how to improve test execution time? running 1000+ tests can take a while and we want to get the results as fast as possible. So, for Unit Tests there is a nice trick (Wrote about it in 2010 –>Run Unit Tests in Parallel using Visual Studio 2010) that allow you to run those tests in parallel on the same machine. But what about Coded UI Tests? you most know we...

Unit Test Error – ERROR [IM014] [Microsoft][ODBC Driver Manager]

Monday, April 28, 2014

Visiting a customer we faced a strange problem running Coded UI with Excel Data Source: The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: ERROR The specified DSN contains an architecture mismatch between the Driver and Application The same test works on Windows 7 machines but received this error on Windows 8 64bit, So I start to investigating… First if opened odbcad32 (from Run command), I’ve noticed the “Excel Files” DSN exists but...

Could not load file or assembly ‘Microsoft.TeamFoundation.Client While Running Tests

Thursday, July 25, 2013

I know this sounds strange – What the relation between “'Microsoft.TeamFoundation.Client” and Running Tests from command line? Visiting a customer I saw this error when the the customer tried to run Coded UI Tests using MsTest (Machine only with Test Agent): Run has the following issue(s): Failed to queue test run 'XX@XXX-XXXTEAM-PC 2013-07-18 17:58:02': Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=ne utral, PublicKeyToken=b03f5f7f11d50a3a' or one of its...