From c41bbafb59045aaa65a90702811e288ced8a0410 Mon Sep 17 00:00:00 2001 From: Vasiliy Vasilyuk Date: Tue, 14 Nov 2023 21:13:13 +0300 Subject: [PATCH] Add 'Quick start' to README.md --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 759a035..ad06eb6 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,16 @@ The example suggests a solution to the problem of cleaning the database after running tests and the problem of running tests in parallel. It also shows how to organize integration testing of Go code with Postgres. +## Quick start + +For quickly try integration tests locally, use following commands. + +```shell +git clone https://github.com/xorcare/testing-go-code-with-postgres +cd testing-go-code-with-postgres +make test-env-up test +``` + ## What's interesting here? - Example @@ -40,10 +50,6 @@ TestUserRepository-CreateUser-Successfully-created-a-UspTBGNltW TestUserRepository-ReadUser-Get-an-error-if-the-user-doRqS1GvYh ``` -## How to use - -Run `make test-env-up test` and then everything will happen by itself. - ## Disclaimer **This example is not an example of software architecture!**