qtc-gtest
qtc-gtest copied to clipboard
Qt Creator Google Test framework integration plugin [deprecated]
Qt Creator Google Test Integration
Introduction
Plugin integrates some Google Test functionality into Qt Creator IDE.

Features
- Parse test runner's output and show tests' results in pane
- Launches tests from active project
- Translation support
Usage
Parsing tests output
- Write google test application.
- Uncheck
launch in terminaloption in project's run configuration. - Run application. Testing results will be represented in
Google Testpane.
Running tests
- Write google test application.
- In
Tools->Google Testmenu select appropriate entry. - Depending on chosen menu entry, plugin will generate run arguments for active project and launch it.
Note: Tests from changed files or current file will be run only if they belong to active project.
Downloads
Built plugin can be downloaded here or from github releases.
Installation
IMPORTANT: plugin's version must match Qt Creator's version (difference in last digit is acceptable)
From source
- Change paths.pri:
- set
QTCREATOR_SOURCES= path to Qt Creator source dir (with qtcreator.pro) - set
IDE_BUILD_TREE= path to compiled Qt Creator dir (with bin,lib,libexec,...)
- Compile plugin.
From binaries
- Extract/copy files from archive into Qt Creator's dir (archive already contains proper paths).
- Enable plugin in Help->Modules menu.