Integration With Unit Testing Frameworks - Requirements

Applies to TestComplete 15.40, last modified on March 25, 2022
  • You can run unit tests (except for DUnit tests) in TestComplete regardless of TestComplete modules you have.

    To run DUnit tests in TestComplete, you must have a license for TestComplete Desktop module.

    In addition, you need a license for the Desktop module to make testing methods available to TCUnit tests.

    If you experience any issues with unit testing, select File | Install Extensions from the TestComplete main menu and check whether the following features are available in TestComplete.

    Unit Testing Features

  • The appropriate unit testing framework must be installed and configured on your computer.

  • To run NUnit tests, you must have NUnit installed on your computer.

  • The Unit Testing Options dialog in TestComplete must set valid paths to unit testing framework executables that will run your tests:

    • To run NUnit tests, specify the path to the NUnit executable (nunit-console.exe).

    • To run MSTest unit tests, specify the path to the MSTest executable (MSTest.exe).

    • To run Java unit tests, specify the path to the Java Virtual Machine executable (java.exe).

    • To run Python unit tests, specify the path to the Python executable (python.exe).

    • To run Ruby unit tests, specify the path to the Ruby executable (ruby.exe).

    • To run PHP unit tests, specify the path to the PHPUnit.cmd batch file.

  • To use Maven to run your Java unit tests, you must have Maven modules installed and configured on your computer.

    The PATH environment variable on your computer must specify the path to Maven modules. The JAVA_HOME environment variable must specify the path to your Java Developer Kit software location.

    For more information on how to install and configure Maven, see the Maven documentation.

See Also

Installing Extensions

Highlight search results