about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-09-17 19:07:07 +0200
committerEmile <hanemile@protonmail.com>2019-09-17 19:07:07 +0200
commitcbbf92a921cdd76cbb93271593a439b68422e6ac (patch)
tree89fec44fdb4fe57ef159659a756dadfe1e403a55 /README.md
parenta2dbd7991963abd42472ae07c11820a0ecc2d8ac (diff)
added some info on how to use the tests and the coverage
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8f48d61..356cda1 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,22 @@ Implementing the "Two-line element set (TLE)", a data format encoding orbital el
 | 9  | 64–68 | Revolution number at epoch (revolutions)  | `56353` |
 | 10 | 69–69 | Checksum (modulo 10)  | `7` |
 
+## Tests / Coverage
+
+Run the tests:
+
+```
+$ go test -v .
+...
+```
+
+See the test coverage:
+
+```
+$ go test -coverprofile=coverage.out && go tool cover -html=coverage.out
+...
+```
+
 ## Pull requests
 
 Feel free to make one (or more) pull requests!