Browse Source

Add test info

master
Chris Smith 8 years ago
parent
commit
d7eb551f08
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      README.md

+ 12
- 0
README.md View File

@@ -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
+

Loading…
Cancel
Save