mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
Add docker compose command on pgtap
This commit is contained in:
parent
6383ae05bb
commit
c438d457ac
@ -42,6 +42,7 @@ It's already installed with docker
|
|||||||
If not, it would cause a (false positive)[https://en.wikipedia.org/wiki/False_positives_and_false_negatives]
|
If not, it would cause a (false positive)[https://en.wikipedia.org/wiki/False_positives_and_false_negatives]
|
||||||
|
|
||||||
### Execute
|
### Execute
|
||||||
|
Run `docker-compose up -d pgtab` to start, and `docker-compose exec pgtab bash` to enter in container.
|
||||||
In shell, execute ```psql -d kata -f src/update_quality.sql && pg_prove pgtap/test_*.sql```.
|
In shell, execute ```psql -d kata -f src/update_quality.sql && pg_prove pgtap/test_*.sql```.
|
||||||
You should get ```pgtap/test_case_update_quality.sql .. ok All tests successful.```
|
You should get ```pgtap/test_case_update_quality.sql .. ok All tests successful.```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user