From cbbf92a921cdd76cbb93271593a439b68422e6ac Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 17 Sep 2019 19:07:07 +0200 Subject: added some info on how to use the tests and the coverage --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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! -- cgit 1.4.1