Skip to content

Commit bc053ae

Browse files
committed
Add test documentation
1 parent 135d2bd commit bc053ae

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,22 @@ command:
7272
$ sbt scalajvm/run
7373
```
7474

75+
Testing
76+
-------
77+
78+
Automated test suite requires empty database. To start a new container with an
79+
empty database, you may use a command like this:
80+
81+
```console
82+
$ docker-compose run --rm --name 'loglist_test' --publish '5432:5432' db
83+
```
84+
85+
Then, set up the environment variables and run the test suite:
86+
87+
```console
88+
$ sbt test
89+
```
90+
7591
License
7692
-------
7793

0 commit comments

Comments
 (0)