From 46c2184de4214cd10ce81ce2f6f3ad7755f463cb Mon Sep 17 00:00:00 2001 From: Samuel BERTHE Date: Mon, 30 May 2016 11:10:51 +0200 Subject: [PATCH] doc(tooling): Doc about selecting some tests with argument '-check.f' of gochecker library --- .github/CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index ecdac0319..8772fa828 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -77,6 +77,23 @@ ok github.com/containous/traefik 0.005s coverage: 4.1% of statements Test success ``` +For development purpose, you can specifiy which tests to run by using: +``` +# Run every tests in the MyTest suite +TESTFLAGS="-check.f MyTestSuite" make test-integration + +# Run the test "MyTest" in the MyTest suite +TESTFLAGS="-check.f MyTestSuite.MyTest" make test-integration + +# Run every tests starting with "My", in the MyTest suite +TESTFLAGS="-check.f MyTestSuite.My" make test-integration + +# Run every tests ending with "Test", in the MyTest suite +TESTFLAGS="-check.f MyTestSuite.*Test" make test-integration +``` + +More: https://labix.org/gocheck + ### Documentation The [documentation site](http://docs.traefik.io/) is built with [mkdocs](http://mkdocs.org/)