Releases: DataDog/dd-sdk-swift-testing
Releases · DataDog/dd-sdk-swift-testing
2.2.1
Improvements
- Added the possibility to avoid reporting test source location (configuring environment variable DD_DISABLE_SOURCE_LOCATION = 1)
2.2.0
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown in Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
- Support to correlate the test with the Infrastructure of the machine running the tests. The machine must run the Datadog agent and the environment variable
DD_CIVISIBILITY_REPORT_HOSTNAME
must be set to true.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated properly in the crash reports.
- Fixes a memory leak in the stderr instrumentation
- Newer iOS and tvOS test targets could get hung when loading.
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initialising in parallel
- Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework
Changes
- It uses opentelemetry-swift 1.3.0 and is built with Xcode 14.2
2.2.0-rc.7
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown in Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated properly in the crash reports.
- Fixes a memory leak in the stderr instrumentation
- Newer iOS and tvOS test targets could get hung when loading.
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initialising in parallel
- Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework
Changes
- It uses opentelemetry-swift 1.3.0 and is built with Xcode 14.2
2.2.0-rc.6
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown in Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated in the crash reports.
- Fixes a memory leak in the stderr instrumentation
- tvOS test targets could get hung when loaded.
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initialising in parallel
- Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework
Changes
- It uses opentelemetry-swift 1.3.0 and is built with Xcode 14.
2.2.0-rc.5
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown in Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated in the crash reports.
- Fixes a memory leak in the stderr instrumentation
- tvOS test targets could get hung when loaded.
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initialising in parallel
- Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework
Changes
- It uses opentelemetry-swift 1.3.0 and is built with Xcode 14.
2.2.0-rc.4
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown in Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated in the crash reports.
- Fixes a memory leak in the stderr instrumentation
- (From previous rc.3) It fixes skipping tests for macOS targets
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initialising in parallel
- Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework
Changes
- It uses opentelemetry-swift 1.2.1 and is built with Xcode 14
2.2.0-rc.3
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown at Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated in the crash reports.
- Fixes a memory leak in the stderr instrumentation
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initialising in parallel
- Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework
Changes
- It uses opentelemetry-swift 1.2.1 and Xcode 14 for building
2.2.0-rc.2
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). You must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown at Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated in the crash reports.
- Fixes a memory leak in the stderr instrumentation
- (From 2.2.0-rc.1) Intelligent Test Runner - Tests were not being properly skipped as they should for first test bundle.
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initialising in parallel
- Uses NSLog to print messages from the framework. That should help with some prettifiers silencing the Framework
Changes
- It uses opentelemetry-swift 1.2.0 and Xcode 14 for building
2.2.0-rc.1
New Features
- Intelligent Test Runner. In order to enable it you must enable Code coverage (for your targets at least). and you must also set
DD_APPLICATION_KEY
environment variable in addition toDD_API_KEY
in your project settings. You can create an Application key here. You may need also to enroll in the private beta. - Sanitizers errors are now reported with the same information shown at Xcode (some of them can also produce a crash in the test that reproduced them). These errors are reported at the module level.
Bug fixes
- Branch name could fail to be read from .git folder when CI environment variables are not set
- Some libraries were not being symbolicated in the crash reports.
Improvements
- Improved error messages when running with debug settings (
DD_TRACE_DEBUG = 1
) - Reduce loading time for the library by initializing in parallel
Changes
- It uses opentelemetry-swift 1.1.7 and Xcode 14 for building
2.1.3
Re-tagged 2.1.1 version