Skip to main content
Last updated on Oct 23, 2025 The following chapter includes instructions on how to run Incredibuild for Unit Tests when using NUnit or GTest.

Supported Frameworks:

  • NUnit 2
  • NUnit 3
  • Google Test (Gtest)
IBtestConsole will automatically detect the executed framework. However, if you want to force it to run a specific framework, you can use the /test flag described below.

Configuring IBTestConsole

To configure the IBTestConsole, you need to run the IBTestConsole.exe file, located in the Incredibuild installation folder.

Running Unit Tests Using IBTestConsole

The IBTestConsole commands follow the following syntax:
  • Command- stands for 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

Incredibuild only supports the following framework command flags:

NUnit 2 Supported Flags

Nunit2 CLI reference

NUnit 3 Command Flags

NUnit3 CLI reference

GTest Command Flags

  • --gtest_output
  • --gtest_output=(json|xml)[:DIRECTORY_PATH|:FILE_PATH]
  • --gtest_filter
  • --gtest_filter=POSTIVE_PATTERNS[-NEGATIVE_PATTERNS]
  • --gtest_also_run_disabled_tests
  • --gtest_repeat=[COUNT]
  • --gtest_shuffle
  • --gtest_random_seed=[NUMBER]

IBTestConsole Command Line Options

The following options can be added at the end of the IBTestConsole command.

Return Codes