Skip to content

Commit

Permalink
Merge pull request #1528 from Sage-Bionetworks/FDS-2238-automate-cli-…
Browse files Browse the repository at this point in the history
…tests

[FDS-2238, FDS-2236] Automate CLI test plan
  • Loading branch information
thomasyu888 authored Nov 14, 2024
2 parents 778bf54 + b275c68 commit 1e5da3c
Show file tree
Hide file tree
Showing 5 changed files with 1,319 additions and 4 deletions.
3 changes: 3 additions & 0 deletions tests/data/mock_manifests/CLI_tests/CLI_biospecimen.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Sample ID,Patient ID,Tissue Status,Component,Id,entityId
123,123,Malignant,Biospecimen,3e413bde-0571-458c-ad93-d56c2b25fadd,syn61260197
456,456,Healthy,Biospecimen,fc314afe-5714-4b58-8c95-3dfd78dc827d,syn61260197
11 changes: 11 additions & 0 deletions tests/data/mock_manifests/CLI_tests/CLI_patient_invalid.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Patient ID,Sex,Year of Birth,Diagnosis,Component,Cancer Type,Family History
1,Female,,Healthy,Patient,Random,Random
2,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
3,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
4,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
5,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
6,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
7,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
8,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
9,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
10,Female,,Healthy,Patient,Breast,"Colorectal,Breast"
8 changes: 8 additions & 0 deletions tests/data/test_configs/CLI_test_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This config is used to change the fileview for certain CLI tests
asset_store:
synapse:
config: "../../../.synapseConfig"
master_fileview_id: 'syn63923487'

google_sheets:
service_acct_creds: "../../../schematic_service_account_creds.json"
12 changes: 12 additions & 0 deletions tests/data/test_configs/CLI_test_config2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This config is used to change the fileview for certain CLI tests
asset_store:
synapse:
config: "../../../.synapseConfig"
master_fileview_id: 'syn51707141'

manifest:
data_type:
- "MockComponent"

google_sheets:
service_acct_creds: "../../../schematic_service_account_creds.json"
Loading

0 comments on commit 1e5da3c

Please sign in to comment.