Files
discourse/lib/turbo_tests
Alan Guo Xiang Tan add71050c1 DEV: Add --exclude-pattern to bin/turbo_rspec (#32390) (#32413)
This commit adds a new `--exclude-pattern` CLI option which supports
excluding files using unix style pattern matching.

This is to simplify a couple of situations:

1. Running `bin/turbo_rspec plugin/spec` but we want to exclude all
tests in the `plugin/spec/system` folder.

Example: `bin/turbo_rspec --exclude-pattern="*spec/system*" plugin/spec`

2. Running `bin/turbo_rspec plugin/*/spec/system` but we want to exclude
tests for a particular plugin.

Example: `bin/turbo_rspec --exclude-pattern="plugins/chat/*"
plugin/*/spec/system`
2025-04-23 10:41:46 +08:00
..