Skip to content

Commit

Permalink
Update doc/developer_guide/aws.md
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Kuhnke <[email protected]>
  • Loading branch information
tkilias and ckunki authored Jan 29, 2024
1 parent c3f0d08 commit 21df8d5
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions doc/developer_guide/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,12 @@ Also, the ssh password authentication will be enabled, and for security reasons

### Tests

DSS comes with a number of tests in directory `test`.
There are subdirectories clustering tests with common scope and prerequisites e.g. external resources.

| Directory | Content |
|---------------------|---------|
| `test/unit` | Simple unit tests requiring no additional setup or external resources. |
| `test/integration` | Integration tests with longer runtime and some requiring additional resources. |
| `test/aws` | Tests involving AWS resources. In order to execute these tests you need an AWS account, a user with permissions in this account, and an access key. |

To run the tests in file `test/integration/test_ci.py` please use
```shell
export DSS_RUN_CI_TEST=true
poetry run test/integration/test_ci.py
```
XAL comes with a number of tests in directory `test`. Besides unit and integrations tests in the respective directories there are tests in directory `codebuild`, see [Executing AWS CodeBuild](#executing-aws-codebuild). To run these tests manually please use
```shell export DSS_RUN_CI_TEST=true; poetry run test/codebuild/test_ci.py ```

Creating a docker image is quite time-consuming, currently around 7 minutes. In order to use an existing docker image in the tests in `integration/test_create_dss_docker_image.py` simply add CLI option `--dss-docker-image` when calling `pytest`:

```shell
poetry run pytest --dss-docker-image exasol/data-science-sandbox:0.1.0
```
```shell poetry run pytest --dss-docker-image exasol/data-science-sandbox:0.1.0 ```

#### Executing tests involving AWS resources

Expand Down

0 comments on commit 21df8d5

Please sign in to comment.