Quantcast
Channel: Cannot run unit tests
Viewing all articles
Browse latest Browse all 2

Cannot run unit tests

$
0
0

Hi,

I have a 400+ unit tests that I have not run in some time. Today I tried to run them and I get a Visual studio error "Syntax error: Missing operand after 's' opertator" I had thought that I had a bad test that needed to be fixed, but I can build the test project and it builds correctly. From within a test when I right click and try to run a single test it still comes with this error. I tried to open my UnitTests.vsmdi file and I get a different VS error "Exception has been thrown by the target of an invocation" I tried to open the file file with note pad to see what is going on and I cannot see anything visibly wrong.

<?xml version="1.0" encoding="UTF-8"?><TestLists xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2006"><TestList name="Lists of Tests" id="8c43106b-9dc1-4907-a29f-aa66a61bf5b6"><RunConfiguration id="e1b327fa-6dd0-464f-8732-84fb638e7453" name="Lionhead.LionsEye.UnitTests" storage="Lionhead.LionsEye.UnitTests.testrunconfig" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common,  PublicKeyToken=b03f5f7f11d50a3a" /></TestList></TestLists>

The only changes I can think of since I have run this last is some namespace changes and the whole solution folder has moved although the program itself runs fine with no problems. I have run out of ideas. I am using VS 2008 and everything is written in C#

Thank you for any help you can provide.

Scott


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images