add readme

This commit is contained in:
fpellet 2019-12-23 11:45:40 +01:00
parent 426f8da0ee
commit a5dfb13dcc

10
postgres/readme.md Normal file
View File

@ -0,0 +1,10 @@
## Requirement
Testing on postgres 12
Unit test framework used : pgunit (https://github.com/adrianandrei-ca/pgunit)
## Setup
Run `docker-compose up -d` to start, and `docker-compose exec database bash` to enter in container.
You can run `cat update_quality.sql run_tests.sql | psql -d kata -f -`
## Kata
`update_quality.sql` contains code to refactor, and `run_tests.sql` contains test examples.