mstest


Automaticallyut MSTest all test methods in a solution in Command Line


The MSTest allows to run tests in specify assemblies to test through /testcontainer or metalist through /testmetadata; But is there a way to automatically run all tests in a solution, whithout specifing any name of dlls/meta files? Thanks.
It's not what you want to hear, but the answer is no, by default you are limited to the /testcontainer or /testmetadata options for specifying which tests to run.
You could easily run MSTest multiple times for each DLL in your project which contains tests. You could even run a process that analyzes your DLLs for tests and build up a list of DLLs which contain tests and then run a script that calls mstest for each of those DLLs.

Related Links

Any way to enable stacktraces in MsTest?
MSTest DeploymentItem doesn't copy files to output dir
Mstest name instead Data Row with Data-Driven testing
How to unit test a class defined in a Metro executable
local.testsettings file that is sensitive to configuration
Can't run Unit Tests In VS2012RC
assemblybinding does not work in mstest
what is the equivalant to MbUnit.Framework.RowAttribute in MSTest?
MSTest: A sensible way to deploy items from a common directory?
Adding Unit Test Project to ASP.Net MVC 4 Project
What is the major difference between Pex vs MsTest?
What is the significance of the red outline in a failed Coded UI test screenshot?
MS Test, Multiple Test Projects in Solution, and DeploymentItemAttribute
Print MSTest summary after command line exeution
How do you get the iteration / line number from TestContext in data driven tests?
How to refresh UIMap object in CodedUI

Categories

HOME
fuelux
gdb
mjml
package
ado.net
babeljs
flume
google-content-api
google-data-studio
google-picker
digital-signature
delphi-xe5
gmm
articulate-storyline
systemtime
dataflow-diagram
hta
tosca
draft-js-plugins
mount
slidetoggle
genexus-sd
panoramas
github3.py
biztalk-rule-engine
openwhisk
hibernate-search
swagger-php
openerp-7
p4merge
plaintext
portforwarding
bindingnavigator
openresty
ntvs
linter
vugen
page-replacement
aquamacs
stdmap
tinkerpop
libjpeg
trigger.io
envi
ng-grid
installshield-2010
gogs
grass
np-spring
realsense
jaunt-api
phpgrid
maybe
decimalformat
zend-currency
angular-gettext
cocos3d
paw
radiant
getopt
sbcl
spring-3
ice-cube
rolify
device-width
veracity
jquery-address
saxparseexception
u2netdk
socketserver
photolibrary
silverlight-oob
dsl-tools
windows-identity
escrow
xpsdocument
fault-tolerance
application-planning

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