It would be nice to be able to exclude test files from search results. It probably just takes a well-crafted filename filter (e.g. .*/tests/.*Test.php), but it would be convenient to have it as a preset somewhere.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| frontend: Add datalist suggestions to the file path filters | Simon04 | labs/codesearch | master | +12 -2 |
Event Timeline
Comment Actions
Note that there's no requirement for the regex to match the full path. "test" suffices to exclude all directories and files pertaining to QUnit (tests/qunit/foo.test.js) or PHPUnit (tests/phpunit/FooTest.php). Alternatively you can use Test.php if you believe there's a chance of over-excluding files that contain the word "test" in lowercase for some other reason.
Comment Actions
Change #1306099 had a related patch set uploaded (by Simon04; author: Simon04):
[labs/codesearch@master] Add file path suggestions for non-test filtering
Comment Actions
Change #1306099 merged by jenkins-bot:
[labs/codesearch@master] frontend: Add datalist suggestions to the file path filters