Skip to content

Commit

Permalink
Add run tests instruction to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrovRoman committed May 24, 2021
1 parent f14b47c commit 0a1df0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* [Full](#full)
* [Getting Started](#getting-started)
* [Prerequisites](#prerequisites)
* [Installing](#installing)
* [Install & Run project](#install--run-project)
* [Seed data](#seed-data)
* [Base (Top 250 kinopoisk movies)](#base-top-250-kinopoisk-movies)
* [Add movie from kinopoisk](#add-movie-from-kinopoisk)
Expand Down Expand Up @@ -37,7 +37,7 @@ watch news
2. [PostgreSQL](https://www.postgresql.org)
3. [Minio](https://docs.min.io)

### Installing
### Install & Run project

1. Clone repo
```shell
Expand Down Expand Up @@ -103,6 +103,14 @@ manage.py seed_users {users_count}
manage.py seed_scores
```

## Run tests

<b>!Warning:</b> [seed data](#seed-data) before running tests

```shell
bash run_tests.sh
```


## Built With

Expand Down
3 changes: 2 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Required database env variables
#!/usr/bin/env sh

# Required database env variables
# shellcheck disable=SC2164
cd ./src
pytest

0 comments on commit 0a1df0c

Please sign in to comment.