zerg78
11-20-2006, 11:31 AM
Hi all.
I have problem with usage mstest.
My project's structure looks like SpringAir. But I use mstest instead NUnit. Build and run by Visual Studio ends success, but running from command prompt (current directory is ...\trunk\Build\Debug\):
mstest /detail:errormessage /testcontainer:MyProj.Core.Test.dll
I have result:
Results Top Level Tests
------- ---------------
Failed MyProj.Core.Test.AuditServiceTest.AuditDaoTest
[errormessage] = Initialization method MyProj.Core.Test.AuditServiceTest.TestInitialize threw exception. Spring.Objects.Factory.ObjectDefinitionStoreExcept ion: Spring.Objects.Factory.ObjectDefinitionStoreExcept ion: IOException parsing XML document from file [C:\development\projects\MyProj\trunk\Build\Debug\T estResults\zerg78 2006-11-20 11_49_04\Out\Services.xml] ---> System.IO.FileNotFoundException: Could not find file 'C:\development\projects\MyProj\trunk\Build\Debug\ TestResults\zerg78 2006-11-20 11_49_04\Out\Services.xml'..
How I can resolve it?
I have problem with usage mstest.
My project's structure looks like SpringAir. But I use mstest instead NUnit. Build and run by Visual Studio ends success, but running from command prompt (current directory is ...\trunk\Build\Debug\):
mstest /detail:errormessage /testcontainer:MyProj.Core.Test.dll
I have result:
Results Top Level Tests
------- ---------------
Failed MyProj.Core.Test.AuditServiceTest.AuditDaoTest
[errormessage] = Initialization method MyProj.Core.Test.AuditServiceTest.TestInitialize threw exception. Spring.Objects.Factory.ObjectDefinitionStoreExcept ion: Spring.Objects.Factory.ObjectDefinitionStoreExcept ion: IOException parsing XML document from file [C:\development\projects\MyProj\trunk\Build\Debug\T estResults\zerg78 2006-11-20 11_49_04\Out\Services.xml] ---> System.IO.FileNotFoundException: Could not find file 'C:\development\projects\MyProj\trunk\Build\Debug\ TestResults\zerg78 2006-11-20 11_49_04\Out\Services.xml'..
How I can resolve it?