From a5dfb13dccfa2c13b87cdea0c05d2ce0fc7696ad Mon Sep 17 00:00:00 2001 From: fpellet Date: Mon, 23 Dec 2019 11:45:40 +0100 Subject: [PATCH] add readme --- postgres/readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 postgres/readme.md diff --git a/postgres/readme.md b/postgres/readme.md new file mode 100644 index 00000000..6421ed1c --- /dev/null +++ b/postgres/readme.md @@ -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.