Supported Frameworks:
IBTestConsole supports the following frameworks:- NUnit 2
- NUnit 3
- Google Test (Gtest)
Running the IBTestConsole
To configure and run the IBTestConsole, you should first run the IBTestConsole.exe file, located in the Incredibuild installation folder. This is a console application that initializes Incredibuild for Unit Tests in various modes of operation, according to its various parameters. IBTestConsole uses the following syntax: IBTestConsole [command] [options]- Command- The original command of your Unit tests framework. The command may include specific flags (described below)
- Options – One of the options described in the section below.
Supported Framework Command Flags
The following framework command flags are supported by Incredibuild for Unit Tests. Each framework version includes different flags as described below. To learn more about each flag, see the Nunit 3 CLI reference and Nunit2 CLI reference.NUnit 2 Supported Flags
- /run
- /runlist
- /include
- /exclude
- /result, /xml
- /noresult, /noxml
- /framework
- /timeout
NUnit 3 Command Flags
- @FILE
--testlist=FILE--where=EXPRESSION--config=NAME--framework=FRAMEWORK--timeout=MILLISECONDS--seed=SEED--skipnontestassemblies--result=SPEC--noresult--shadowcopy--noheader,--noh--params| p=PARAMETER--dispose-runners
GTest Command Flags
--gtest_output--gtest_filter