FAQ
Hello all,

I want to run all tests except specific one. This test is "Test_main".

the command go test -h displays :
...
-run regexp
             Run only those tests and examples matching the regular
             expression.
...

So I try :
go test -run=^\(\(?\!Test_main\).\)*$ ./...

But unfortunately, that doesn't work :
testing: invalid regexp for -test.run: error parsing regexp: invalid or
unsupported Perl syntax: `(?!`


Is it possible to do this ?

Many thx
Best
Jérôme

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedSep 4, '15 at 3:18p
activeSep 4, '15 at 3:30p
posts2
users2
websitegolang.org

2 users in discussion

Jan Mercl: 1 post Jérôme LAFORGE: 1 post

People

Translate

site design / logo © 2022 Grokbase