aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/autotestplugin.cpp
diff options
context:
space:
mode:
authorJochen Seemann <seemann.jochen@gmail.com>2019-01-02 16:11:44 +0100
committerChristian Stenger <christian.stenger@qt.io>2020-04-09 12:46:37 +0000
commitde38285bc392ba85553250570e724db82b269193 (patch)
treeac0d8b76d1e771c32936852a21fdc4b3b8ed2f43 /src/plugins/autotest/autotestplugin.cpp
parent13daf11d03086ddb9047426bcab18ae0a24fe170 (diff)
AutoTest: add support for Catch framework
This adds a basic test and test output parser for the Catch2 test framework. Task-number: QTCREATORBUG-19740 Done-with: Christian Stenger <christian.stenger@qt.io> Change-Id: Ic3322905ab82f414d2a26c325e130142233f72aa Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/autotestplugin.cpp')
-rw-r--r--src/plugins/autotest/autotestplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/autotest/autotestplugin.cpp b/src/plugins/autotest/autotestplugin.cpp
index a0084ee65cf..faeb46df38d 100644
--- a/src/plugins/autotest/autotestplugin.cpp
+++ b/src/plugins/autotest/autotestplugin.cpp
@@ -43,6 +43,7 @@
#include "quick/quicktestframework.h"
#include "gtest/gtestframework.h"
#include "boost/boosttestframework.h"
+#include "catch/catchframework.h"
#include <coreplugin/icore.h>
#include <coreplugin/icontext.h>
@@ -133,6 +134,7 @@ AutotestPluginPrivate::AutotestPluginPrivate()
m_frameworkManager.registerTestFramework(new QuickTestFramework);
m_frameworkManager.registerTestFramework(new GTestFramework);
m_frameworkManager.registerTestFramework(new BoostTestFramework);
+ m_frameworkManager.registerTestFramework(new CatchFramework);
m_frameworkManager.synchronizeSettings(ICore::settings());
m_navigationWidgetFactory = new TestNavigationWidgetFactory;