Skip to content

Instantly share code, notes, and snippets.

@leniel
Created April 21, 2012 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leniel/2438148 to your computer and use it in GitHub Desktop.
Save leniel/2438148 to your computer and use it in GitHub Desktop.
Using mstest.exe in the command-line
C:\Program Files\Microsoft Visual Studio 11.0\VC>mstest /testcontainer:"C:\Schet
ine\trunk\Schetine\bin\Schetine.Tests.dll" /noisolation
Microsoft (R) Test Execution Command Line Tool Version 11.0.50214.1
Copyright (c) Microsoft Corporation. All rights reserved.
Loading C:\Schetine\trunk\Schetine\bin\Schetine.Tests.dll...
Starting execution...
Results Top Level Tests
------- ---------------
Passed Schetine.Tests.Controllers.HomeControllerTest.About
Passed Schetine.Tests.Controllers.HomeControllerTest.Contact
Failed Schetine.Tests.Controllers.HomeControllerTest.Index
Failed Schetine.Tests.Controllers.RealtyControllerTest.Create
Passed Schetine.Tests.Custom.FacetRangeStringSpliting
Passed Schetine.Tests.Log4NetRaven.Log4NetRavenTest
Failed Schetine.Tests.RealtyFacet.RealtyFacetTest
Failed Schetine.Tests.RealtyMailerTest.Test_AdCreatedMessage
4/8 test(s) Passed, 4 Failed
Summary
-------
Test Run Failed.
Passed 4
Failed 4
---------
Total 8
Results file: C:\Program Files\Microsoft Visual Studio 11.0\VC\TestResults\Leni
el_LENIEL-PC 2012-04-21 13_17_56.trx
Test Settings: Default Test Settings
Run has the following issue(s):
Warning: Test Run deployment issue: The assembly or module 'Moq' directly or ind
irectly referenced by the test container 'c:\schetine\trunk\schetine\bin\schetin
e.tests.dll' was not found.
C:\Program Files\Microsoft Visual Studio 11.0\VC>mstest /testcontainer:"C:\Schet
ine\trunk\Schetine\bin\Schetine.Tests.dll"
Microsoft (R) Test Execution Command Line Tool Version 11.0.50214.1
Copyright (c) Microsoft Corporation. All rights reserved.
Loading C:\Schetine\trunk\Schetine\bin\Schetine.Tests.dll...
Starting execution...
Results Top Level Tests
------- ---------------
Passed Schetine.Tests.Controllers.HomeControllerTest.About
Passed Schetine.Tests.Controllers.HomeControllerTest.Contact
Failed Schetine.Tests.Controllers.HomeControllerTest.Index
Failed Schetine.Tests.Controllers.RealtyControllerTest.Create
Passed Schetine.Tests.Custom.FacetRangeStringSpliting
Passed Schetine.Tests.Log4NetRaven.Log4NetRavenTest
Failed Schetine.Tests.RealtyFacet.RealtyFacetTest
Failed Schetine.Tests.RealtyMailerTest.Test_AdCreatedMessage
Final Test Results:
Results Top Level Tests
------- ---------------
Passed Schetine.Tests.Controllers.HomeControllerTest.About
Passed Schetine.Tests.Controllers.HomeControllerTest.Contact
Failed Schetine.Tests.Controllers.HomeControllerTest.Index
Failed Schetine.Tests.Controllers.RealtyControllerTest.Create
Passed Schetine.Tests.Custom.FacetRangeStringSpliting
Passed Schetine.Tests.Log4NetRaven.Log4NetRavenTest
Failed Schetine.Tests.RealtyFacet.RealtyFacetTest
Failed Schetine.Tests.RealtyMailerTest.Test_AdCreatedMessage
4/8 test(s) Passed, 4 Failed
Summary
-------
Test Run Error.
Passed 4
Failed 4
---------
Total 8
Results file: C:\Program Files\Microsoft Visual Studio 11.0\VC\TestResults\Leni
el_LENIEL-PC 2012-04-21 13_21_09.trx
Test Settings: Default Test Settings
Run has the following issue(s):
Warning: Test Run deployment issue: The assembly or module 'Moq' directly or ind
irectly referenced by the test container 'c:\schetine\trunk\schetine\bin\schetin
e.tests.dll' was not found.
One of the background threads threw exception:
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
at Raven.Database.DocumentDatabase.Dispose() in c:\Builds\raven\Raven.Databas
e\DocumentDatabase.cs:line 356
at Raven.Database.DocumentDatabase.DomainUnloadOrProcessExit(Object sender, E
ventArgs eventArgs) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 1
85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment