add readme

This commit is contained in:
fpellet committed 2019-12-23 11:53:54 +01:00
1 parent 426f8da0ee
commit a5dfb13dcc
1 file changed
+10
+10
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.