These are the following methods to run the UnitTestApp. A detailed document will be made available very soon.
The available command line options are:
-log: <filename> Generates a report in comma separated format and writes it to specified file.
-noheader Skips the header from the report (useful when appending the report to an existing file)
-quite Suppresses diagnostic messages from the report (only test fail/pass results will be included)
-r Recursively searches for unit test libraries
-diag Displays additional diagnostic information such as current directory and command parameters passed to the tool.
-config: <filename> Provides various configurations for commonly used function objects (i.e. thread count, code path, alignment, etc.)
Examples:
• UnitTestApp.exe AddTests.dll
o Enumerates and executes all tests in AddTests.dll
• UnitTestApp.exe c:\somefolder\MultiplyTests.dll d:\otherfolder\DivisionTests.dll
o Enumerates and executes all tests in the two DLLs specified
• UnitTestApp.exe c:\testfolder\*.dll
o Enumerates and executes all tests in all DLLs in folder c:\testfolder
• UnitTestApp.exe c:\tests\chapter1\*.dll c:\test\chapter3\*.dll
o Enumerate and execute all tests in all DLLs in folders c:\test\chapter1 and c:\test\chapter3
• UnitTestApp.exe –r c:\tests\filter*.dll
o Recursively searches folder c:\tests and it subfolders and enumerates and executes all tests in any DLLs with filenames beginning with ‘filter’
• UnitTestApp.exe –csv –noheader mytest.dll
o Enumerates and executes all unit tests in shared library mytest.dll, generates a report in comma separated text file format, and suppresses printing the headers in the report
• UnitTestApp.exe -config: ut_configFile.txt mytest.dll
o Enumerates and executes all tests in mytest.dll, setting the system configurations specified by configfile.txt.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patch to support GCC 4.3
Logged In: YES
user_id=1962281
Originator: NO
These are the following methods to run the UnitTestApp. A detailed document will be made available very soon.
The available command line options are:
-log: <filename> Generates a report in comma separated format and writes it to specified file.
-noheader Skips the header from the report (useful when appending the report to an existing file)
-quite Suppresses diagnostic messages from the report (only test fail/pass results will be included)
-r Recursively searches for unit test libraries
-diag Displays additional diagnostic information such as current directory and command parameters passed to the tool.
-config: <filename> Provides various configurations for commonly used function objects (i.e. thread count, code path, alignment, etc.)
Examples:
• UnitTestApp.exe AddTests.dll
o Enumerates and executes all tests in AddTests.dll
• UnitTestApp.exe c:\somefolder\MultiplyTests.dll d:\otherfolder\DivisionTests.dll
o Enumerates and executes all tests in the two DLLs specified
• UnitTestApp.exe c:\testfolder\*.dll
o Enumerates and executes all tests in all DLLs in folder c:\testfolder
• UnitTestApp.exe c:\tests\chapter1\*.dll c:\test\chapter3\*.dll
o Enumerate and execute all tests in all DLLs in folders c:\test\chapter1 and c:\test\chapter3
• UnitTestApp.exe –r c:\tests\filter*.dll
o Recursively searches folder c:\tests and it subfolders and enumerates and executes all tests in any DLLs with filenames beginning with ‘filter’
• UnitTestApp.exe –csv –noheader mytest.dll
o Enumerates and executes all unit tests in shared library mytest.dll, generates a report in comma separated text file format, and suppresses printing the headers in the report
• UnitTestApp.exe -config: ut_configFile.txt mytest.dll
o Enumerates and executes all tests in mytest.dll, setting the system configurations specified by configfile.txt.