sstephenson / bats

Bash Automated Testing System
MIT License
7.13k stars 517 forks source link

Option to run tests names matching a pattern. #117

Open dougm opened 9 years ago

dougm commented 9 years ago

The option can be set using the BATS_TEST_PATTERN env var.

TODO: Add bats cli option

Fixes issue #36

Anvil commented 9 years ago

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

dougm commented 9 years ago

@Anvil indeed, thanks, changed + pushed.

nevsan commented 8 years ago

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'.

tailhook commented 8 years ago

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