소스 검색

Merge pull request #12652 from jfrazelle/update-contrib-docs-for-go-check

update contrib docs for gocheck
Jessie Frazelle 10 년 전
부모
커밋
cc43263f8c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      docs/sources/project/test-and-docs.md

+ 3 - 2
docs/sources/project/test-and-docs.md

@@ -159,15 +159,16 @@ Most test targets require that you build these precursor targets first:
 
 
 ## Running individual or multiple named tests 
 ## Running individual or multiple named tests 
 
 
+We use [gocheck](https://labix.org/gocheck) for our integration-cli tests. 
 You can use the `TESTFLAGS` environment variable to run a single test. The
 You can use the `TESTFLAGS` environment variable to run a single test. The
 flag's value is passed as arguments to the `go test` command. For example, from
 flag's value is passed as arguments to the `go test` command. For example, from
 your local host you can run the `TestBuild` test with this command:
 your local host you can run the `TestBuild` test with this command:
 
 
-    $ TESTFLAGS='-test.run ^TestBuild$' make test
+    $ TESTFLAGS='-check.f DockerSuite.TestBuild*' make test
 
 
 To run the same test inside your Docker development container, you do this:
 To run the same test inside your Docker development container, you do this:
 
 
-    root@5f8630b873fe:/go/src/github.com/docker/docker# TESTFLAGS='-run ^TestBuild$' hack/make.sh
+    root@5f8630b873fe:/go/src/github.com/docker/docker# TESTFLAGS='-check.f TestBuild*' hack/make.sh
 
 
 ## If tests under Boot2Docker fail due to disk space errors
 ## If tests under Boot2Docker fail due to disk space errors