Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 884 Bytes

File metadata and controls

28 lines (22 loc) · 884 Bytes

Steps

1. Bring up gen3 instance locally

Please refer to gen3-helm repo

2. Generate API keys for all test users

Note: This assumes that USERYAML block is correctly set up in the values.yaml used to start the instance.

Switch to gen3-integration-tests directory and execute:

```
./scripts/helm/generate_api_keys.sh test_data/test_setup/users.csv <hostname>
```

Note: you might need to run chmod +x ./scripts/helm/generate_api_keys.sh once

The API keys should be saved to ~/.gen3 directory

3. Run tests

  1. Switch to gen3-integration-tests directory
  2. Set up the following environment variables in the .envfile
    GEN3_INSTANCE_TYPE="HELM_LOCAL"
    HOSTNAME="<hostname>"
    
  3. Run tests with pytest
    poetry run pytest --alluredir allure-results -n auto --dist loadscope