chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes

I've just started playing with Isolator and I got an error referencing the"Isolated attributes" to the test class. When I declare
[TestClass, Isolated]. TestClass is reporting "TestClass could not be found"

I guess that's a configuration issue.

I'm using Visual Studio 2010 Express Edition + Isolator Trial in a PC without Administrtor rights.

I'd aprreciate if someone can help me.

Many thanks.
asked by xmartin (600 points)

1 Answer

0 votes

Unfortunately, Visual Studio Express editions are limited, and do not support neither MSTest (which is a test runner from Microsoft), nor the ability to load add-ins, which is required to run Isolator in Visual Studio.

TestClass is a part of MSTest, and it doesn't exist in Visual Studio Express.

You could try using NUnit to write and run your tests, and run them manually using TMockrunner like this:

TMockrunner.exe nunit-console.exe yourtestproject.dll

It would be much easier, however, if you could use another version of Visual Studio. You can download trial versions of Visual Studio Ultimate here:
answered by igal (5.7k points)