gofed / go-macros

Rpm mechanics for Go packaging
4 stars 7 forks source link

Finer-grained test filtering #14

Open nim-nim opened 6 years ago

nim-nim commented 6 years ago

Right now the macros use golist to detect the packages that contain tests

Testing a package is an all or nothing thing

However golist already knows how to exclude specific files via its regexp switches

It would be nicer if it was possible to blacklist a single test file and execute all the other tests in the same subdirectory