|
@@ -7,3 +7,15 @@ It provides a python library for interacting with etcd, with convenience
|
7
|
7
|
functions for retrieving the higher-level data structures (such as containers
|
8
|
8
|
and labels) that the reporter service creates.
|
9
|
9
|
|
|
10
|
+## Tests [![CircleCI](https://circleci.com/gh/csmith/docker-service-reporter-lib.svg?style=svg)](https://circleci.com/gh/csmith/docker-service-reporter-lib)
|
|
11
|
+
|
|
12
|
+A separate Dockerfile for tests is located in the tests directory. It depends
|
|
13
|
+on a 'dev' label of csmith/service-reporter-lib. You can build and run the
|
|
14
|
+tests like so:
|
|
15
|
+
|
|
16
|
+```
|
|
17
|
+docker build -t csmith/service-reporter-lib:dev .
|
|
18
|
+docker build -t csmith/service-reporter-lib-test:dev test
|
|
19
|
+docker run --rm -it csmith/service-reporter-lib-test:dev
|
|
20
|
+```
|
|
21
|
+
|