lundi 18 mai 2015

explicitly specifying the main package to run tests for in golang with goconvey

How do I explicetly say with my go test command to run only tests for the main package and not others in my src dir.

At the moment its working with $go test -v . But.. I am using goconvey as well and it seems to be running recursively. according to this page http://ift.tt/1HoxNYF I have a file where I can pass arguments into the go test command.. I know you can go test -v ./... for recursive or go test -c packagename/... but how do I just do it for the main?! Thanks

Aucun commentaire:

Enregistrer un commentaire