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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Gem repo providing Integration SDK testing/scaffolding facilities.
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.