Skip to content
Permalink
Browse files

add documentation on testing

  • Loading branch information...
cbrake committed Jan 25, 2019
1 parent 83956c4 commit 9fa37d3c9c111e439961fbecdccc5be9d0b7aa04
Showing with 11 additions and 0 deletions.
  1. +11 −0 README.md
@@ -40,6 +40,17 @@ This example shows how to run the server and simulator after cloning and buildin
- open http://localhost:8080
- `app_run` can be used for quicker testing

## Running unit tests

There are not a lot of unit tests in the project yet, but below are some examples of
running tests:

- test everything: `go test ./...`
- test only db directory: `go test ./db`

The leading `./` is important, otherwise Go things you are giving it a package name,
not a directory. The `...` tells Go to recursively test all subdirs.

## Vision

- built around collecting and visualizing data from devices

0 comments on commit 9fa37d3

Please sign in to comment.
You can’t perform that action at this time.