Skip to content

Releases: DataDog/dd-sdk-swift-testing

2.2.1

12 Jan 08:44
Compare
Choose a tag to compare

Improvements

  • Added the possibility to avoid reporting test source location (configuring environment variable DD_DISABLE_SOURCE_LOCATION = 1)

2.2.0

10 Jan 14:48
Compare
Choose a tag to compare

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 to DD_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

21 Dec 14:25
Compare
Choose a tag to compare
2.2.0-rc.7 Pre-release
Pre-release

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 to DD_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

20 Dec 14:25
Compare
Choose a tag to compare
2.2.0-rc.6 Pre-release
Pre-release

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 to DD_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

19 Dec 10:38
Compare
Choose a tag to compare
2.2.0-rc.5 Pre-release
Pre-release

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 to DD_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

30 Nov 15:36
Compare
Choose a tag to compare
2.2.0-rc.4 Pre-release
Pre-release

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 to DD_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

22 Nov 11:34
Compare
Choose a tag to compare
2.2.0-rc.3 Pre-release
Pre-release

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 to DD_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

25 Oct 13:10
Compare
Choose a tag to compare
2.2.0-rc.2 Pre-release
Pre-release

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 to DD_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

13 Oct 09:06
Compare
Choose a tag to compare
2.2.0-rc.1 Pre-release
Pre-release

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 to DD_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

13 Oct 09:52
Compare
Choose a tag to compare

Re-tagged 2.1.1 version