bats icon indicating copy to clipboard operation
bats copied to clipboard

Option to run tests names matching a pattern.

Open dougm opened this issue 10 years ago • 4 comments
trafficstars

The option can be set using the BATS_TEST_PATTERN env var.

TODO: Add bats cli option

Fixes issue #36

dougm avatar Sep 02 '15 22:09 dougm

Shouldn't $(echo $quoted_name | tr -d '"') be the (double-quoted) expression "${quoted_name//"/}" instead ?

Anvil avatar Sep 03 '15 07:09 Anvil

@Anvil indeed, thanks, changed + pushed.

dougm avatar Sep 04 '15 21:09 dougm

I would love to see this get merged in. I currently put something almost exactly like this in my 'setup' routine and use it to call 'skip'.

nevsan avatar Mar 26 '16 05:03 nevsan

Any chance this got merged? It's super useful for me too.

tailhook avatar Sep 05 '16 15:09 tailhook