# datadog-sdk-testing **Repository Path**: mirrors_DataDog/datadog-sdk-testing ## Basic Information - **Project Name**: datadog-sdk-testing - **Description**: Gem repo providing Integration SDK testing/scaffolding facilities - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # datadog-sdk-testing Gem repo providing Integration SDK testing/scaffolding facilities. [![Gem Version](https://badge.fury.io/rb/datadog-sdk-testing.svg)](https://badge.fury.io/rb/datadog-sdk-testing) ## usage This gem essentially just provides a set of rake tasks to help you get up and running with integration testing and scaffolding. We expect to use this gem in `integrations-core` and `integrations-extras`. To use the tasks in this gem just add a Rakefile to the relevant project with these contents: ``` #!/usr/bin/env rake require 'rake' unless ENV['CI'] rakefile_dir = File.dirname(__FILE__) ENV['TRAVIS_BUILD_DIR'] = rakefile_dir ENV['INTEGRATIONS_DIR'] = File.join(rakefile_dir, 'embedded') ENV['PIP_CACHE'] = File.join(rakefile_dir, '.cache/pip') ENV['VOLATILE_DIR'] = '/tmp/integration-sdk-testing' ENV['CONCURRENCY'] = ENV['CONCURRENCY'] || '2' ENV['NOSE_FILTER'] = 'not windows' ENV['RUN_VENV'] = 'true' ENV['SDK_TESTING'] = 'true' end ENV['SDK_HOME'] = File.dirname(__FILE__) spec = Gem::Specification.find_by_name 'datadog-sdk-testing' load "#{spec.gem_dir}/lib/tasks/sdk.rake" ``` if you wish to enable the remote facilities for the requirement conflict checking [tool](https://github.com/DataDog/datadog-sdk-testing/blob/master/lib/tasks/ci/hooks/pre-commit.py) you will have to install [github3.py](https://github.com/sigmavirus24/github3.p://github.com/sigmavirus24/github3.py) (pre-release): ``` pip install --pre github3.py ``` By default this tool is designed to be used as a pre-commit hook and runs only on local repos. Due to the duration of the validation runs it's not recommended to enable remote repos when using as a pre-commit hook. We perform requirement validation in our continuous integration environment, so it's definitely not mandatory.