DataDog/datadog-sdk-testing

Name: datadog-sdk-testing

Owner: Datadog, Inc.

Description: Gem repo providing Integration SDK testing/scaffolding facilities

Created: 2016-06-01 19:09:05.0

Updated: 2017-03-28 20:21:26.0

Pushed: 2017-12-26 13:57:10.0

Homepage: null

Size: 151

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

datadog-sdk-testing

Gem repo providing Integration SDK testing/scaffolding facilities.

Gem Version

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:

sr/bin/env rake

ire 'rake'

ss ENV['CI']
kefile_dir = File.dirname(__FILE__)
V['TRAVIS_BUILD_DIR'] = rakefile_dir
V['INTEGRATIONS_DIR'] = File.join(rakefile_dir, 'embedded')
V['PIP_CACHE'] = File.join(rakefile_dir, '.cache/pip')
V['VOLATILE_DIR'] = '/tmp/integration-sdk-testing'
V['CONCURRENCY'] = ENV['CONCURRENCY'] || '2'
V['NOSE_FILTER'] = 'not windows'
V['RUN_VENV'] = 'true'
V['SDK_TESTING'] = 'true'


'SDK_HOME'] = File.dirname(__FILE__)

 = Gem::Specification.find_by_name 'datadog-sdk-testing'
 "#{spec.gem_dir}/lib/tasks/sdk.rake"

if you wish to enable the remote facilities for the requirement conflict checking tool you will have to install github3.py (pre-release):

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.