mstest


Any way to enable stacktraces in MsTest?


Sometimes I get errors in a MsTest run and there is to little context to track down the problem, for example:
<ErrorInfo>
<Message>Unit Test Adapter threw exception: Type is not resolved for member 'Castle.MicroKernel.SubSystems.Conversion.ConverterException,Castle.Windsor, Version=3.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'..</Message>
</ErrorInfo>
notice the dots '..' Is there some flag or anything that can make it include the rest of the error? I am running Mstest from commandline.
From the command line you can add the errorstacktrace argument:
mstest /testcontainer:MyTests.dll /detail:errorstacktrace

Related Links

TeamCity MSTest Not Reporting All Tests: Failed to read testDuration
Have PartCover include an assembly with “System” in name
MSTest - data drive ntest from a method?
Usage of moles.runner.exe with MSTest.exe as the test runner
Tools to view code coverage results of MSTest in Jenkins
Teamcity MSTest 10.0 no suitable build agents error
Only one TestResult folder with MSTest?
TFS build cannot publish test results if TFS server is in domain different from drop location
NLog not working with MSTest, where should the config go?
Can you invoke a control rather than launch an app for coded ui tests?
Watin accessing localhost
In MSTest's Test View, how can I get a list of all Tests with no category?
run tests from msbuild script
cruisecontrol mstest problem wenn tests fail
MSTest /noisolation fails tests
Perform Visual Studio Data Compare automatically prior to running MSTest tests

Categories

HOME
grok
kentico
facebook-oauth
forms
github-for-windows
mjml
case
package
seo
cublas
dojo
pyqt4
missing-data
commonjs
radgridview
azure-powershell
atlassian-stash
firefox-addon
mathprog
dimensional-modeling
html5-appcache
nim
lilypond
asciidoctor-pdf
question2answer
monit
highstock
strongname
definitelytyped
jquery-multiselect
underscore.js
8051
jaws
send
dumpbin
hreflang
video-capture
protege4
metawidget
jvmti
doc
print-css
strftime
puredata
nanoc
magento-2.0.7
google-cse
magic-draw
static-cast
android-testing
sundials
cpu-cache
swingworker
vcloud-director-rest-api
mapxtreme
qtplugin
drawstring
jboss-tools
clipboard.js
spreadjs
hadoop-partitioning
phpgrid
directdraw
lazybones
ons-api
airbrake
telepat
nsurlsessiondatatask
java-security
cryptographichashfunction
showdialog
appserver
tweenlite
mobility
live555
dsym
android-usb
mysql-error-1044
mongohq
route-provider
epiceditor
pagedown
video-codecs
resource-management
wimax
idn
redis-py
extconf.rb
user-tracking
landscape-portrait
android-holo-everywhere
cgbitmapcontextcreate
dataform
maven-1
windows-identity

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App