Skip to content

Commit d5b5550

Browse files
committed
add step by step instructions for running tests
1 parent 3dde4c4 commit d5b5550

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,25 @@ git push --tags
175175

176176
## Running Tests
177177

178-
Install the `pytest-dbt-adapter` package and run the test specs in this repository:
178+
On Windows, you'll need to make adjustments to the commands below.
179179

180180
```
181-
pip install pytest-dbt-adapter
181+
workon dbt-sqlite-test
182+
183+
pip install dbt==0.19.2
184+
185+
# install adapter test suite
186+
# version 0.5.0 doesn't work with dbt 0.19.x
187+
# see https://github.com/dbt-labs/dbt-adapter-tests/issues/20
188+
pip install pytest-dbt-adapter==0.4.0
189+
190+
# install dbt-sqlite in development mode
191+
pip install -e .
182192
183193
# this path needs to exist for tests to write database file
184194
mkdir -p /tmp/dbt-sqlite-tests
185195
196+
# adjust paths in test/sqlite.dbtspec before running this
186197
pytest test/sqlite.dbtspec
187198
```
188199

0 commit comments

Comments
 (0)