Common tooling for DSS plugins
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.
git+git://github.com/dataiku/dataiku-plugin-tests-utils.git@<BRANCH>#egg=dku_plugin_test_utils
Replace <BRANCH>
by the most accurate value
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
Put the following line under [dev-packages]
section
dku-plugin-test-utils = {git = "git://github.com/dataiku/dataiku-plugin-tests-utils.git", ref = "<BRANCH>"}
TBD
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.
Define you test will the following snippet: def test_run_read_zendesk_incremental(client, plugin): scenario(client, 'PLUGINTESTZENDESK', 'run_read_zendesk_incremental')