Test Frameworks
Teamscale can process a range of test-related data sources. Some tests can directly be detected in the source code. Reports from test executions can be uploaded in various formats. With Testwise Coverage there is even a way to upload test coverage on a per-test granularity.
Test Implementations
If your test framework is supported the Tests page in the Metrics perspective shows the hierarchy of tests and their overall count.
Tests implemented with the following frameworks can be automatically detected from the source code:
- Boost.Test
- Google Test
- pytest
- unittest
- JUnit
- NUnit versions 2 and 3 for C#
- MathWorks Testing frameworks Function-Based and Class-Based Unit Tests
- MSTest for C#
- XCTest for Swift and Objective-C
- Custom test frameworks that use code comments to define tests. To configure a comment based custom test framework you need to specify the rules as
- Test identification patterns in the analysis profile.
Test Execution Formats
If test execution reports are provided the Tests page in the Metrics perspective shows the hierarchy of tests, their durations, results and overall count.
The following test execution formats are currently supported by Teamscale:
- Boost.Test
- JUnit
- XUnit
- MsTest
- NUnit versions 2 and 3 for C#
- Testwise Coverage
Additional Frameworks & Formats
If your framework isn't supported yet, don't hesitate to contact us; we continuously add support for new formats.