From 720029eef1185ff5a2eacb5e98df4fc95d9df7b9 Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Mon, 1 Dec 2014 23:56:15 -0800 Subject: [PATCH] HACKING.rst: Improve testing examples --- HACKING.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/HACKING.rst b/HACKING.rst index 7bbd150..303f6e7 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -1,7 +1,7 @@ ============================================================= Guidlines for Contributing to the Go reStructuredText Project ============================================================= -:Modified: Wed Jun 18 00:58 2014 +:Modified: Mon Dec 01 23:54 2014 --------------- Getting started @@ -48,11 +48,11 @@ Testing To run the projects tests, simply use:: - go test + go test -v . ./parse To run a specific test, use:: - go test -test.run + go test -v -test.run The name used can be all or some of the name. For example, to run the first lexer test for section headers, ```` can be either @@ -60,11 +60,11 @@ lexer test for section headers, ```` can be either To run a test with debug output, use:: - go test -test.run -debug + go test -v -test.run -debug To examine test coverage, use:: - go test -coverprofile c.out && go tool cover -html c.out + go test -v -coverprofile c.out && go tool cover -html c.out Testdata ========