@@ -133,17 +133,19 @@ make test-python
133133
134134### Integration Tests
135135There are two sets of tests you can run:
136- 1 . Local integration tests (for faster development)
136+ 1 . Local integration tests (for faster development, tests file offline store & key online stores )
1371372 . Full integration tests (requires cloud environment setups)
138138
139139#### Local integration tests
140- To get local integration tests running, you'll need to have Redis setup:
140+ For this approach of running tests , you'll need to have docker set up locally: [ Get Docker ] ( https://docs.docker.com/get-docker/ )
141141
142- Redis
143- 1 . Install Redis: [ Quickstart] ( https://redis.io/topics/quickstart )
144- 2 . Run ` redis-server `
142+ It leverages a file based offline store to test against emulated versions of Datastore, DynamoDB, and Redis, using ephemeral containers.
145143
146- Now run ` make test-python-universal-local `
144+ These tests create new temporary tables / datasets locally only, and they are cleaned up. when the containers are torn down.
145+
146+ ``` sh
147+ make test-python-integration-local
148+ ```
147149
148150#### Full integration tests
149151To test across clouds, on top of setting up Redis, you also need GCP / AWS / Snowflake setup.
@@ -166,7 +168,15 @@ To test across clouds, on top of setting up Redis, you also need GCP / AWS / Sno
1661682 . Modify ` RedshiftDataSourceCreator ` to use your credentials
167169
168170** Snowflake**
169- - See https://signup.snowflake.com/
171+ 1 . See https://signup.snowflake.com/ to setup a trial.
172+ 2 . Then to run successfully, you'll need some environment variables setup:
173+ ``` sh
174+ export SNOWFLAKE_CI_DEPLOYMENT=' [snowflake_deployment]'
175+ export SNOWFLAKE_CI_USER=' [your user]'
176+ export SNOWFLAKE_CI_PASSWORD=' [your pw]'
177+ export SNOWFLAKE_CI_ROLE=' [your CI role e.g. SYSADMIN]'
178+ export SNOWFLAKE_CI_WAREHOUSE=' [your warehouse]'
179+ ```
170180
171181Then run ` make test-python-integration ` . Note that for Snowflake / GCP / AWS, this will create new temporary tables / datasets.
172182
0 commit comments