Skip to content

Commit c41bbaf

Browse files
committed
Add 'Quick start' to README.md
1 parent 942c43a commit c41bbaf

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ The example suggests a solution to the problem of cleaning the database after
1010
running tests and the problem of running tests in parallel. It also shows how
1111
to organize integration testing of Go code with Postgres.
1212

13+
## Quick start
14+
15+
For quickly try integration tests locally, use following commands.
16+
17+
```shell
18+
git clone https://github.com/xorcare/testing-go-code-with-postgres
19+
cd testing-go-code-with-postgres
20+
make test-env-up test
21+
```
22+
1323
## What's interesting here?
1424

1525
- Example
@@ -40,10 +50,6 @@ TestUserRepository-CreateUser-Successfully-created-a-UspTBGNltW
4050
TestUserRepository-ReadUser-Get-an-error-if-the-user-doRqS1GvYh
4151
```
4252

43-
## How to use
44-
45-
Run `make test-env-up test` and then everything will happen by itself.
46-
4753
## Disclaimer
4854

4955
**This example is not an example of software architecture!**

0 commit comments

Comments
 (0)