diff --git a/docs/backup.md b/docs/backup.md new file mode 100644 index 0000000..ed26747 --- /dev/null +++ b/docs/backup.md @@ -0,0 +1,5 @@ +# Backup + +## How to Make Backup of database + +`docker-compose exec db pg_dump -U > smersh.sql` diff --git a/docs/index.md b/docs/index.md index d478e0c..7b410e3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,3 +18,5 @@ date: 31/07/2021 4. [Report](report.md) 5. [Architecture](architecture.md) 6. [Smersh-cli](smersh-cli.md) +5. [Tests](tests.md) +6. [Backup](backup.md) diff --git a/docs/tests.md b/docs/tests.md new file mode 100644 index 0000000..5642cd8 --- /dev/null +++ b/docs/tests.md @@ -0,0 +1,10 @@ +# Tests + +## Run behat test +``` +make reset-db +docker-compose exec php sh +./vendor/bin/behat +``` + +>you can specify scenario like this `./vendor/bin/behat --name="Impact API testing"