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>
This commit is contained in:
Jochen Seemann
2019-01-02 16:11:44 +01:00
committed by Christian Stenger
parent 13daf11d03
commit de38285bc3
16 changed files with 1365 additions and 0 deletions

View File

@@ -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;