Skip to content

Commit

Permalink
Update readme for new somketest (#1835)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Sep 22, 2022
1 parent 029720f commit 661c506
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions data/data-pipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,10 @@ Additional future modifications could include the use of Pandera and/or other sc

### Smoketests

To ensure the score and tiles process correctly, there is a suite of "smoke tests" that can be run after the ETL and score data have been run.
To ensure the score and tiles process correctly, there is a suite of "smoke tests" that can be run after the ETL and score data have been run, and outputs like the frontend GEOJSON have been created.
These tests are implemented as pytest test, but are skipped by default. To run them.

1. Generate a full score with `poetry run python3 data_pipeline/application.py score-full-run`
2. Generate the tile data with `poetry run python3 data_pipeline/application.py generate-score-post -s aws`
3. Select the smoke tests for pytest with `poetry run pytest data_pipeline/tests -k smoketest`
2. Generate the tile data with `poetry run python3 data_pipeline/application.py generate-score-post`
3. Generate the frontend GEOJSON with `poetry run python3 data_pipeline/application.py geo-score`
4. Select the smoke tests for pytest with `poetry run pytest data_pipeline/tests -k smoketest`

0 comments on commit 661c506

Please sign in to comment.