8.3. Import Results

Klaros-Testmanagement allows the import of test results from several test frameworks. If the related test cases are not in the Klaros-Testmanagement database, they will be automatically created. At the moment the following frameworks are supported.

AUnit

AUnit provides mechanisms by which developers can test their AspectJ aspects in isolation in support of Test Driven Development.

Boost Test

The Boost Test Library provides a matched set of components for writing test programs, organizing tests into simple test cases and test suites, and controlling their runtime execution.

CppTest

CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability.

CppUnit

CppUnit is a C++ unit testing framework.

Free Pascal Unit

Free Pascal Unit is a port to Free Pascal of the JUnit core framework

JUnit

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

MSTest

MSTest is the command-line command that is used to run tests. This command has several options you can use to customize your test run.

NUnit

NUnit is a unit-testing framework for all .Net languages.It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities.

PHPUnit

PHPUnit is a member of the xUnit family of testing frameworks and provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results.

QF-Test

QF-Test is a professional tool for automated testing of Java and Web applications with a graphical user interface.

UnitTest++

UnitTest++ is a lightweight unit testing framework for C++.It was designed to do test-driven development on a wide variety of platforms. Simplicity, portability, speed, and a small footprint are all very important aspects.

TUSAR

TUSAR stands for Thales Unified Sofware Analysis Report. It is a generic metric format composed of 4 categories: Coverage, Measure, Test and Violations.

To start the import, an XML file with results from a supported test framework must be uploaded. When the file upload is completed it is possible to select the result format, the system under test and the test environment. All of these fields are mandatory.

Figure 8.12. Import Results Page

Import Results Page


Clicking the Next button causes the page assign the test results to a specific test case to appear. The test case to assign a test result to can be selected by the drop down box. Every result must be assigned to a different test case.

Figure 8.13. Import Results Page

Import Results Page


Pressing the Import button will import all results into Klaros-Testmanagement. All results are immediately available.