TestDox Help

Relates to version 0.1.116.2 and up.

TestDox command line help:

TestDox command line help

TestDox command line help

Quick help is also supported if you just want a reminder /qh

The following command line arguments are supported (all case insensitive, any order):

/Title:<value>

<value> is the name of the report to produce
Use quotes if the title contains spaces
Shorthand /T
e.g. /Title:”My title”

/Out:<value>

<value> is the name of the folder to write the output to
Can be relative or absolute
Use quotes if the path contains spaces
UNC is not supported
Shorthand /O
e.g. /O:”c:\my logs\”

/FeedbackVerbosity:<value>

<value> is the verbosity level for console feedback
Must be Min, Max or Normal
Shorthand /FV
e.g. /FV:Min

/LogVerbosity:<value>

<value> is the verbosity level for log file content
Must be Min, Max or Normal
Shorthand /LV
e.g. /LV:Max

/Path:<value>

<value> is the path to search for assemblies in (recursively)
Can be relative or absolute
Use quotes if the path contains spaces
Shorthand /P
e.g. /P:”c:\temp\my assemblies\”
e.g. /P:”..\..\bin\debug\”
e.g. /P:”..\*\bin\debug\”

/Filter:<value>

<value> is the file mask used to filter assemblies
Can specify multiple values separated by semi-colons
Shorthand /F
e.g. /F:*.dll
e.g. /F:Test*.dll;*tests.exe

/Class:<value>

<value> is the name of the attribute class used to denote test classes
Can specify multiple values separated by semi-colons
Do not have to include the word Attribute
Shorthand /C

/Method:<value>

<value> is the name of the attribute class used to denote test methods
Can specify multiple values separated by semi-colons
Do not have to include the word Attribute
Shorthand /M

/TrimLeading:<value>

<value> is the word/words to be trimmed from the start of class and test names in all outputs
Can specify multiple values separated by semi-colons
By default, the word Test will be trimmed
Shorthand /TL

/TrimTrailing:<value>

<value> is the word/words to be trimmed from the end of class and test names in all outputs
Can specify multiple values separated by semi-colons
By default, the words Test and Tests will be trimmed
Shorthand /TT

/Recursive

include this if you want to search for assemblies recursively
By default, only the /Path folder will be searched
Shorthand /R

/View

include this if you want to immediately view the output files
By default, no output files will be displayed on completion
Shorthand /V

/NoCheck

include this if you want to suppress TestDox update checks
By default, TestDox will check for updated versions each time it runs
Shorthand /NC

/NoEcho

include this if you want to suppress TestDox echoing tests to the console
By default, TestDox will echo each test class and method found
Shorthand /NE

/NoFiles

include this if you want to prevent TestDox from writing any files to disk
Shorthand /NF

TestDox command line examples

Here are a few example command line calls to TestDox:

TestDox.exe
TestDox.exe
/P:”x:\Build Output” /F:*.Tests.dll /T:”My TestDox Analysis” /FV:Max
TestDox.exe /Out:”x:\Analysis Logs” /r
TestDox.exe /view /NF

%d bloggers like this: