On Mon, Oct 29, 2018 at 2:16 PM Burak Serdar <bser...@ieee.org> wrote:
> On Mon, Oct 29, 2018 at 3:09 PM Craig Rodrigues <crodr...@gmail.com> > wrote: > > > > Hi, > > > > I have a suite of 20 tests, each test corresponding to a function: func > Test....(). > > > > Out of the 20 tests, I have two specific tests: > > > > func TestXG() > > func TestNiceSystem() > > > > I want to invoke go test -test.run to execute exactly those two tests, > and nothing else. > > > > How can I invoke go test -test.run to execute exactly those two specific > tests? > > go test -run 'TestXG|TestNiceSystem' That's not exactly what I want, because I think that can potentially match other things such as TestXGG or TestNiceSystem2 which is what I do not want. I want to be able to specify an exact enumeration of test functions to run. -- Craig -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.