Skip to content

MayeulRousselet/dataiku-plugin-tests-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dataiku-plugin-tests-utils

Common tooling for DSS plugins

How to install in your plugin

To install the dataiku-plugin-tests-utils package for your plugins use the following line depending on your prefered way to managed packages and situation you are in.

Using Requierement.txt

Development cycle

git+git://github.com/dataiku/dataiku-plugin-tests-utils.git@<BRANCH>#egg=dku_plugin_test_utils

Replace <BRANCH> by the most accurate value

Stable release (untested for now)

git+git://github.com/dataiku/dataiku-plugin-tests-utils.git@releases/tag/<RELEASE_VERSION>#egg=dku_plugin_test_utils

Replace <RELEASE_VERSION> by the moist accurate value

Using Pipfile

Put the following line under [dev-packages] section

Development cycle

dku-plugin-test-utils = {git = "git://github.com/dataiku/dataiku-plugin-tests-utils.git", ref = "<BRANCH>"}

Stable release

TBD

Dev env

Config

First, ensure that you have Personal Api Keys generated for the DSS you want to target. Secondly, define a config file which will give the DSS you will target. { "dss7": { "url" : ...., "api_key": ....}, "dss8": {.......} } Then, set the env var PLUGIN_INTEGRATION_TEST_INSTANCE to point to the config file.

Usage

Define you test will the following snippet: def test_run_read_zendesk_incremental(client, plugin): scenario(client, 'PLUGINTESTZENDESK', 'run_read_zendesk_incremental')

About

Commin tooling for DSS plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages