Skip to content

Commit

Permalink
Add draft the e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dplocki committed Jan 8, 2024
1 parent ac8ecb7 commit e0cee15
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
10 changes: 9 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ After installing the package you run tests
python -m unittest discover -s tests -p *_test.py
```

## E2e tests

Running:

```bash
pytest e2e
```

## Uploading the package into repository

```bash
Expand All @@ -43,7 +51,7 @@ twine upload --repository pypi dist/*

## Black

Run code formatter:
Run code formatter:

```bash
black .
Expand Down
23 changes: 23 additions & 0 deletions e2e/test_sample.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
def build_server():
pass


def build_config():
pass


def run_podcast_downloader():
pass


def check_the_download_directory():
pass


def test_answer():
build_server()
build_config()

run_podcast_downloader()

check_the_download_directory()

0 comments on commit e0cee15

Please sign in to comment.