Skip to content

milhamh95/test-with-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-with-go

Test With Go Course from usegolang.com

Section 11 - run test for subpackage

39 - running tests for subpackages

To run all test in subpackages

go test ./...

It will cache test result. To delete cache test result:

go clean -testcache

To see list of package

for pkg in *; do echo "./$pkg"; done

To test package sequencely

for pkg in *; do go test "./$pkg"; done 

To see list of file

for pkg in */**; do echo "./$pkg"; done

About

Test With Go Course from usegolang.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published